/include/net/ |
D | rtnetlink.h | 71 int (*validate)(struct nlattr *tb[], 72 struct nlattr *data[], 77 struct nlattr *tb[], 78 struct nlattr *data[], 81 struct nlattr *tb[], 82 struct nlattr *data[], 101 struct nlattr *tb[], 102 struct nlattr *data[], 148 const struct nlattr *attr); 150 const struct nlattr *attr); [all …]
|
D | netlink.h | 329 int (*validate)(const struct nlattr *attr, 501 int __nla_validate(const struct nlattr *head, int len, int maxtype, 504 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 508 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 509 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize); 510 char *nla_strdup(const struct nlattr *nla, gfp_t flags); 511 int nla_memcpy(void *dest, const struct nlattr *src, int count); 512 int nla_memcmp(const struct nlattr *nla, const void *data, size_t size); 513 int nla_strcmp(const struct nlattr *nla, const char *str); 514 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); [all …]
|
D | bpf_sk_storage.h | 27 struct nlattr; 33 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs); 46 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
|
D | rtnh.h | 24 static inline struct nlattr *rtnh_attrs(const struct rtnexthop *rtnh) in rtnh_attrs() 26 return (struct nlattr *) ((char *) rtnh + NLA_ALIGN(sizeof(*rtnh))); in rtnh_attrs()
|
D | act_api.h | 101 int (*init)(struct net *net, struct nlattr *nla, 102 struct nlattr *est, struct tc_action **act, int ovr, 162 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, 166 struct nlattr *est, struct tc_action **a, 181 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, 182 struct nlattr *est, char *name, int ovr, int bind, 185 struct tc_action_ops *tc_action_load_ops(char *name, struct nlattr *nla, 189 struct nlattr *nla, struct nlattr *est,
|
D | gen_stats.h | 26 struct nlattr * tail; 73 seqcount_t *running, struct nlattr *opt); 79 seqcount_t *running, struct nlattr *opt);
|
D | lwtunnel.h | 40 int (*build_state)(struct net *net, struct nlattr *encap, 117 int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len, 120 struct nlattr *encap, 206 static inline int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len, in lwtunnel_valid_encap_type_attr() 216 struct nlattr *encap, in lwtunnel_build_state()
|
D | genetlink.h | 93 struct nlattr ** attrs; 177 struct nlattr **attrs; 218 struct nlattr *tb[], int maxtype, in genlmsg_parse_deprecated() 237 struct nlattr *tb[], int maxtype, in genlmsg_parse()
|
D | fib_rules.h | 86 struct nlattr **, 91 struct nlattr **); 158 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table()
|
D | pkt_cls.h | 329 struct nlattr **tb, struct nlattr *rate_tlv, 441 int tcf_em_tree_validate(struct tcf_proto *, struct nlattr *, 509 tcf_change_indev(struct net *net, struct nlattr *indev_tlv, in tcf_change_indev() 565 struct nlattr *block_index_attr, 568 int tcf_qevent_validate_change(struct tcf_qevent *qe, struct nlattr *block_index_attr, 576 struct nlattr *block_index_attr, in tcf_qevent_init() 586 static inline int tcf_qevent_validate_change(struct tcf_qevent *qe, struct nlattr *block_index_attr, in tcf_qevent_validate_change()
|
/include/crypto/internal/ |
D | cryptouser.h | 8 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 12 struct nlattr **attrs) in crypto_reportstat()
|
/include/linux/netfilter/ipset/ |
D | ip_set.h | 166 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 231 struct nlattr *tb[], u32 flags); 337 extern int ip_set_get_ipaddr4(struct nlattr *nla, __be32 *ipaddr); 338 extern int ip_set_get_ipaddr6(struct nlattr *nla, union nf_inet_addr *ipaddr); 339 extern size_t ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], 341 extern int ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], 351 ip_set_get_hostipaddr4(struct nlattr *nla, u32 *ipaddr) in ip_set_get_hostipaddr4() 381 ip_set_attr_netorder(struct nlattr *tb[], int type) in ip_set_attr_netorder() 387 ip_set_optattr_netorder(struct nlattr *tb[], int type) in ip_set_optattr_netorder() 394 ip_set_get_h32(const struct nlattr *attr) in ip_set_get_h32() [all …]
|
/include/net/netfilter/ |
D | nft_meta.h | 19 const struct nlattr * const tb[]); 23 const struct nlattr * const tb[]);
|
D | nf_conntrack_l4proto.h | 34 int (*to_nlattr)(struct sk_buff *skb, struct nlattr *nla, 38 int (*from_nlattr)(struct nlattr *tb[], struct nf_conn *ct); 44 int (*nlattr_to_tuple)(struct nlattr *tb[], 50 int (*nlattr_to_obj)(struct nlattr *tb[], 155 int nf_ct_port_nlattr_to_tuple(struct nlattr *tb[],
|
D | nft_reject.h | 23 const struct nlattr * const tb[]);
|
D | nf_tables.h | 180 const struct nlattr * const *nla; 201 struct nft_data_desc *desc, const struct nlattr *nla); 217 int nft_parse_u32_check(const struct nlattr *attr, int max, u32 *dest); 220 int nft_parse_register_load(const struct nlattr *attr, u8 *sreg, u32 len); 222 const struct nlattr *attr, u8 *dreg, 388 u64 (*privsize)(const struct nlattr * const nla[], 395 const struct nlattr * const nla[]); 505 const struct nlattr *nla_set_name, 506 const struct nlattr *nla_set_id, 703 const struct nlattr *attr); [all …]
|
D | nft_fib.h | 23 const struct nlattr * const tb[]);
|
D | nf_conntrack_helper.h | 52 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct); 102 int (*from_nlattr)(struct nlattr *attr,
|
/include/linux/netfilter/ |
D | nfnetlink.h | 14 const struct nlattr * const cda[], 18 const struct nlattr * const cda[], 22 const struct nlattr * const cda[],
|
/include/linux/ |
D | inet_diag.h | 38 struct nlattr *req_nlas[__INET_DIAG_REQ_MAX]; 61 int inet_diag_bc_sk(const struct nlattr *_bc, struct sock *sk);
|
D | if_macvlan.h | 61 struct nlattr *tb[], struct nlattr *data[],
|
D | rtnetlink.h | 119 struct nlattr *tb[], 125 struct nlattr *tb[],
|
D | netfilter.h | 364 struct nlattr; 369 const struct nlattr *attr); 465 struct nlattr; 474 int (*parse)(const struct nlattr *attr, struct nf_conn *ct); 475 int (*attach_expect)(const struct nlattr *attr, struct nf_conn *ct,
|
D | genl_magic_func.h | 134 static struct nlattr *nested_attr_tb[128]; 143 struct nlattr *tla = info->attrs[tag_number]; \ 144 struct nlattr **ntb = nested_attr_tb; \ 145 struct nlattr *nla; \ 325 struct nlattr *tla = nla_nest_start(skb, tag_number); \
|
/include/uapi/linux/ |
D | netlink.h | 213 struct nlattr { struct 234 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
|