Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/ipset/
Dip_set_bitmap_port.c99 nla_put_net16(skb, IPSET_ATTR_PORT_TO, htons(map->last_port)); in bitmap_port_do_head()
144 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in bitmap_port_uadt()
159 if (tb[IPSET_ATTR_PORT_TO]) { in bitmap_port_uadt()
160 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt()
232 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT_TO) || in bitmap_port_create()
238 last_port = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_create()
277 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
283 [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()
389 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport6_uadt()
433 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netport6_uadt()
440 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt()
480 [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()
475 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet6_uadt()
530 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet6_uadt()
537 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt()
579 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
/linux-4.4.14/include/uapi/linux/netfilter/ipset/
Dip_set.h80 IPSET_ATTR_PORT_TO, /* 5 */ enumerator