Searched refs:nla (Results 1 – 8 of 8) sorted by relevance
/include/net/ |
D | netlink.h | 442 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize); 443 char *nla_strdup(const struct nlattr *nla, gfp_t flags); 445 int nla_memcmp(const struct nlattr *nla, const void *data, size_t size); 446 int nla_strcmp(const struct nlattr *nla, const char *str); 1063 static inline int nla_type(const struct nlattr *nla) in nla_type() argument 1065 return nla->nla_type & NLA_TYPE_MASK; in nla_type() 1072 static inline void *nla_data(const struct nlattr *nla) in nla_data() argument 1074 return (char *) nla + NLA_HDRLEN; in nla_data() 1081 static inline int nla_len(const struct nlattr *nla) in nla_len() argument 1083 return nla->nla_len - NLA_HDRLEN; in nla_len() [all …]
|
D | fib_rules.h | 149 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table() argument 151 if (nla[FRA_TABLE]) in frh_get_table() 152 return nla_get_u32(nla[FRA_TABLE]); in frh_get_table()
|
D | act_api.h | 94 int (*init)(struct net *net, struct nlattr *nla, 176 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, 181 struct nlattr *nla, struct nlattr *est,
|
D | ip_fib.h | 406 int fib_gw_from_via(struct fib_config *cfg, struct nlattr *nla,
|
/include/linux/ |
D | genl_magic_func.h | 101 #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/net/netfilter/ |
D | nf_tables.h | 173 const struct nlattr * const *nla; member 189 struct nft_data_desc *desc, const struct nlattr *nla); 361 u64 (*privsize)(const struct nlattr * const nla[], 368 const struct nlattr * const nla[]); 833 const struct nlattr *nla); 1090 const struct nlattr *nla, u32 objtype, 1184 const struct nlattr *nla,
|
D | nf_conntrack_l4proto.h | 34 int (*to_nlattr)(struct sk_buff *skb, struct nlattr *nla,
|
/include/linux/netfilter/ipset/ |
D | ip_set.h | 333 extern int ip_set_get_ipaddr4(struct nlattr *nla, __be32 *ipaddr); 334 extern int ip_set_get_ipaddr6(struct nlattr *nla, union nf_inet_addr *ipaddr); 347 ip_set_get_hostipaddr4(struct nlattr *nla, u32 *ipaddr) in ip_set_get_hostipaddr4() argument 350 int ret = ip_set_get_ipaddr4(nla, &ip); in ip_set_get_hostipaddr4()
|