/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_hash_ipmark.c | 88 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmark4_kadt() argument 91 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark4_kadt() 104 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipmark4_uadt() argument 107 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark4_uadt() 134 if (adt == IPSET_TEST || in hash_ipmark4_uadt() 222 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmark6_kadt() argument 225 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark6_kadt() 238 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipmark6_uadt() argument 241 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipmark6_uadt() 269 if (adt == IPSET_TEST) { in hash_ipmark6_uadt()
|
D | ip_set_hash_net.c | 119 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_net4_kadt() argument 122 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_net4_kadt() 130 if (adt == IPSET_TEST) in hash_net4_kadt() 141 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_net4_uadt() argument 144 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_net4_uadt() 180 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt() 183 return ip_set_enomatch(ret, flags, adt, set) ? -ret: in hash_net4_uadt() 292 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_net6_kadt() argument 295 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_net6_kadt() 303 if (adt == IPSET_TEST) in hash_net6_kadt() [all …]
|
D | ip_set_hash_ip.c | 84 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ip4_kadt() argument 87 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip4_kadt() 103 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ip4_uadt() argument 106 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip4_uadt() 131 if (adt == IPSET_TEST) { in hash_ip4_uadt() 225 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ip6_kadt() argument 228 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip6_kadt() 242 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ip6_uadt() argument 245 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ip6_uadt()
|
D | ip_set_hash_netiface.c | 234 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netiface4_kadt() argument 237 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netiface4_kadt() 247 if (adt == IPSET_TEST) in hash_netiface4_kadt() 273 if (adt == IPSET_ADD) { in hash_netiface4_kadt() 287 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netiface4_uadt() argument 290 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netiface4_uadt() 325 if (adt == IPSET_ADD) { in hash_netiface4_uadt() 341 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt() 344 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netiface4_uadt() 474 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netiface6_kadt() argument [all …]
|
D | ip_set_hash_netport.c | 135 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netport4_kadt() argument 138 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netport4_kadt() 144 if (adt == IPSET_TEST) in hash_netport4_kadt() 159 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netport4_uadt() argument 162 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netport4_uadt() 222 if (adt == IPSET_TEST || !(with_ports || tb[IPSET_ATTR_IP_TO])) { in hash_netport4_uadt() 225 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netport4_uadt() 355 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netport6_kadt() argument 358 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netport6_kadt() 364 if (adt == IPSET_TEST) in hash_netport6_kadt() [all …]
|
D | ip_set_hash_ipport.c | 95 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipport4_kadt() argument 97 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport4_kadt() 111 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipport4_uadt() argument 114 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport4_uadt() 157 if (adt == IPSET_TEST || in hash_ipport4_uadt() 262 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipport6_kadt() argument 264 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport6_kadt() 278 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipport6_uadt() argument 281 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipport6_uadt() 326 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipport6_uadt()
|
D | ip_set_hash_ipportnet.c | 140 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportnet4_kadt() argument 143 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportnet4_kadt() 149 if (adt == IPSET_TEST) in hash_ipportnet4_kadt() 165 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipportnet4_uadt() argument 168 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportnet4_uadt() 232 if (adt == IPSET_TEST || in hash_ipportnet4_uadt() 238 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_ipportnet4_uadt() 396 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportnet6_kadt() argument 399 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportnet6_kadt() 405 if (adt == IPSET_TEST) in hash_ipportnet6_kadt() [all …]
|
D | ip_set_hash_netnet.c | 138 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netnet4_kadt() argument 141 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netnet4_kadt() 147 if (adt == IPSET_TEST) in hash_netnet4_kadt() 160 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netnet4_uadt() argument 163 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netnet4_uadt() 211 if (adt == IPSET_TEST || !(tb[IPSET_ATTR_IP_TO] || in hash_netnet4_uadt() 216 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netnet4_uadt() 369 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netnet6_kadt() argument 372 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netnet6_kadt() 378 if (adt == IPSET_TEST) in hash_netnet6_kadt() [all …]
|
D | ip_set_hash_ipportip.c | 96 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportip4_kadt() argument 98 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip4_kadt() 113 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipportip4_uadt() argument 116 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip4_uadt() 163 if (adt == IPSET_TEST || in hash_ipportip4_uadt() 269 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipportip6_kadt() argument 271 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip6_kadt() 286 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_ipportip6_uadt() argument 289 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_ipportip6_uadt() 338 if (adt == IPSET_TEST || !with_ports || !tb[IPSET_ATTR_PORT_TO]) { in hash_ipportip6_uadt()
|
D | ip_set_hash_netportnet.c | 149 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netportnet4_kadt() argument 152 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netportnet4_kadt() 158 if (adt == IPSET_TEST) in hash_netportnet4_kadt() 175 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_netportnet4_uadt() argument 178 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netportnet4_uadt() 247 if (adt == IPSET_TEST || in hash_netportnet4_uadt() 252 return ip_set_enomatch(ret, flags, adt, set) ? -ret : in hash_netportnet4_uadt() 426 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_netportnet6_kadt() argument 429 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_netportnet6_kadt() 435 if (adt == IPSET_TEST) in hash_netportnet6_kadt() [all …]
|
D | ip_set_hash_mac.c | 77 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_mac4_kadt() argument 79 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_mac4_kadt() 99 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in hash_mac4_uadt() argument 101 ipset_adtfn adtfn = set->variant->adt[adt]; in hash_mac4_uadt()
|
D | ip_set_bitmap_port.c | 104 enum ipset_adt adt, struct ip_set_adt_opt *opt) in bitmap_port_kadt() argument 107 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_port_kadt() 129 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in bitmap_port_uadt() argument 132 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_port_uadt() 159 if (adt == IPSET_TEST) { in bitmap_port_uadt()
|
D | ip_set_bitmap_gen.h | 203 struct nlattr *adt, *nested; in mtype_list() local 207 adt = ipset_nest_start(skb, IPSET_ATTR_ADT); in mtype_list() 208 if (!adt) in mtype_list() 224 nla_nest_cancel(skb, adt); in mtype_list() 236 ipset_nest_end(skb, adt); in mtype_list() 249 ipset_nest_end(skb, adt); in mtype_list() 281 .adt = {
|
D | ip_set_bitmap_ip.c | 112 enum ipset_adt adt, struct ip_set_adt_opt *opt) in bitmap_ip_kadt() argument 115 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ip_kadt() 131 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in bitmap_ip_uadt() argument 134 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ip_uadt() 160 if (adt == IPSET_TEST) { in bitmap_ip_uadt()
|
D | ip_set_bitmap_ipmac.c | 203 enum ipset_adt adt, struct ip_set_adt_opt *opt) in bitmap_ipmac_kadt() argument 206 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ipmac_kadt() 232 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in bitmap_ipmac_uadt() argument 235 ipset_adtfn adtfn = set->variant->adt[adt]; in bitmap_ipmac_uadt()
|
D | ip_set_list_set.c | 138 enum ipset_adt adt, struct ip_set_adt_opt *opt) in list_set_kadt() argument 142 switch (adt) { in list_set_kadt() 377 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried) in list_set_uadt() argument 380 ipset_adtfn adtfn = set->variant->adt[adt]; in list_set_uadt() 432 if (adt != IPSET_TEST && SET_WITH_TIMEOUT(set)) in list_set_uadt() 440 if (adt != IPSET_ADD || ret) in list_set_uadt() 565 .adt = {
|
D | ip_set_hash_gen.h | 1012 enum ipset_adt adt, struct ip_set_adt_opt *opt); 1016 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried); 1021 .adt = {
|
D | ip_set_core.c | 1402 struct nlattr *tb[], enum ipset_adt adt, in call_ad() argument 1411 ret = set->variant->uadt(set, tb, adt, &lineno, flags, retried); in call_ad()
|
/linux-4.1.27/include/linux/netfilter/ipset/ |
D | ip_set.h | 154 enum ipset_adt adt, struct ip_set_adt_opt *opt); 161 enum ipset_adt adt, u32 *lineno, u32 flags, bool retried); 164 ipset_adtfn adt[IPSET_ADT_MAX]; member 442 ip_set_enomatch(int ret, u32 flags, enum ipset_adt adt, struct ip_set *set) in ip_set_enomatch() argument 444 return adt == IPSET_TEST && in ip_set_enomatch()
|