Home
last modified time | relevance | path

Searched refs:nla_put_net32 (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/net/netfilter/ipset/
Dip_set_bitmap_gen.h102 nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in mtype_head()
103 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in mtype_head()
104 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in mtype_head()
Dip_set_hash_ipmark.c59 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark4_data_list()
182 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark6_data_list()
Dip_set_list_set.c468 if (nla_put_net32(skb, IPSET_ATTR_SIZE, htonl(map->size)) || in list_set_head()
469 nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in list_set_head()
470 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in list_set_head()
471 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in list_set_head()
Dip_set_hash_net.c92 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_net4_data_list()
257 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_net6_data_list()
Dip_set_hash_netiface.c114 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netiface4_data_list()
337 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netiface6_data_list()
Dip_set_hash_gen.h1059 if (nla_put_net32(skb, IPSET_ATTR_HASHSIZE, in mtype_head()
1061 nla_put_net32(skb, IPSET_ATTR_MAXELEM, htonl(h->maxelem))) in mtype_head()
1072 if (nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in mtype_head()
1073 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in mtype_head()
1074 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in mtype_head()
Dip_set_hash_netnet.c112 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netnet4_data_list()
343 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netnet6_data_list()
Dip_set_hash_netport.c107 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netport4_data_list()
320 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netport6_data_list()
Dip_set_hash_ipportnet.c111 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_ipportnet4_data_list()
360 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_ipportnet6_data_list()
Dip_set_hash_netportnet.c121 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netportnet4_data_list()
397 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netportnet6_data_list()
Dip_set_core.c458 if (nla_put_net32(skb, IPSET_ATTR_TIMEOUT, in ip_set_put_extensions()
/Linux-v5.4/include/linux/netfilter/ipset/
Dip_set.h283 if (unlikely(nla_put_net32(skb, IPSET_ATTR_TIMEOUT, in ip_set_put_flags()
297 return nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(cadt_flags)); in ip_set_put_flags()
676 nla_put_net32(skb, IPSET_ATTR_SKBPRIO, in ip_set_put_skbinfo()
/Linux-v5.4/include/net/
Dnetlink.h1268 static inline int nla_put_net32(struct sk_buff *skb, int attrtype, __be32 value) in nla_put_net32() function