Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/ipset/
Dip_set_bitmap_port.c100 nla_put_net16(skb, IPSET_ATTR_PORT_TO, htons(map->last_port)); in bitmap_port_do_head()
145 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in bitmap_port_uadt()
160 if (tb[IPSET_ATTR_PORT_TO]) { in bitmap_port_uadt()
161 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt()
234 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT_TO) || in bitmap_port_create()
240 last_port = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_create()
275 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
281 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_ipport.c124 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipport4_uadt()
152 tb[IPSET_ATTR_PORT_TO])) { in hash_ipport4_uadt()
173 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipport4_uadt()
174 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()
362 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_ipportip.c127 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipportip4_uadt()
159 tb[IPSET_ATTR_PORT_TO])) { in hash_ipportip4_uadt()
180 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip4_uadt()
181 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()
377 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_netport.c174 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport4_uadt()
208 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netport4_uadt()
225 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netport4_uadt()
226 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt()
390 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport6_uadt()
434 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netport6_uadt()
441 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt()
481 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_ipportnet.c181 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet4_uadt()
226 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_ipportnet4_uadt()
253 if (tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet4_uadt()
254 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()
535 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
Dip_set_hash_netportnet.c198 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet4_uadt()
248 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netportnet4_uadt()
272 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet4_uadt()
273 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt()
476 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet6_uadt()
531 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet6_uadt()
538 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt()
580 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
/Linux-v4.19/include/uapi/linux/netfilter/ipset/
Dip_set.h81 IPSET_ATTR_PORT_TO, /* 5 */ enumerator