Home
last modified time | relevance | path

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

12

/include/net/
A Dnetlink.h544 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head,
548 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype);
707 const struct nlattr *head, int len, in nla_parse()
757 const struct nlattr *head, in nla_parse_deprecated_strict()
779 struct nlattr *tb[], int maxtype, in __nlmsg_parse()
826 struct nlattr *tb[], int maxtype, in nlmsg_parse_deprecated()
1319 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next()
1334 static inline struct nlattr *
1351 const struct nlattr *nla, in nla_parse_nested()
1375 const struct nlattr *nla, in nla_parse_nested_deprecated()
[all …]
A Drtnetlink.h85 struct nlattr **tb;
86 struct nlattr **data;
159 struct nlattr *data[],
166 struct nlattr *tb[],
167 struct nlattr *data[],
186 struct nlattr *tb[],
187 struct nlattr *data[],
233 const struct nlattr *attr,
236 const struct nlattr *attr,
250 struct nlattr *tb[],
[all …]
A Dbpf_sk_storage.h29 struct nlattr;
34 bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs);
47 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc()
A 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()
A Dgen_stats.h29 struct nlattr * tail;
74 bool running, struct nlattr *opt);
80 bool running, struct nlattr *opt);
A Dact_api.h123 int (*init)(struct net *net, struct nlattr *nla,
124 struct nlattr *est, struct tc_action **act,
191 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est,
195 struct nlattr *est, struct tc_action **a,
212 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla,
213 struct nlattr *est,
216 struct tc_action_ops *tc_action_load_ops(struct nlattr *nla, u32 flags,
219 struct nlattr *nla, struct nlattr *est,
A Dlwtunnel.h40 int (*build_state)(struct net *net, struct nlattr *encap,
120 int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len,
123 struct nlattr *encap,
210 static inline int lwtunnel_valid_encap_type_attr(struct nlattr *attr, int len, in lwtunnel_valid_encap_type_attr()
220 struct nlattr *encap, in lwtunnel_build_state()
A Dbond_options.h16 struct nlattr;
125 struct nlattr *bad_attr, struct netlink_ext_ack *extack);
A Dpkt_cls.h367 struct nlattr **tb, struct nlattr *rate_tlv,
370 int tcf_exts_validate_ex(struct net *net, struct tcf_proto *tp, struct nlattr **tb,
371 struct nlattr *rate_tlv, struct tcf_exts *exts,
486 int tcf_em_tree_validate(struct tcf_proto *, struct nlattr *,
554 tcf_change_indev(struct net *net, struct nlattr *indev_tlv, in tcf_change_indev()
615 struct nlattr *block_index_attr,
618 int tcf_qevent_validate_change(struct tcf_qevent *qe, struct nlattr *block_index_attr,
626 struct nlattr *block_index_attr, in tcf_qevent_init()
636 static inline int tcf_qevent_validate_change(struct tcf_qevent *qe, struct nlattr *block_index_attr, in tcf_qevent_validate_change()
A Dfib_rules.h83 struct nlattr **,
88 struct nlattr **);
134 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table()
A Dgenetlink.h137 struct nlattr ** attrs;
389 struct nlattr *tb[], int maxtype, in genlmsg_parse_deprecated()
408 struct nlattr *tb[], int maxtype, in genlmsg_parse()
/include/linux/netfilter/ipset/
A Dip_set.h163 int (*uadt)(struct ip_set *set, struct nlattr *tb[],
231 struct nlattr *tb[], u32 flags);
333 extern int ip_set_get_ipaddr4(struct nlattr *nla, __be32 *ipaddr);
347 ip_set_get_hostipaddr4(struct nlattr *nla, u32 *ipaddr) in ip_set_get_hostipaddr4()
377 ip_set_attr_netorder(struct nlattr *tb[], int type) in ip_set_attr_netorder()
383 ip_set_optattr_netorder(struct nlattr *tb[], int type) in ip_set_optattr_netorder()
390 ip_set_get_h32(const struct nlattr *attr) in ip_set_get_h32()
396 ip_set_get_h16(const struct nlattr *attr) in ip_set_get_h16()
403 struct nlattr *__nested = nla_nest_start(skb, type); in nla_put_ipaddr4()
417 struct nlattr *__nested = nla_nest_start(skb, type); in nla_put_ipaddr6()
[all …]
/include/net/netfilter/
A Dnft_meta.h20 const struct nlattr * const tb[]);
24 const struct nlattr * const tb[]);
A 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[],
149 int nf_ct_port_nlattr_to_tuple(struct nlattr *tb[],
A Dnft_reject.h22 const struct nlattr * const tb[]);
A Dnf_tables.h218 const struct nlattr * const *nla;
262 const struct nlattr *attr, u8 *dreg,
507 const struct nlattr * const nla[]);
643 const struct nlattr *nla_set_name,
644 const struct nlattr *nla_set_id,
863 const struct nlattr *attr);
897 const struct nlattr * const tb[]);
956 const struct nlattr * const tb[]);
1381 const struct nlattr *nla, u32 objtype,
1429 const struct nlattr *const tb[],
[all …]
A Dnf_conntrack_helper.h52 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct);
102 int (*from_nlattr)(struct nlattr *attr,
A Dnft_fib.h53 const struct nlattr * const tb[]);
/include/linux/
A Dinet_diag.h39 struct nlattr *req_nlas[__INET_DIAG_REQ_MAX];
62 int inet_diag_bc_sk(const struct nlattr *_bc, struct sock *sk);
A Dgenl_magic_func.h135 static struct nlattr *nested_attr_tb[128];
144 struct nlattr *tla = info->attrs[tag_number]; \
145 struct nlattr **ntb = nested_attr_tb; \
146 struct nlattr *nla; \
327 struct nlattr *tla = nla_nest_start(skb, tag_number); \
A Dnetfilter.h382 struct nlattr;
386 const struct nlattr *attr);
481 struct nlattr;
488 int (*parse)(const struct nlattr *attr, struct nf_conn *ct);
489 int (*attach_expect)(const struct nlattr *attr, struct nf_conn *ct,
A Dnetlink.h84 const struct nlattr *bad_attr;
86 const struct nlattr *miss_nest;
200 struct nlattr **__tb = (tb); \
A Drtnetlink.h200 struct nlattr *tb[],
206 struct nlattr *tb[],
/include/uapi/linux/
A Dnetlink.h229 struct nlattr { struct
250 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) argument
/include/linux/netfilter/
A Dnfnetlink.h27 const struct nlattr * const cda[]);

Completed in 48 milliseconds

12