Lines Matching defs:net

118 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net,  in __xfrm_dst_lookup()
144 struct net *net = xs_net(x); in xfrm_dst_lookup() local
282 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
349 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
355 static void __get_hash_thresh(struct net *net, in __get_hash_thresh()
376 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
393 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
409 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer()
466 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
491 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize()
516 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
531 static inline int xfrm_byidx_should_resize(struct net *net, int total) in xfrm_byidx_should_resize()
542 void xfrm_spd_getinfo(struct net *net, struct xfrmk_spdinfo *si) in xfrm_spd_getinfo()
560 struct net *net = container_of(work, struct net, xfrm.policy_hash_work); in xfrm_hash_resize() local
578 struct net *net = container_of(work, struct net, in xfrm_hash_rebuild() local
650 void xfrm_policy_hash_rebuild(struct net *net) in xfrm_policy_hash_rebuild()
658 static u32 xfrm_gen_index(struct net *net, int dir, u32 index) in xfrm_gen_index()
750 struct net *net = xp_net(policy); in xfrm_policy_insert() local
814 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, u8 type, in xfrm_policy_bysel_ctx()
853 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8 type, in xfrm_policy_byid()
894 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check()
932 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check()
938 int xfrm_policy_flush(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush()
997 int xfrm_policy_walk(struct net *net, struct xfrm_policy_walk *walk, in xfrm_policy_walk()
1054 void xfrm_policy_walk_done(struct xfrm_policy_walk *walk, struct net *net) in xfrm_policy_walk_done()
1091 static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type, in xfrm_policy_lookup_bytype()
1151 __xfrm_policy_lookup(struct net *net, const struct flowi *fl, u16 family, u8 dir) in __xfrm_policy_lookup()
1182 xfrm_policy_lookup(struct net *net, const struct flowi *fl, u16 family, in xfrm_policy_lookup()
1222 struct net *net = sock_net(sk); in xfrm_sk_policy_lookup() local
1257 struct net *net = xp_net(pol); in __xfrm_policy_link() local
1267 struct net *net = xp_net(pol); in __xfrm_policy_unlink() local
1296 struct net *net = xp_net(pol); in xfrm_policy_delete() local
1311 struct net *net = xp_net(pol); in xfrm_sk_policy_insert() local
1348 struct net *net = xp_net(old); in clone_policy() local
1398 xfrm_get_saddr(struct net *net, int oif, xfrm_address_t *local, in xfrm_get_saddr()
1417 struct net *net = xp_net(policy); in xfrm_tmpl_resolve_one() local
1578 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
1658 struct net *net = xp_net(policy); in xfrm_bundle_create() local
1865 struct net *net = xp_net(pols[0]); in xfrm_resolve_and_create_bundle() local
1910 struct net *net = xp_net(pol); in xfrm_policy_queue_process() local
1980 static int xdst_queue_output(struct net *net, struct sock *sk, struct sk_buff *skb) in xdst_queue_output()
2022 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
2082 xfrm_bundle_lookup(struct net *net, const struct flowi *fl, u16 family, u8 dir, in xfrm_bundle_lookup()
2183 static struct dst_entry *make_blackhole(struct net *net, u16 family, in make_blackhole()
2205 struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig, in xfrm_lookup()
2354 struct dst_entry *xfrm_lookup_route(struct net *net, struct dst_entry *dst_orig, in xfrm_lookup_route()
2465 struct net *net = dev_net(skb->dev); in __xfrm_policy_check() local
2623 struct net *net = dev_net(skb->dev); in __xfrm_route_forward() local
2707 void xfrm_garbage_collect(struct net *net) in xfrm_garbage_collect()
2713 static void xfrm_garbage_collect_deferred(struct net *net) in xfrm_garbage_collect_deferred()
2910 static int __net_init xfrm_statistics_init(struct net *net) in xfrm_statistics_init()
2922 static void xfrm_statistics_fini(struct net *net) in xfrm_statistics_fini()
2928 static int __net_init xfrm_statistics_init(struct net *net) in xfrm_statistics_init()
2933 static void xfrm_statistics_fini(struct net *net) in xfrm_statistics_fini()
2938 static int __net_init xfrm_policy_init(struct net *net) in xfrm_policy_init()
3000 static void xfrm_policy_fini(struct net *net) in xfrm_policy_fini()
3029 static int __net_init xfrm_net_init(struct net *net) in xfrm_net_init()
3068 static void __net_exit xfrm_net_exit(struct net *net) in xfrm_net_exit()
3176 u8 dir, u8 type, struct net *net) in xfrm_migrate_policy_find()
3317 struct xfrm_kmaddress *k, struct net *net) in xfrm_migrate()