/linux-4.19.296/include/net/ |
D | netlink.h | 246 int nla_validate(const struct nlattr *head, int len, int maxtype, 249 int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 253 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 254 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize); 255 char *nla_strdup(const struct nlattr *nla, gfp_t flags); 256 int nla_memcpy(void *dest, const struct nlattr *src, int count); 257 int nla_memcmp(const struct nlattr *nla, const void *data, size_t size); 258 int nla_strcmp(const struct nlattr *nla, const char *str); 259 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 260 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, [all …]
|
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 | act_api.h | 92 int (*init)(struct net *net, struct nlattr *nla, 93 struct nlattr *est, struct tc_action **act, int ovr, 150 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, 171 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, 172 struct nlattr *est, char *name, int ovr, int bind, 176 struct nlattr *nla, struct nlattr *est,
|
D | lwtunnel.h | 40 int (*build_state)(struct nlattr *encap, 117 int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len, 120 struct nlattr *encap, 204 static inline int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len, in lwtunnel_valid_encap_type_attr() 214 struct nlattr *encap, in lwtunnel_build_state()
|
D | gen_stats.h | 20 struct nlattr * tail; 63 seqcount_t *running, struct nlattr *opt); 69 seqcount_t *running, struct nlattr *opt);
|
D | nexthop.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 | genetlink.h | 59 struct nlattr ** attrbuf; /* private */ 68 struct nlattr **genl_family_attrbuf(const struct genl_family *family); 88 struct nlattr ** attrs; 107 struct nlattr *attr) in genl_err_attr() 170 struct nlattr *tb[], int maxtype, in genlmsg_parse()
|
D | fib_rules.h | 78 struct nlattr **, 83 struct nlattr **); 149 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table()
|
/linux-4.19.296/lib/ |
D | nlattr.c | 47 static int validate_nla_bitfield32(const struct nlattr *nla, in validate_nla_bitfield32() 71 static int validate_nla(const struct nlattr *nla, int maxtype, in validate_nla() 175 int nla_validate(const struct nlattr *head, int len, int maxtype, in nla_validate() 179 const struct nlattr *nla; in nla_validate() 240 int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, in nla_parse() 244 const struct nlattr *nla; in nla_parse() 247 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse() 262 tb[type] = (struct nlattr *)nla; in nla_parse() 284 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find() 286 const struct nlattr *nla; in nla_find() [all …]
|
/linux-4.19.296/include/linux/netfilter/ipset/ |
D | ip_set.h | 167 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 217 struct nlattr *tb[], u32 flags); 336 extern int ip_set_get_ipaddr4(struct nlattr *nla, __be32 *ipaddr); 337 extern int ip_set_get_ipaddr6(struct nlattr *nla, union nf_inet_addr *ipaddr); 338 extern size_t ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], 340 extern int ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], 350 ip_set_get_hostipaddr4(struct nlattr *nla, u32 *ipaddr) in ip_set_get_hostipaddr4() 380 ip_set_attr_netorder(struct nlattr *tb[], int type) in ip_set_attr_netorder() 386 ip_set_optattr_netorder(struct nlattr *tb[], int type) in ip_set_optattr_netorder() 393 ip_set_get_h32(const struct nlattr *attr) in ip_set_get_h32() [all …]
|
/linux-4.19.296/include/net/netfilter/ |
D | nf_conntrack_l4proto.h | 66 int (*to_nlattr)(struct sk_buff *skb, struct nlattr *nla, 70 int (*from_nlattr)(struct nlattr *tb[], struct nf_conn *ct); 76 int (*nlattr_to_tuple)(struct nlattr *tb[], 81 int (*nlattr_to_obj)(struct nlattr *tb[], 135 int nf_ct_port_nlattr_to_tuple(struct nlattr *tb[],
|
D | nf_tables.h | 162 const struct nlattr * const *nla; 177 struct nft_data_desc *desc, const struct nlattr *nla); 193 int nft_parse_u32_check(const struct nlattr *attr, int max, u32 *dest); 196 int nft_parse_register_load(const struct nlattr *attr, u8 *sreg, u32 len); 198 const struct nlattr *attr, u8 *dreg, 344 u64 (*privsize)(const struct nlattr * const nla[], 351 const struct nlattr * const nla[]); 451 const struct nlattr *nla_set_name, 452 const struct nlattr *nla_set_id, 722 const struct nlattr * const tb[]); [all …]
|
D | nf_nat_l4proto.h | 41 int (*nlattr_to_range)(struct nlattr *tb[], 79 int nf_nat_l4proto_nlattr_to_range(struct nlattr *tb[],
|
D | nf_conntrack_helper.h | 47 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct); 95 int (*from_nlattr)(struct nlattr *attr,
|
D | nft_masq.h | 15 const struct nlattr * const tb[]);
|
D | nft_redir.h | 15 const struct nlattr * const tb[]);
|
D | nft_reject.h | 18 const struct nlattr * const tb[]);
|
/linux-4.19.296/include/linux/ |
D | inet_diag.h | 14 struct nlattr *bc); 47 struct nlattr *bc); 56 int inet_diag_bc_sk(const struct nlattr *_bc, struct sock *sk);
|
D | if_macvlan.h | 62 struct nlattr *tb[], struct nlattr *data[],
|
D | netfilter.h | 341 struct nlattr; 346 const struct nlattr *attr); 438 struct nlattr; 447 int (*parse)(const struct nlattr *attr, struct nf_conn *ct); 448 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); \
|
D | rtnetlink.h | 119 struct nlattr *tb[], 125 struct nlattr *tb[],
|
/linux-4.19.296/crypto/ |
D | crypto_user.c | 261 struct nlattr **attrs) in crypto_report() 336 struct nlattr **attrs) in crypto_update_alg() 340 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_update_alg() 372 struct nlattr **attrs) in crypto_del_alg() 409 struct nlattr **attrs) in crypto_add_alg() 415 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; in crypto_add_alg() 457 struct nlattr **attrs) in crypto_del_rng() 481 int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **); 497 struct nlattr *attrs[CRYPTOCFGA_MAX+1]; in crypto_user_rcv_msg()
|
/linux-4.19.296/include/linux/netfilter/ |
D | nfnetlink.h | 13 const struct nlattr * const cda[], 17 const struct nlattr * const cda[], 21 const struct nlattr * const cda[],
|
/linux-4.19.296/include/uapi/linux/ |
D | netlink.h | 210 struct nlattr { struct 231 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
|