/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_bitmap_gen.h | 100 nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in mtype_head() 101 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in mtype_head() 102 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in mtype_head()
|
H A D | ip_set_hash_ipmark.c | 59 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark4_data_list() 191 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark6_data_list()
|
H A D | ip_set_list_set.c | 465 if (nla_put_net32(skb, IPSET_ATTR_SIZE, htonl(map->size)) || in list_set_head() 466 nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in list_set_head() 467 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in list_set_head() 468 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in list_set_head()
|
H A D | ip_set_hash_netiface.c | 119 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netiface4_data_list() 353 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netiface6_data_list()
|
H A D | ip_set_hash_net.c | 92 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_net4_data_list() 263 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_net6_data_list()
|
H A D | ip_set_hash_netport.c | 107 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netport4_data_list() 324 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netport6_data_list()
|
H A D | ip_set_hash_netnet.c | 112 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netnet4_data_list() 348 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netnet6_data_list()
|
H A D | ip_set_hash_ipportnet.c | 111 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_ipportnet4_data_list() 366 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_ipportnet6_data_list()
|
H A D | ip_set_hash_netportnet.c | 122 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netportnet4_data_list() 414 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netportnet6_data_list()
|
H A D | ip_set_hash_gen.h | 1293 if (nla_put_net32(skb, IPSET_ATTR_HASHSIZE, in mtype_head() 1295 nla_put_net32(skb, IPSET_ATTR_MAXELEM, htonl(h->maxelem))) in mtype_head() 1306 if (nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in mtype_head() 1307 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in mtype_head() 1308 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(elements))) in mtype_head()
|
H A D | ip_set_core.c | 550 nla_put_net32(skb, IPSET_ATTR_SKBPRIO, in ip_set_put_skbinfo() 564 if (nla_put_net32(skb, IPSET_ATTR_TIMEOUT, in ip_set_put_extensions() 1446 if (unlikely(nla_put_net32(skb, IPSET_ATTR_TIMEOUT, in ip_set_put_flags() 1460 return nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(cadt_flags)); in ip_set_put_flags()
|
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_bitmap_gen.h | 100 nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in mtype_head() 101 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in mtype_head() 102 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in mtype_head()
|
H A D | ip_set_hash_ipmark.c | 60 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark4_data_list() 192 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark6_data_list()
|
H A D | ip_set_list_set.c | 465 if (nla_put_net32(skb, IPSET_ATTR_SIZE, htonl(map->size)) || in list_set_head() 466 nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in list_set_head() 467 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in list_set_head() 468 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(set->elements))) in list_set_head()
|
H A D | ip_set_hash_netiface.c | 120 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netiface4_data_list() 354 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netiface6_data_list()
|
H A D | ip_set_hash_netport.c | 108 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netport4_data_list() 325 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netport6_data_list()
|
H A D | ip_set_hash_net.c | 93 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_net4_data_list() 264 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_net6_data_list()
|
H A D | ip_set_hash_gen.h | 1283 if (nla_put_net32(skb, IPSET_ATTR_HASHSIZE, in mtype_head() 1285 nla_put_net32(skb, IPSET_ATTR_MAXELEM, htonl(h->maxelem))) in mtype_head() 1310 nla_put_net32(skb, IPSET_ATTR_INITVAL, htonl(h->initval))) in mtype_head() 1313 if (nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in mtype_head() 1314 nla_put_net32(skb, IPSET_ATTR_MEMSIZE, htonl(memsize)) || in mtype_head() 1315 nla_put_net32(skb, IPSET_ATTR_ELEMENTS, htonl(elements))) in mtype_head()
|
H A D | ip_set_hash_netportnet.c | 123 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netportnet4_data_list() 415 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netportnet6_data_list()
|
H A D | ip_set_hash_netnet.c | 116 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netnet4_data_list() 352 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_netnet6_data_list()
|
H A D | ip_set_hash_ipportnet.c | 112 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_ipportnet4_data_list() 367 nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(flags)))) in hash_ipportnet6_data_list()
|
H A D | ip_set_core.c | 550 nla_put_net32(skb, IPSET_ATTR_SKBPRIO, in ip_set_put_skbinfo() 564 if (nla_put_net32(skb, IPSET_ATTR_TIMEOUT, in ip_set_put_extensions() 1436 if (unlikely(nla_put_net32(skb, IPSET_ATTR_TIMEOUT, in ip_set_put_flags() 1450 return nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(cadt_flags)); in ip_set_put_flags()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | netlink.h | 1328 * nla_put_net32 - Add 32-bit network byte order netlink attribute to a socket buffer 1333 static inline int nla_put_net32(struct sk_buff *skb, int attrtype, __be32 value) in nla_put_net32() function
|
/kernel/linux/linux-6.6/include/net/ |
H A D | netlink.h | 1374 * nla_put_net32 - Add 32-bit network byte order netlink attribute to a socket buffer 1379 static inline int nla_put_net32(struct sk_buff *skb, int attrtype, __be32 value) in nla_put_net32() function
|