Home
last modified time | relevance | path

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

/Linux-v6.1/net/netfilter/ipset/
Dip_set_bitmap_port.c96 nla_put_net16(skb, IPSET_ATTR_PORT_TO, htons(map->last_port)); in bitmap_port_do_head()
168 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in bitmap_port_uadt()
183 if (tb[IPSET_ATTR_PORT_TO]) { in bitmap_port_uadt()
184 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt()
257 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT_TO) || in bitmap_port_create()
263 last_port = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_create()
298 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
304 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_ipport.c121 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipport4_uadt()
149 tb[IPSET_ATTR_PORT_TO])) { in hash_ipport4_uadt()
170 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipport4_uadt()
171 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt()
282 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipport6_uadt()
316 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipport6_uadt()
322 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt()
364 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_ipportip.c124 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipportip4_uadt()
156 tb[IPSET_ATTR_PORT_TO])) { in hash_ipportip4_uadt()
177 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip4_uadt()
178 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip4_uadt()
293 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipportip6_uadt()
331 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip6_uadt()
337 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt()
379 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_netport.c172 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport4_uadt()
206 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netport4_uadt()
223 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netport4_uadt()
224 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt()
396 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport6_uadt()
440 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netport6_uadt()
447 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt()
489 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_ipportnet.c178 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet4_uadt()
223 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_ipportnet4_uadt()
250 if (tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet4_uadt()
251 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet4_uadt()
431 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet6_uadt()
486 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet6_uadt()
493 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt()
537 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_netportnet.c196 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet4_uadt()
246 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netportnet4_uadt()
270 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet4_uadt()
271 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt()
487 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet6_uadt()
542 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet6_uadt()
549 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt()
593 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
/Linux-v6.1/include/uapi/linux/netfilter/ipset/
Dip_set.h81 IPSET_ATTR_PORT_TO, /* 5 */ enumerator