Home
last modified time | relevance | path

Searched refs:nlattr (Results 1 – 25 of 38) sorted by relevance

12

/include/net/
Drtnetlink.h71 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 …]
Dnetlink.h329 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 …]
Dbpf_sk_storage.h27 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()
Drtnh.h24 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()
Dact_api.h101 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,
Dgen_stats.h26 struct nlattr * tail;
73 seqcount_t *running, struct nlattr *opt);
79 seqcount_t *running, struct nlattr *opt);
Dlwtunnel.h40 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()
Dgenetlink.h93 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()
Dfib_rules.h86 struct nlattr **,
91 struct nlattr **);
158 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table()
Dpkt_cls.h329 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/
Dcryptouser.h8 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/
Dip_set.h166 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/
Dnft_meta.h19 const struct nlattr * const tb[]);
23 const struct nlattr * const tb[]);
Dnf_conntrack_l4proto.h34 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[],
Dnft_reject.h23 const struct nlattr * const tb[]);
Dnf_tables.h180 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 …]
Dnft_fib.h23 const struct nlattr * const tb[]);
Dnf_conntrack_helper.h52 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct);
102 int (*from_nlattr)(struct nlattr *attr,
/include/linux/netfilter/
Dnfnetlink.h14 const struct nlattr * const cda[],
18 const struct nlattr * const cda[],
22 const struct nlattr * const cda[],
/include/linux/
Dinet_diag.h38 struct nlattr *req_nlas[__INET_DIAG_REQ_MAX];
61 int inet_diag_bc_sk(const struct nlattr *_bc, struct sock *sk);
Dif_macvlan.h61 struct nlattr *tb[], struct nlattr *data[],
Drtnetlink.h119 struct nlattr *tb[],
125 struct nlattr *tb[],
Dnetfilter.h364 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,
Dgenl_magic_func.h134 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/
Dnetlink.h213 struct nlattr { struct
234 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument

12