Home
last modified time | relevance | path

Searched refs:IPSET_ATTR_PORT (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/net/netfilter/ipset/
Dip_set_bitmap_port.c88 return nla_put_net16(skb, IPSET_ATTR_PORT, in bitmap_port_do_list()
95 return nla_put_net16(skb, IPSET_ATTR_PORT, htons(map->first_port)) || in bitmap_port_do_head()
167 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_uadt()
171 port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_uadt()
256 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_create()
262 first_port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_create()
297 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
303 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
Dip_set_hash_ipport.c66 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport4_data_list()
120 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport4_uadt()
132 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt()
224 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport6_data_list()
281 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport6_uadt()
301 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport6_uadt()
363 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
Dip_set_hash_ipportip.c67 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip4_data_list()
123 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip4_uadt()
139 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt()
234 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip6_data_list()
292 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip6_uadt()
316 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip6_uadt()
378 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
Dip_set_hash_netport.c104 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport4_data_list()
171 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport4_uadt()
191 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt()
326 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport6_data_list()
395 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport6_uadt()
418 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport6_uadt()
488 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
Dip_set_hash_ipportnet.c108 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet4_data_list()
177 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet4_uadt()
201 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet4_uadt()
360 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet6_data_list()
430 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet6_uadt()
464 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet6_uadt()
536 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
Dip_set_hash_netportnet.c117 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet4_data_list()
195 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet4_uadt()
224 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet4_uadt()
407 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet6_data_list()
486 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet6_uadt()
520 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet6_uadt()
592 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
/Linux-v6.1/include/uapi/linux/netfilter/ipset/
Dip_set.h79 IPSET_ATTR_PORT, /* 4 */ enumerator
80 IPSET_ATTR_PORT_FROM = IPSET_ATTR_PORT,