/net/netfilter/ipset/ |
D | ip_set_list_set.c | 29 struct ip_set *set; /* Sigh, in order to cleanup reference */ member 43 struct ip_set *set; /* attached to this ip_set */ member 49 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest() 74 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd() 94 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel() 114 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt() 146 struct ip_set *set = e->set; in __list_set_del_rcu() local 153 list_set_del(struct ip_set *set, struct set_elem *e) in list_set_del() 164 list_set_replace(struct ip_set *set, struct set_elem *e, struct set_elem *old) in list_set_replace() 174 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries() [all …]
|
D | ip_set_bitmap_gen.h | 33 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument 36 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) in mtype_gc_init() 45 mtype_ext_cleanup(struct ip_set *set) in mtype_ext_cleanup() 56 mtype_destroy(struct ip_set *set) in mtype_destroy() 72 mtype_flush(struct ip_set *set) in mtype_flush() 92 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() 130 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() 175 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del() 203 mtype_list(const struct ip_set *set, in mtype_list() [all …]
|
D | ip_set_core.c | 370 ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], size_t len, in ip_set_elem_len() 395 ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], in ip_set_get_extensions() 452 ip_set_put_extensions(struct sk_buff *skb, const struct ip_set *set, in ip_set_put_extensions() 477 ip_set_match_extensions(struct ip_set *set, const struct ip_set_ext *ext, in ip_set_match_extensions() 512 __ip_set_get(struct ip_set *set) in __ip_set_get() 520 __ip_set_put(struct ip_set *set) in __ip_set_put() 532 __ip_set_put_netlink(struct ip_set *set) in __ip_set_put_netlink() 549 struct ip_set *set; in ip_set_rcu_get() local 564 struct ip_set *set = ip_set_rcu_get(xt_net(par), index); in ip_set_test() local 602 struct ip_set *set = ip_set_rcu_get(xt_net(par), index); in ip_set_add() local [all …]
|
D | ip_set_hash_gen.h | 13 #define ipset_dereference_protected(p, set) \ argument 279 struct ip_set *set; /* attached to this ip_set */ member 356 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup() 367 mtype_flush(struct ip_set *set) in mtype_flush() 394 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy() 414 mtype_destroy(struct ip_set *set) in mtype_destroy() 429 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) in mtype_gc_init() 459 mtype_expire(struct ip_set *set, struct htype *h) in mtype_expire() 529 struct ip_set *set = h->set; in mtype_gc() local 545 mtype_resize(struct ip_set *set, bool retried) in mtype_resize() [all …]
|
D | ip_set_bitmap_port.c | 39 struct ip_set *set; /* attached to this ip_set */ member 100 bitmap_port_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_port_kadt() 126 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt() 204 init_map_port(struct ip_set *set, struct bitmap_port *map, in init_map_port() 222 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
|
D | ip_set_bitmap_ipmac.c | 51 struct ip_set *set; /* attached to this ip_set */ member 118 const struct ip_set_ext *ext, struct ip_set *set, in bitmap_ipmac_add_timeout() 208 bitmap_ipmac_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ipmac_kadt() 241 bitmap_ipmac_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_uadt() 299 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac() 318 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_create()
|
D | ip_set_bitmap_ip.c | 48 struct ip_set *set; /* attached to this ip_set */ member 110 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() 219 init_map_ip(struct ip_set *set, struct bitmap_ip *map, in init_map_ip() 241 bitmap_ip_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ip_create()
|
D | ip_set_hash_ipmac.c | 84 hash_ipmac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmac4_kadt() 110 hash_ipmac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmac4_uadt() 197 hash_ipmac6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmac6_kadt() 226 hash_ipmac6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmac6_uadt()
|
D | ip_set_hash_ip.c | 77 hash_ip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip4_kadt() 97 hash_ip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip4_uadt() 214 hash_ip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip6_kadt() 232 hash_ip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip6_uadt()
|
D | ip_set_hash_ipmark.c | 79 hash_ipmark4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark4_kadt() 96 hash_ipmark4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark4_uadt() 205 hash_ipmark6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark6_kadt() 222 hash_ipmark6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark6_uadt()
|
D | ip_set_hash_ipport.c | 87 hash_ipport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport4_kadt() 104 hash_ipport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport4_uadt() 245 hash_ipport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport6_kadt() 262 hash_ipport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport6_uadt()
|
D | ip_set_hash_ipportip.c | 89 hash_ipportip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip4_kadt() 107 hash_ipportip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip4_uadt() 255 hash_ipportip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip6_kadt() 273 hash_ipportip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip6_uadt()
|
D | ip_set_hash_net.c | 112 hash_net4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net4_kadt() 135 hash_net4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net4_uadt() 280 hash_net6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net6_kadt() 303 hash_net6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net6_uadt()
|
D | ip_set_hash_mac.c | 72 hash_mac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_mac4_kadt() 95 hash_mac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_mac4_uadt()
|
D | ip_set_hash_netport.c | 128 hash_netport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport4_kadt() 153 hash_netport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport4_uadt() 344 hash_netport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport6_kadt() 369 hash_netport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport6_uadt()
|
D | ip_set_hash_ipportnet.c | 133 hash_ipportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet4_kadt() 159 hash_ipportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet4_uadt() 384 hash_ipportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet6_kadt() 410 hash_ipportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet6_uadt()
|
/net/netfilter/ |
D | nft_set_hash.c | 35 const struct nft_set *set; member 77 static bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup() 95 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get() 113 static bool nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update() 158 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert() 182 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate() 192 const struct nft_set *set, void *priv) in nft_rhash_flush() 205 const struct nft_set *set, in nft_rhash_deactivate() 228 const struct nft_set *set, in nft_rhash_remove() 237 static bool nft_rhash_delete(const struct nft_set *set, in nft_rhash_delete() [all …]
|
D | nft_set_rbtree.c | 36 static bool nft_rbtree_equal(const struct nft_set *set, const void *this, in nft_rbtree_equal() 42 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup() 100 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup() 119 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get() 179 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get() 203 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert() 245 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert() 263 const struct nft_set *set, in nft_rbtree_remove() 277 const struct nft_set *set, in nft_rbtree_activate() 287 const struct nft_set *set, void *priv) in nft_rbtree_flush() [all …]
|
D | nft_set_bitmap.c | 51 static inline void nft_bitmap_location(const struct nft_set *set, in nft_bitmap_location() 76 static bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup() 89 nft_bitmap_elem_find(const struct nft_set *set, struct nft_bitmap_elem *this, in nft_bitmap_elem_find() 106 static void *nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get() 123 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert() 147 const struct nft_set *set, in nft_bitmap_remove() 162 const struct nft_set *set, in nft_bitmap_activate() 177 const struct nft_set *set, void *_be) in nft_bitmap_flush() 193 const struct nft_set *set, in nft_bitmap_deactivate() 215 struct nft_set *set, in nft_bitmap_walk() [all …]
|
D | nft_lookup.c | 19 struct nft_set *set; member 31 const struct nft_set *set = priv->set; in nft_lookup_eval() local 63 struct nft_set *set; in nft_lookup_init() local 164 struct nft_set *set, in nft_lookup_validate_setelem()
|
D | nft_dynset.c | 16 struct nft_set *set; member 44 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new() 82 struct nft_set *set = priv->set; in nft_dynset_eval() local 134 struct nft_set *set; in nft_dynset_init() local
|
D | nf_tables_api.c | 134 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind() 347 struct nft_set *set) in nft_trans_set_add() 366 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 978 struct nft_set *set, *ns; in nft_flush_table() local 3155 struct nft_set *set; in nft_set_lookup() local 3172 struct nft_set *set; in nft_set_lookup_byhandle() local 3190 struct nft_set *set = nft_trans_set(trans); in nft_set_lookup_byid() local 3206 struct nft_set *set; in nft_set_lookup_global() local 3219 static int nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set, in nf_tables_set_alloc_name() 3293 const struct nft_set *set, u16 event, u16 flags) in nf_tables_fill_set() [all …]
|
D | nft_objref.c | 97 struct nft_set *set; member 107 const struct nft_set *set = priv->set; in nft_objref_map_eval() local 128 struct nft_set *set; in nft_objref_map_init() local
|
/net/sched/ |
D | em_ipset.c | 22 struct xt_set_info *set = data; in em_ipset_change() local 43 const struct xt_set_info *set = (const void *) em->data; in em_ipset_destroy() local 55 const struct xt_set_info *set = (const void *) em->data; in em_ipset_match() local
|
/net/netfilter/ipvs/ |
D | ip_vs_lblcr.c | 99 static void ip_vs_dest_set_insert(struct ip_vs_dest_set *set, in ip_vs_dest_set_insert() 134 ip_vs_dest_set_erase(struct ip_vs_dest_set *set, struct ip_vs_dest *dest) in ip_vs_dest_set_erase() 150 static void ip_vs_dest_set_eraseall(struct ip_vs_dest_set *set) in ip_vs_dest_set_eraseall() 161 static inline struct ip_vs_dest *ip_vs_dest_set_min(struct ip_vs_dest_set *set) in ip_vs_dest_set_min() 210 static inline struct ip_vs_dest *ip_vs_dest_set_max(struct ip_vs_dest_set *set) in ip_vs_dest_set_max() 262 struct ip_vs_dest_set set; /* destination server set */ member
|