Home
last modified time | relevance | path

Searched refs:nla (Results 1 – 9 of 9) sorted by relevance

/include/net/
Dnetlink.h509 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize);
510 char *nla_strdup(const struct nlattr *nla, gfp_t flags);
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);
1128 static inline int nla_type(const struct nlattr *nla) in nla_type() argument
1130 return nla->nla_type & NLA_TYPE_MASK; in nla_type()
1137 static inline void *nla_data(const struct nlattr *nla) in nla_data() argument
1139 return (char *) nla + NLA_HDRLEN; in nla_data()
1146 static inline int nla_len(const struct nlattr *nla) in nla_len() argument
1148 return nla->nla_len - NLA_HDRLEN; in nla_len()
[all …]
Dbpf_sk_storage.h46 bpf_sk_storage_diag_alloc(const struct nlattr *nla) in bpf_sk_storage_diag_alloc() argument
Dfib_rules.h158 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table() argument
160 if (nla[FRA_TABLE]) in frh_get_table()
161 return nla_get_u32(nla[FRA_TABLE]); in frh_get_table()
Dact_api.h101 int (*init)(struct net *net, struct nlattr *nla,
181 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla,
185 struct tc_action_ops *tc_action_load_ops(char *name, struct nlattr *nla,
189 struct nlattr *nla, struct nlattr *est,
Dip_fib.h430 int fib_gw_from_via(struct fib_config *cfg, struct nlattr *nla,
/include/linux/
Dgenl_magic_func.h101 #define DPRINT_FIELD(dir, nla_type, name, s, nla) \ argument
105 else if (nla) \
108 : nla_data(nla)); \
111 #define DPRINT_ARRAY(dir, nla_type, name, s, nla) \ argument
116 else if (nla) \
118 nla_data(nla), nla_len(nla)); \
122 #define DPRINT_FIELD(dir, nla_type, name, s, nla) do {} while (0) argument
123 #define DPRINT_ARRAY(dir, nla_type, name, s, nla) do {} while (0) argument
145 struct nlattr *nla; \
170 nla = ntb[attr_nr]; \
[all …]
/include/linux/netfilter/ipset/
Dip_set.h337 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);
351 ip_set_get_hostipaddr4(struct nlattr *nla, u32 *ipaddr) in ip_set_get_hostipaddr4() argument
354 int ret = ip_set_get_ipaddr4(nla, &ip); in ip_set_get_hostipaddr4()
/include/net/netfilter/
Dnf_tables.h180 const struct nlattr * const *nla; member
201 struct nft_data_desc *desc, const struct nlattr *nla);
388 u64 (*privsize)(const struct nlattr * const nla[],
395 const struct nlattr * const nla[]);
1161 const struct nlattr *nla, u32 objtype,
1253 const struct nlattr *nla,
1566 int nf_msecs_to_jiffies64(const struct nlattr *nla, u64 *result);
Dnf_conntrack_l4proto.h34 int (*to_nlattr)(struct sk_buff *skb, struct nlattr *nla,