Home
last modified time | relevance | path

Searched defs:set (Results 1 – 25 of 33) sorted by relevance

12

/net/netfilter/ipset/
Dip_set_list_set.c47 #define list_set_elem(set, map, id) \ argument
51 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest()
88 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd()
112 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel()
136 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt()
156 id_eq(const struct ip_set *set, u32 i, ip_set_id_t id) in id_eq()
171 list_set_add(struct ip_set *set, u32 i, struct set_adt_elem *d, in list_set_add()
211 list_set_del(struct ip_set *set, u32 i) in list_set_del()
230 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries()
248 list_set_utest(struct ip_set *set, void *value, const struct ip_set_ext *ext, in list_set_utest()
[all …]
Dip_set_bitmap_gen.h36 #define get_ext(set, map, id) ((map)->extensions + (set)->dsize * (id)) argument
39 mtype_gc_init(struct ip_set *set, void (*gc)(unsigned long ul_set)) in mtype_gc_init()
51 mtype_ext_cleanup(struct ip_set *set) in mtype_ext_cleanup()
62 mtype_destroy(struct ip_set *set) in mtype_destroy()
81 mtype_flush(struct ip_set *set) in mtype_flush()
91 mtype_head(struct ip_set *set, struct sk_buff *skb) in mtype_head()
116 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_test()
137 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add()
172 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del()
199 mtype_list(const struct ip_set *set, in mtype_list()
[all …]
Dip_set_core.c365 ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], size_t len) in ip_set_elem_len()
388 ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], in ip_set_get_extensions()
447 __ip_set_get(struct ip_set *set) in __ip_set_get()
455 __ip_set_put(struct ip_set *set) in __ip_set_put()
473 struct ip_set *set; in ip_set_rcu_get() local
488 struct ip_set *set = ip_set_rcu_get( in ip_set_test() local
527 struct ip_set *set = ip_set_rcu_get( in ip_set_add() local
550 struct ip_set *set = ip_set_rcu_get( in ip_set_del() local
575 ip_set_get_byname(struct net *net, const char *name, struct ip_set **set) in ip_set_get_byname()
607 struct ip_set *set; in __ip_set_put_byindex() local
[all …]
Dip_set_hash_gen.h362 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
372 mtype_flush(struct ip_set *set) in mtype_flush()
398 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy()
418 mtype_destroy(struct ip_set *set) in mtype_destroy()
435 mtype_gc_init(struct ip_set *set, void (*gc)(unsigned long ul_set)) in mtype_gc_init()
468 mtype_expire(struct ip_set *set, struct htype *h, u8 nets_length, size_t dsize) in mtype_expire()
521 struct ip_set *set = (struct ip_set *) ul_set; in mtype_gc() local
537 mtype_resize(struct ip_set *set, bool retried) in mtype_resize()
623 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add()
735 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del()
[all …]
Dip_set_hash_ipmark.c86 hash_ipmark4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark4_kadt()
103 hash_ipmark4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark4_uadt()
220 hash_ipmark6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark6_kadt()
237 hash_ipmark6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark6_uadt()
Dip_set_hash_ip.c82 hash_ip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip4_kadt()
102 hash_ip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip4_uadt()
223 hash_ip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip6_kadt()
241 hash_ip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip6_uadt()
Dip_set_bitmap_ipmac.c119 const struct ip_set_ext *ext, struct ip_set *set, in bitmap_ipmac_add_timeout()
201 bitmap_ipmac_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ipmac_kadt()
231 bitmap_ipmac_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_uadt()
291 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac()
316 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_create()
Dip_set_bitmap_port.c102 bitmap_port_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_port_kadt()
128 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt()
211 init_map_port(struct ip_set *set, struct bitmap_port *map, in init_map_port()
235 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
Dip_set_hash_ipport.c93 hash_ipport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport4_kadt()
110 hash_ipport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport4_uadt()
260 hash_ipport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport6_kadt()
277 hash_ipport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport6_uadt()
Dip_set_hash_ipportip.c94 hash_ipportip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip4_kadt()
112 hash_ipportip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip4_uadt()
267 hash_ipportip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip6_kadt()
285 hash_ipportip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip6_uadt()
Dip_set_bitmap_ip.c110 bitmap_ip_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ip_kadt()
130 bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ip_uadt()
221 init_map_ip(struct ip_set *set, struct bitmap_ip *map, in init_map_ip()
249 bitmap_ip_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ip_create()
Dip_set_hash_net.c117 hash_net4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net4_kadt()
140 hash_net4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net4_uadt()
290 hash_net6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net6_kadt()
313 hash_net6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net6_uadt()
Dip_set_hash_mac.c75 hash_mac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_mac4_kadt()
98 hash_mac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_mac4_uadt()
Dip_set_hash_netnet.c135 hash_netnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet4_kadt()
158 hash_netnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet4_uadt()
365 hash_netnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet6_kadt()
388 hash_netnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet6_uadt()
Dip_set_hash_netport.c133 hash_netport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport4_kadt()
158 hash_netport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport4_uadt()
353 hash_netport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport6_kadt()
378 hash_netport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport6_uadt()
Dip_set_hash_ipportnet.c138 hash_ipportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet4_kadt()
164 hash_ipportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet4_uadt()
394 hash_ipportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet6_kadt()
420 hash_ipportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet6_uadt()
Dip_set_hash_netportnet.c146 hash_netportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet4_kadt()
173 hash_netportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet4_uadt()
422 hash_netportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet6_kadt()
449 hash_netportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet6_uadt()
Dip_set_hash_netiface.c214 hash_netiface4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface4_kadt()
269 hash_netiface4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface4_uadt()
455 hash_netiface6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface6_kadt()
506 hash_netiface6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface6_uadt()
/net/netfilter/
Dnft_rbtree.c34 static bool nft_rbtree_lookup(const struct nft_set *set, in nft_rbtree_lookup()
74 static void nft_rbtree_elem_destroy(const struct nft_set *set, in nft_rbtree_elem_destroy()
85 static int __nft_rbtree_insert(const struct nft_set *set, in __nft_rbtree_insert()
111 static int nft_rbtree_insert(const struct nft_set *set, in nft_rbtree_insert()
142 static void nft_rbtree_remove(const struct nft_set *set, in nft_rbtree_remove()
154 static int nft_rbtree_get(const struct nft_set *set, struct nft_set_elem *elem) in nft_rbtree_get()
185 const struct nft_set *set, in nft_rbtree_walk()
221 static int nft_rbtree_init(const struct nft_set *set, in nft_rbtree_init()
231 static void nft_rbtree_destroy(const struct nft_set *set) in nft_rbtree_destroy()
Dnft_hash.c32 static bool nft_hash_lookup(const struct nft_set *set, in nft_hash_lookup()
46 static int nft_hash_insert(const struct nft_set *set, in nft_hash_insert()
73 static void nft_hash_elem_destroy(const struct nft_set *set, in nft_hash_elem_destroy()
82 static void nft_hash_remove(const struct nft_set *set, in nft_hash_remove()
97 static int nft_hash_get(const struct nft_set *set, struct nft_set_elem *elem) in nft_hash_get()
122 static void nft_hash_walk(const struct nft_ctx *ctx, const struct nft_set *set, in nft_hash_walk()
161 static int nft_hash_init(const struct nft_set *set, in nft_hash_init()
180 static void nft_hash_destroy(const struct nft_set *set) in nft_hash_destroy()
Dnft_lookup.c22 struct nft_set *set; member
33 const struct nft_set *set = priv->set; in nft_lookup_eval() local
51 struct nft_set *set; in nft_lookup_init() local
Dnf_tables_api.c295 struct nft_set *set) in nft_trans_set_add()
314 static int nft_delset(struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
714 struct nft_set *set, *ns; in nft_flush_table() local
2244 struct nft_set *set; in nf_tables_set_lookup() local
2270 static int nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set, in nf_tables_set_alloc_name()
2316 const struct nft_set *set, u16 event, u16 flags) in nf_tables_fill_set()
2375 const struct nft_set *set, in nf_tables_set_notify()
2407 const struct nft_set *set; in nf_tables_dump_sets() local
2481 const struct nft_set *set; in nf_tables_getset() local
2560 struct nft_set *set; in nf_tables_newset() local
[all …]
/net/sched/
Dem_ipset.c25 struct xt_set_info *set = data; in em_ipset_change() local
46 const struct xt_set_info *set = (const void *) em->data; in em_ipset_destroy() local
58 const struct xt_set_info *set = (const void *) em->data; in em_ipset_match() local
/net/netfilter/ipvs/
Dip_vs_lblcr.c103 static void ip_vs_dest_set_insert(struct ip_vs_dest_set *set, in ip_vs_dest_set_insert()
138 ip_vs_dest_set_erase(struct ip_vs_dest_set *set, struct ip_vs_dest *dest) in ip_vs_dest_set_erase()
154 static void ip_vs_dest_set_eraseall(struct ip_vs_dest_set *set) in ip_vs_dest_set_eraseall()
165 static inline struct ip_vs_dest *ip_vs_dest_set_min(struct ip_vs_dest_set *set) in ip_vs_dest_set_min()
214 static inline struct ip_vs_dest *ip_vs_dest_set_max(struct ip_vs_dest_set *set) in ip_vs_dest_set_max()
266 struct ip_vs_dest_set set; /* destination server set */ member
/net/
Dsysctl_net.c35 static int is_seen(struct ctl_table_set *set) in is_seen()

12