| H A D | xfrm_policy.c | 33 #include <net/dst.h> 34 #include <net/flow.h> 35 #include <net/inet_ecn.h> 36 #include <net/xfrm.h> 37 #include <net/ip.h> 38 #include <net/gre.h> 40 #include <net/mip6.h> 43 #include <net/snmp.h> 46 #include <net/espintcp.h> 48 #include <net/inet_dsc 121 possible_net_t net; global() member 298 struct net *net = xs_net(x); xfrm_dst_lookup() local 428 xfrm_policy_alloc(struct net * net,gfp_t gfp) xfrm_policy_alloc() argument 479 struct net *net = xp_net(policy); xfrm_policy_kill() local 509 idx_hash(struct net * net,u32 index) idx_hash() argument 515 __get_hash_thresh(struct net * net,unsigned short family,int dir,u8 * dbits,u8 * sbits) __get_hash_thresh() argument 536 policy_hash_bysel(struct net * net,const struct xfrm_selector * sel,unsigned short family,int dir) policy_hash_bysel() argument 555 policy_hash_direct(struct net * net,const xfrm_address_t * daddr,const xfrm_address_t * saddr,unsigned short family,int dir) policy_hash_direct() argument 572 xfrm_dst_hash_transfer(struct net * net,struct hlist_head * list,struct hlist_head * ndsttable,unsigned int nhashmask,int dir) xfrm_dst_hash_transfer() argument 629 xfrm_bydst_resize(struct net * net,int dir) xfrm_bydst_resize() argument 661 xfrm_byidx_resize(struct net * net) xfrm_byidx_resize() argument 686 xfrm_bydst_should_resize(struct net * net,int dir,int * total) xfrm_bydst_should_resize() argument 701 xfrm_byidx_should_resize(struct net * net,int total) xfrm_byidx_should_resize() argument 712 xfrm_spd_getinfo(struct net * net,struct xfrmk_spdinfo * si) xfrm_spd_getinfo() argument 728 struct net *net = container_of(work, struct net, xfrm.policy_hash_work); xfrm_hash_resize() local 758 struct net *net = xp_net(pol); xfrm_policy_inexact_alloc_bin() local 892 xfrm_policy_inexact_list_reinsert(struct net * net,struct xfrm_pol_inexact_node * n,u16 family) xfrm_policy_inexact_list_reinsert() argument 955 xfrm_policy_inexact_node_reinsert(struct net * net,struct xfrm_pol_inexact_node * n,struct rb_root * new,u16 family) xfrm_policy_inexact_node_reinsert() argument 1013 xfrm_policy_inexact_node_merge(struct net * net,struct xfrm_pol_inexact_node * v,struct xfrm_pol_inexact_node * n,u16 family) xfrm_policy_inexact_node_merge() argument 1042 xfrm_policy_inexact_insert_node(struct net * net,struct rb_root * root,xfrm_address_t * addr,u16 family,u8 prefixlen,u8 dir) xfrm_policy_inexact_insert_node() argument 1161 struct net *net = read_pnet(&b->k.net); xfrm_policy_inexact_prune_bin() local 1168 __xfrm_policy_inexact_flush(struct net * net) __xfrm_policy_inexact_flush() argument 1183 struct net *net; xfrm_policy_inexact_alloc_chain() local 1244 struct net *net; xfrm_policy_inexact_insert() local 1284 struct net *net = container_of(work, struct net, xfrm_hash_rebuild() local 1405 xfrm_policy_hash_rebuild(struct net * net) xfrm_policy_hash_rebuild() argument 1413 xfrm_gen_index(struct net * net,int dir,u32 index) xfrm_gen_index() argument 1580 struct net *net = xp_net(policy); xfrm_policy_insert() local 1651 xfrm_policy_bysel_ctx(struct net * net,const struct xfrm_mark * mark,u32 if_id,u8 type,int dir,struct xfrm_selector * sel,struct xfrm_sec_ctx * ctx,int delete,int * err) xfrm_policy_bysel_ctx() argument 1721 xfrm_policy_byid(struct net * net,const struct xfrm_mark * mark,u32 if_id,u8 type,int dir,u32 id,int delete,int * err) xfrm_policy_byid() argument 1762 xfrm_policy_flush_secctx_check(struct net * net,u8 type,bool task_valid) xfrm_policy_flush_secctx_check() argument 1782 xfrm_dev_policy_flush_secctx_check(struct net * net,struct net_device * dev,bool task_valid) xfrm_dev_policy_flush_secctx_check() argument 1805 xfrm_policy_flush_secctx_check(struct net * net,u8 type,bool task_valid) xfrm_policy_flush_secctx_check() argument 1810 xfrm_dev_policy_flush_secctx_check(struct net * net,struct net_device * dev,bool task_valid) xfrm_dev_policy_flush_secctx_check() argument 1818 xfrm_policy_flush(struct net * net,u8 type,bool task_valid) xfrm_policy_flush() argument 1857 xfrm_dev_policy_flush(struct net * net,struct net_device * dev,bool task_valid) xfrm_dev_policy_flush() argument 1897 xfrm_policy_walk(struct net * net,struct xfrm_policy_walk * walk,int (* func)(struct xfrm_policy *,int,int,void *),void * data) xfrm_policy_walk() argument 1954 xfrm_policy_walk_done(struct xfrm_policy_walk * walk,struct net * net) xfrm_policy_walk_done() argument 2062 xfrm_policy_inexact_lookup_rcu(struct net * net,u8 type,u16 family,u8 dir,u32 if_id) xfrm_policy_inexact_lookup_rcu() argument 2079 xfrm_policy_inexact_lookup(struct net * net,u8 type,u16 family,u8 dir,u32 if_id) xfrm_policy_inexact_lookup() argument 2156 xfrm_policy_lookup_bytype(struct net * net,u8 type,const struct flowi * fl,u16 family,u8 dir,u32 if_id) xfrm_policy_lookup_bytype() argument 2224 xfrm_policy_lookup(struct net * net,const struct flowi * fl,u16 family,u8 dir,u32 if_id) xfrm_policy_lookup() argument 2283 xfrm_gen_pos_slow(struct net * net) xfrm_gen_pos_slow() argument 2297 xfrm_gen_pos(struct net * net) xfrm_gen_pos() argument 2319 struct net *net = xp_net(pol); __xfrm_policy_link() local 2337 struct net *net = xp_net(pol); __xfrm_policy_unlink() local 2366 struct net *net = xp_net(pol); xfrm_policy_delete() local 2381 struct net *net = sock_net(sk); xfrm_sk_policy_insert() local 2418 struct net *net = xp_net(old); clone_policy() local 2489 struct net *net = xp_net(policy); xfrm_tmpl_resolve_one() local 2602 xfrm_alloc_dst(struct net * net,int family) xfrm_alloc_dst() argument 2675 struct net *net = xp_net(policy); xfrm_bundle_create() local 2863 struct net *net = xp_net(pols[0]); xfrm_resolve_and_create_bundle() local 2902 struct net *net = xp_net(pol); xfrm_policy_queue_process() local 2983 xdst_queue_output(struct net * net,struct sock * sk,struct sk_buff * skb) xdst_queue_output() argument 3025 xfrm_create_dummy_bundle(struct net * net,struct xfrm_flo * xflo,const struct flowi * fl,int num_xfrms,u16 family) xfrm_create_dummy_bundle() argument 3084 xfrm_bundle_lookup(struct net * net,const struct flowi * fl,u16 family,u8 dir,struct xfrm_flo * xflo,u32 if_id) xfrm_bundle_lookup() argument 3147 make_blackhole(struct net * net,u16 family,struct dst_entry * dst_orig) make_blackhole() argument 3172 xfrm_lookup_with_ifid(struct net * net,struct dst_entry * dst_orig,const struct flowi * fl,const struct sock * sk,int flags,u32 if_id) xfrm_lookup_with_ifid() argument 3332 xfrm_lookup(struct net * net,struct dst_entry * dst_orig,const struct flowi * fl,const struct sock * sk,int flags) xfrm_lookup() argument 3343 xfrm_lookup_route(struct net * net,struct dst_entry * dst_orig,const struct flowi * fl,const struct sock * sk,int flags) xfrm_lookup_route() argument 3502 __xfrm_decode_session(struct net * net,struct sk_buff * skb,struct flowi * fl,unsigned int family,int reverse) __xfrm_decode_session() argument 3633 struct net *net = dev_net(skb->dev); xfrm_in_fwd_icmp() local 3651 struct net *net = dev_net(skb->dev); xfrm_out_fwd_icmp() local 3679 struct net *net = dev_net(skb->dev); __xfrm_policy_check() local 3880 struct net *net = dev_net(skb->dev); __xfrm_route_forward() local 4190 xfrm_statistics_init(struct net * net) xfrm_statistics_init() argument 4202 xfrm_statistics_fini(struct net * net) xfrm_statistics_fini() argument 4208 xfrm_statistics_init(struct net * net) xfrm_statistics_init() argument 4213 xfrm_statistics_fini(struct net * net) xfrm_statistics_fini() argument 4218 xfrm_policy_init(struct net * net) xfrm_policy_init() argument 4279 xfrm_net_pre_exit(struct net * net) xfrm_net_pre_exit() argument 4289 xfrm_policy_fini(struct net * net) xfrm_policy_fini() argument 4316 xfrm_net_init(struct net * net) xfrm_net_init() argument 4360 xfrm_net_exit(struct net * net) xfrm_net_exit() argument 4495 xfrm_migrate_policy_find(const struct xfrm_selector * sel,u8 dir,u8 type,struct net * net,u32 if_id) xfrm_migrate_policy_find() argument 4649 xfrm_migrate(const struct xfrm_selector * sel,u8 dir,u8 type,struct xfrm_migrate * m,int num_migrate,struct xfrm_kmaddress * k,struct net * net,struct xfrm_encap_tmpl * encap,u32 if_id,struct netlink_ext_ack * extack,struct xfrm_user_offload * xuo) xfrm_migrate() argument [all...] |