Searched refs:IPSET_ATTR_PORT_TO (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/net/netfilter/ipset/ |
| D | ip_set_bitmap_port.c | 96 nla_put_net16(skb, IPSET_ATTR_PORT_TO, htons(map->last_port)); in bitmap_port_do_head() 141 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in bitmap_port_uadt() 156 if (tb[IPSET_ATTR_PORT_TO]) { in bitmap_port_uadt() 157 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt() 230 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT_TO) || in bitmap_port_create() 236 last_port = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_create() 271 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 }, 277 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
| D | ip_set_hash_ipport.c | 120 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipport4_uadt() 148 tb[IPSET_ATTR_PORT_TO])) { in hash_ipport4_uadt() 169 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipport4_uadt() 170 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt() 278 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipport6_uadt() 312 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipport6_uadt() 318 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt() 358 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
| D | ip_set_hash_ipportip.c | 123 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipportip4_uadt() 155 tb[IPSET_ATTR_PORT_TO])) { in hash_ipportip4_uadt() 176 if (with_ports && tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip4_uadt() 177 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip4_uadt() 289 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipportip6_uadt() 327 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip6_uadt() 333 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt() 373 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
| D | ip_set_hash_netport.c | 170 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport4_uadt() 204 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netport4_uadt() 221 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netport4_uadt() 222 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt() 386 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netport6_uadt() 430 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netport6_uadt() 437 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt() 477 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
| D | ip_set_hash_ipportnet.c | 177 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet4_uadt() 222 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_ipportnet4_uadt() 249 if (tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet4_uadt() 250 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet4_uadt() 427 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet6_uadt() 482 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportnet6_uadt() 489 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt() 531 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
| D | ip_set_hash_netportnet.c | 194 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet4_uadt() 244 with_ports = with_ports && tb[IPSET_ATTR_PORT_TO]; in hash_netportnet4_uadt() 268 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet4_uadt() 269 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt() 472 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_netportnet6_uadt() 527 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_netportnet6_uadt() 534 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt() 576 [IPSET_ATTR_PORT_TO] = { .type = NLA_U16 },
|
| /Linux-v5.4/include/uapi/linux/netfilter/ipset/ |
| D | ip_set.h | 85 IPSET_ATTR_PORT_TO, /* 5 */ enumerator
|