Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/netfilter/ipset/
A 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 },
A Dip_set_hash_ipport.c128 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipport4_uadt()
160 tb[IPSET_ATTR_PORT_TO])) { in hash_ipport4_uadt()
181 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipport4_uadt()
182 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt()
299 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipport6_uadt()
337 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipport6_uadt()
343 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt()
387 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
A 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()
294 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipportip6_uadt()
332 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip6_uadt()
338 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt()
380 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
A Dip_set_hash_netport.c171 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport4_uadt()
205 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netport4_uadt()
222 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netport4_uadt()
223 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt()
391 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport6_uadt()
435 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netport6_uadt()
442 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt()
484 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
A 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()
434 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet6_uadt()
489 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet6_uadt()
496 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt()
540 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
A Dip_set_hash_netportnet.c205 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet4_uadt()
255 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netportnet4_uadt()
279 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet4_uadt()
280 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt()
489 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet6_uadt()
544 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet6_uadt()
551 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt()
595 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
/linux-6.3-rc2/include/uapi/linux/netfilter/ipset/
A Dip_set.h81 IPSET_ATTR_PORT_TO, /* 5 */ enumerator

Completed in 31 milliseconds