Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/netfilter/ipset/
A 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 },
A Dip_set_hash_ipport.c69 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport4_data_list()
127 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport4_uadt()
143 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt()
236 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport6_data_list()
298 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport6_uadt()
322 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport6_uadt()
386 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
A 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()
235 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip6_data_list()
293 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip6_uadt()
317 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip6_uadt()
379 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
A Dip_set_hash_netport.c104 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport4_data_list()
170 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport4_uadt()
190 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt()
321 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport6_data_list()
390 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport6_uadt()
413 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport6_uadt()
483 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
A 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()
363 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet6_data_list()
433 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet6_uadt()
467 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet6_uadt()
539 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
A Dip_set_hash_netportnet.c117 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet4_data_list()
204 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet4_uadt()
233 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet4_uadt()
409 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet6_data_list()
488 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet6_uadt()
522 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet6_uadt()
594 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
/linux-6.3-rc2/include/uapi/linux/netfilter/ipset/
A Dip_set.h79 IPSET_ATTR_PORT, /* 4 */ enumerator
80 IPSET_ATTR_PORT_FROM = IPSET_ATTR_PORT,

Completed in 13 milliseconds