Searched refs:IPSET_ATTR_PORT_TO (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_bitmap_port.c | 98 nla_put_net16(skb, IPSET_ATTR_PORT_TO, htons(map->last_port)); in bitmap_port_do_head() 140 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in bitmap_port_uadt() 164 if (tb[IPSET_ATTR_PORT_TO]) { in bitmap_port_uadt() 165 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt() 242 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT_TO) || in bitmap_port_create() 248 last_port = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_create() 286 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 }, 292 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
D | ip_set_hash_ipport.c | 123 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipport4_uadt() 159 tb[IPSET_ATTR_PORT_TO])) { in hash_ipport4_uadt() 180 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipport4_uadt() 181 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt() 290 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipport6_uadt() 326 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipport6_uadt() 332 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt() 372 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
D | ip_set_hash_ipportip.c | 125 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportip4_uadt() 165 tb[IPSET_ATTR_PORT_TO])) { in hash_ipportip4_uadt() 186 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip4_uadt() 187 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip4_uadt() 298 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportip6_uadt() 338 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip6_uadt() 344 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt() 384 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
D | ip_set_hash_netport.c | 172 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport4_uadt() 214 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netport4_uadt() 230 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netport4_uadt() 231 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt() 392 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport6_uadt() 443 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netport6_uadt() 450 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt() 490 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
D | ip_set_hash_ipportnet.c | 179 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet4_uadt() 231 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_ipportnet4_uadt() 258 if (tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet4_uadt() 259 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() 492 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet6_uadt() 499 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt() 541 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
D | ip_set_hash_netportnet.c | 190 !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() 269 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet4_uadt() 270 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt() 465 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet6_uadt() 522 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet6_uadt() 529 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt() 571 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
/linux-4.1.27/include/uapi/linux/netfilter/ipset/ |
D | ip_set.h | 80 IPSET_ATTR_PORT_TO, /* 5 */ enumerator
|