Searched refs:IPSET_ATTR_PORT (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_bitmap_port.c | 90 return nla_put_net16(skb, IPSET_ATTR_PORT, in bitmap_port_do_list() 97 return nla_put_net16(skb, IPSET_ATTR_PORT, htons(map->first_port)) || in bitmap_port_do_head() 139 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_uadt() 152 port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_uadt() 241 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_create() 247 first_port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_create() 285 [IPSET_ATTR_PORT] = { .type = NLA_U16 }, 291 [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() 122 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport4_uadt() 140 if (tb[IPSET_ATTR_PORT]) in hash_ipport4_uadt() 141 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt() 231 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport6_data_list() 289 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport6_uadt() 309 if (tb[IPSET_ATTR_PORT]) in hash_ipport6_uadt() 310 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport6_uadt() 371 [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() 124 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip4_uadt() 146 if (tb[IPSET_ATTR_PORT]) in hash_ipportip4_uadt() 147 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt() 240 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip6_data_list() 297 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip6_uadt() 321 if (tb[IPSET_ATTR_PORT]) in hash_ipportip6_uadt() 322 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip6_uadt() 383 [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() 171 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport4_uadt() 197 if (tb[IPSET_ATTR_PORT]) in hash_netport4_uadt() 198 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt() 323 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport6_data_list() 391 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport6_uadt() 420 if (tb[IPSET_ATTR_PORT]) in hash_netport6_uadt() 421 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport6_uadt() 489 [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() 178 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet4_uadt() 208 if (tb[IPSET_ATTR_PORT]) in hash_ipportnet4_uadt() 209 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet4_uadt() 364 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet6_data_list() 433 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet6_uadt() 469 if (tb[IPSET_ATTR_PORT]) in hash_ipportnet6_uadt() 470 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet6_uadt() 540 [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() 189 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet4_uadt() 223 if (tb[IPSET_ATTR_PORT]) in hash_netportnet4_uadt() 224 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet4_uadt() 393 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet6_data_list() 464 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet6_uadt() 499 if (tb[IPSET_ATTR_PORT]) in hash_netportnet6_uadt() 500 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet6_uadt() 570 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
/linux-4.1.27/include/uapi/linux/netfilter/ipset/ |
D | ip_set.h | 78 IPSET_ATTR_PORT, /* 4 */ enumerator 79 IPSET_ATTR_PORT_FROM = IPSET_ATTR_PORT,
|