Searched refs:IPSET_ATTR_PORT (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_bitmap_port.c | 91 return nla_put_net16(skb, IPSET_ATTR_PORT, in bitmap_port_do_list() 98 return nla_put_net16(skb, IPSET_ATTR_PORT, htons(map->first_port)) || in bitmap_port_do_head() 143 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_uadt() 147 port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_uadt() 231 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_create() 237 first_port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_create() 276 [IPSET_ATTR_PORT] = { .type = NLA_U16 }, 282 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
D | ip_set_hash_ipport.c | 69 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport4_data_list() 123 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport4_uadt() 135 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt() 224 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport6_data_list() 281 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport6_uadt() 301 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport6_uadt() 361 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
D | ip_set_hash_ipportip.c | 70 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip4_data_list() 126 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip4_uadt() 142 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt() 234 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip6_data_list() 292 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip6_uadt() 316 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip6_uadt() 376 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
D | ip_set_hash_netport.c | 107 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport4_data_list() 173 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport4_uadt() 193 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt() 319 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport6_data_list() 388 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport6_uadt() 411 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport6_uadt() 479 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
D | ip_set_hash_ipportnet.c | 111 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet4_data_list() 180 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet4_uadt() 204 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet4_uadt() 360 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet6_data_list() 430 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet6_uadt() 464 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet6_uadt() 534 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
D | ip_set_hash_netportnet.c | 120 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet4_data_list() 197 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet4_uadt() 226 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet4_uadt() 395 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet6_data_list() 474 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet6_uadt() 508 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet6_uadt() 578 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
/linux-4.4.14/include/uapi/linux/netfilter/ipset/ |
D | ip_set.h | 78 IPSET_ATTR_PORT, /* 4 */ enumerator 79 IPSET_ATTR_PORT_FROM = IPSET_ATTR_PORT,
|