Searched refs:IPSET_ATTR_PORT (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/net/netfilter/ipset/ |
| D | ip_set_bitmap_port.c | 88 return nla_put_net16(skb, IPSET_ATTR_PORT, in bitmap_port_do_list() 95 return nla_put_net16(skb, IPSET_ATTR_PORT, htons(map->first_port)) || in bitmap_port_do_head() 140 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_uadt() 144 port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_uadt() 229 if (unlikely(!ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in bitmap_port_create() 235 first_port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_create() 270 [IPSET_ATTR_PORT] = { .type = NLA_U16 }, 276 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
| D | ip_set_hash_ipport.c | 65 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport4_data_list() 119 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport4_uadt() 131 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt() 220 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipport6_data_list() 277 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipport6_uadt() 297 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport6_uadt() 357 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
| D | ip_set_hash_ipportip.c | 66 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip4_data_list() 122 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip4_uadt() 138 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt() 230 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportip6_data_list() 288 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip6_uadt() 312 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip6_uadt() 372 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
| D | ip_set_hash_netport.c | 103 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport4_data_list() 169 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport4_uadt() 189 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt() 316 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netport6_data_list() 385 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netport6_uadt() 408 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport6_uadt() 476 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
| D | ip_set_hash_ipportnet.c | 107 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet4_data_list() 176 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet4_uadt() 200 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet4_uadt() 356 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_ipportnet6_data_list() 426 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet6_uadt() 460 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet6_uadt() 530 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
| D | ip_set_hash_netportnet.c | 116 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet4_data_list() 193 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet4_uadt() 222 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet4_uadt() 392 nla_put_net16(skb, IPSET_ATTR_PORT, data->port) || in hash_netportnet6_data_list() 471 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_netportnet6_uadt() 505 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet6_uadt() 575 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
|
| /Linux-v5.4/include/uapi/linux/netfilter/ipset/ |
| D | ip_set.h | 83 IPSET_ATTR_PORT, /* 4 */ enumerator 84 IPSET_ATTR_PORT_FROM = IPSET_ATTR_PORT,
|