Searched refs:IPSET_ATTR_PORT_TO (Results 1 – 7 of 7) sorted by relevance
/linux/net/netfilter/ipset/ |
H A D | ip_set_bitmap_port.c | 96 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 },
|
H A D | ip_set_hash_ipportip.c | 124 !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 },
|
H A D | ip_set_hash_ipport.c | 128 !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 },
|
H A D | ip_set_hash_netport.c | 171 !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 },
|
H A D | ip_set_hash_ipportnet.c | 178 !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 },
|
H A D | ip_set_hash_netportnet.c | 206 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet4_uadt() 256 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netportnet4_uadt() 280 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet4_uadt() 281 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt() 490 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet6_uadt() 545 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet6_uadt() 552 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt() 596 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
/linux/include/uapi/linux/netfilter/ipset/ |
H A D | ip_set.h | 81 IPSET_ATTR_PORT_TO, /* 5 */ enumerator
|