/net/xfrm/ |
D | xfrm_state.c | 52 static inline bool xfrm_state_hold_rcu(struct xfrm_state __rcu *x) in xfrm_state_hold_rcu() 88 struct xfrm_state *x; in xfrm_hash_transfer() 175 int __xfrm_state_delete(struct xfrm_state *x); 177 int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol); 179 void km_state_expired(struct xfrm_state *x, int hard, u32 portid); 473 void xfrm_state_free(struct xfrm_state *x) in xfrm_state_free() 479 static void ___xfrm_state_destroy(struct xfrm_state *x) in ___xfrm_state_destroy() 506 struct xfrm_state *x; in xfrm_state_gc_task() 522 struct xfrm_state *x = container_of(me, struct xfrm_state, mtimer); in xfrm_timer_handler() 610 struct xfrm_state *xfrm_state_alloc(struct net *net) in xfrm_state_alloc() [all …]
|
D | xfrm_replay.c | 12 u32 xfrm_replay_seqhi(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_seqhi() 38 static void xfrm_replay_notify(struct xfrm_state *x, int event) in xfrm_replay_notify() 84 static int xfrm_replay_overflow(struct xfrm_state *x, struct sk_buff *skb) in xfrm_replay_overflow() 107 static int xfrm_replay_check(struct xfrm_state *x, in xfrm_replay_check() 139 static void xfrm_replay_advance(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance() 163 static int xfrm_replay_overflow_bmp(struct xfrm_state *x, struct sk_buff *skb) in xfrm_replay_overflow_bmp() 187 static int xfrm_replay_check_bmp(struct xfrm_state *x, in xfrm_replay_check_bmp() 231 static void xfrm_replay_advance_bmp(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance_bmp() 279 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event) in xfrm_replay_notify_bmp() 330 static void xfrm_replay_notify_esn(struct xfrm_state *x, int event) in xfrm_replay_notify_esn() [all …]
|
D | xfrm_output.c | 28 static int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb); 64 static int xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_output() 85 static int xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_output() 116 static int xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_ro_output() 148 static int xfrm4_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_beet_encap_add() 197 static int xfrm4_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_tunnel_encap_add() 242 static int xfrm6_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_tunnel_encap_add() 277 static int xfrm6_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_beet_encap_add() 328 static int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_prepare_output() 350 static int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_prepare_output() [all …]
|
D | xfrm_ipcomp.c | 38 static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_decompress() 106 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_input() 134 static int ipcomp_compress(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_compress() 167 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_output() 325 void ipcomp_destroy(struct xfrm_state *x) in ipcomp_destroy() 338 int ipcomp_init_state(struct xfrm_state *x) in ipcomp_init_state()
|
D | xfrm_device.c | 22 static void __xfrm_transport_prep(struct xfrm_state *x, struct sk_buff *skb, in __xfrm_transport_prep() 34 static void __xfrm_mode_tunnel_prep(struct xfrm_state *x, struct sk_buff *skb, in __xfrm_mode_tunnel_prep() 47 static void __xfrm_mode_beet_prep(struct xfrm_state *x, struct sk_buff *skb, in __xfrm_mode_beet_prep() 67 static void xfrm_outer_mode_prep(struct xfrm_state *x, struct sk_buff *skb) in xfrm_outer_mode_prep() 116 struct xfrm_state *x; in validate_xmit_xfrm() 222 int xfrm_dev_state_add(struct net *net, struct xfrm_state *x, in xfrm_dev_state_add() 299 bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x) in xfrm_dev_offload_ok()
|
D | xfrm_input.c | 175 static int xfrm4_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_beet_encap() 229 static int xfrm4_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_tunnel_encap() 267 static int xfrm6_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_tunnel_encap() 296 static int xfrm6_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_beet_encap() 332 xfrm_inner_mode_encap_remove(struct xfrm_state *x, in xfrm_inner_mode_encap_remove() 355 static int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm_prepare_input() 400 static int xfrm4_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_input() 414 static int xfrm6_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_input() 434 static int xfrm_inner_mode_input(struct xfrm_state *x, in xfrm_inner_mode_input() 467 struct xfrm_state *x = NULL; in xfrm_input()
|
D | xfrm_user.c | 315 static int attach_crypt(struct xfrm_state *x, struct nlattr *rta) in attach_crypt() 400 static int attach_aead(struct xfrm_state *x, struct nlattr *rta) in attach_aead() 494 static void copy_from_user_state(struct xfrm_state *x, struct xfrm_usersa_info *p) in copy_from_user_state() 516 static void xfrm_update_ae_params(struct xfrm_state *x, struct nlattr **attrs, in xfrm_update_ae_params() 570 static struct xfrm_state *xfrm_state_construct(struct net *net, in xfrm_state_construct() 575 struct xfrm_state *x = xfrm_state_alloc(net); in xfrm_state_construct() 676 struct xfrm_state *x; in xfrm_add_sa() 716 static struct xfrm_state *xfrm_user_state_lookup(struct net *net, in xfrm_user_state_lookup() 721 struct xfrm_state *x = NULL; in xfrm_user_state_lookup() 754 struct xfrm_state *x; in xfrm_del_sa() [all …]
|
D | Makefile | 8 obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \
|
D | xfrm_interface_core.c | 69 static struct xfrm_if *xfrmi_lookup(struct net *net, struct xfrm_state *x) in xfrmi_lookup() 260 struct xfrm_state *x; in xfrmi_rcv_cb() 316 struct xfrm_state *x; in xfrmi_xmit2() 463 struct xfrm_state *x; in xfrmi4_err() 523 struct xfrm_state *x; in xfrmi6_err()
|
/net/ipv4/ |
D | ipcomp.c | 28 struct xfrm_state *x; in ipcomp4_err() 56 static struct xfrm_state *ipcomp_tunnel_create(struct xfrm_state *x) in ipcomp_tunnel_create() 59 struct xfrm_state *t; in ipcomp_tunnel_create() 95 static int ipcomp_tunnel_attach(struct xfrm_state *x) in ipcomp_tunnel_attach() 99 struct xfrm_state *t; in ipcomp_tunnel_attach() 119 static int ipcomp4_init_state(struct xfrm_state *x) in ipcomp4_init_state()
|
D | esp4.c | 98 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() 136 static struct sock *esp_find_tcp_sk(struct xfrm_state *x) in esp_find_tcp_sk() 192 static int esp_output_tcp_finish(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tcp_finish() 220 struct xfrm_state *x = dst->xfrm; in esp_output_tcp_encap_cb() 225 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 240 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 253 struct xfrm_state *x; in esp_output_done() 307 struct xfrm_state *x, in esp_output_set_extra() 376 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap() 402 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap() [all …]
|
D | esp4_offload.c | 33 struct xfrm_state *x; in esp4_gro_receive() 92 static void esp4_gso_encap(struct xfrm_state *x, struct sk_buff *skb) in esp4_gso_encap() 109 static struct sk_buff *xfrm4_tunnel_gso_segment(struct xfrm_state *x, in xfrm4_tunnel_gso_segment() 117 static struct sk_buff *xfrm4_transport_gso_segment(struct xfrm_state *x, in xfrm4_transport_gso_segment() 133 static struct sk_buff *xfrm4_beet_gso_segment(struct xfrm_state *x, in xfrm4_beet_gso_segment() 174 static struct sk_buff *xfrm4_outer_mode_gso_segment(struct xfrm_state *x, in xfrm4_outer_mode_gso_segment() 193 struct xfrm_state *x; in esp4_gso_segment() 235 static int esp_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp_input_tail() 249 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
|
D | xfrm4_tunnel.c | 16 static int ipip_output(struct xfrm_state *x, struct sk_buff *skb) in ipip_output() 22 static int ipip_xfrm_rcv(struct xfrm_state *x, struct sk_buff *skb) in ipip_xfrm_rcv() 27 static int ipip_init_state(struct xfrm_state *x) in ipip_init_state() 40 static void ipip_destroy(struct xfrm_state *x) in ipip_destroy()
|
D | ah4.c | 125 struct xfrm_state *x = skb_dst(skb)->xfrm; in ah_output_done() 147 static int ah_output(struct xfrm_state *x, struct sk_buff *skb) in ah_output() 271 struct xfrm_state *x = xfrm_input_state(skb); in ah_input_done() 303 static int ah_input(struct xfrm_state *x, struct sk_buff *skb) in ah_input() 447 struct xfrm_state *x; in ah4_err() 473 static int ah_init_state(struct xfrm_state *x) in ah_init_state() 539 static void ah_destroy(struct xfrm_state *x) in ah_destroy()
|
D | xfrm4_output.c | 20 struct xfrm_state *x = skb_dst(skb)->xfrm; in __xfrm4_output()
|
D | ip_vti.c | 98 struct xfrm_state *x; in vti_rcv_cb() 145 static bool vti_state_check(const struct xfrm_state *x, __be32 dst, __be32 src) in vti_state_check() 314 struct xfrm_state *x; in vti4_err()
|
/net/ipv6/ |
D | ipcomp6.c | 52 struct xfrm_state *x; in ipcomp6_err() 74 static struct xfrm_state *ipcomp6_tunnel_create(struct xfrm_state *x) in ipcomp6_tunnel_create() 77 struct xfrm_state *t = NULL; in ipcomp6_tunnel_create() 111 static int ipcomp6_tunnel_attach(struct xfrm_state *x) in ipcomp6_tunnel_attach() 115 struct xfrm_state *t = NULL; in ipcomp6_tunnel_attach() 139 static int ipcomp6_init_state(struct xfrm_state *x) in ipcomp6_init_state()
|
D | mip6.c | 119 static int mip6_destopt_input(struct xfrm_state *x, struct sk_buff *skb) in mip6_destopt_input() 138 static int mip6_destopt_output(struct xfrm_state *x, struct sk_buff *skb) in mip6_destopt_output() 196 static int mip6_destopt_reject(struct xfrm_state *x, struct sk_buff *skb, in mip6_destopt_reject() 250 static int mip6_destopt_offset(struct xfrm_state *x, struct sk_buff *skb, in mip6_destopt_offset() 298 static int mip6_destopt_init_state(struct xfrm_state *x) in mip6_destopt_init_state() 322 static void mip6_destopt_destroy(struct xfrm_state *x) in mip6_destopt_destroy() 339 static int mip6_rthdr_input(struct xfrm_state *x, struct sk_buff *skb) in mip6_rthdr_input() 357 static int mip6_rthdr_output(struct xfrm_state *x, struct sk_buff *skb) in mip6_rthdr_output() 386 static int mip6_rthdr_offset(struct xfrm_state *x, struct sk_buff *skb, in mip6_rthdr_offset() 433 static int mip6_rthdr_init_state(struct xfrm_state *x) in mip6_rthdr_init_state() [all …]
|
D | esp6.c | 115 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() 152 static struct sock *esp6_find_tcp_sk(struct xfrm_state *x) in esp6_find_tcp_sk() 208 static int esp_output_tcp_finish(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tcp_finish() 236 struct xfrm_state *x = dst->xfrm; in esp_output_tcp_encap_cb() 241 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 256 static int esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) in esp_output_tail_tcp() 286 struct xfrm_state *x; in esp_output_done() 342 struct xfrm_state *x, in esp_output_set_esn() 411 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_encap() 437 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_encap() [all …]
|
D | esp6_offload.c | 54 struct xfrm_state *x; in esp6_gro_receive() 119 static void esp6_gso_encap(struct xfrm_state *x, struct sk_buff *skb) in esp6_gso_encap() 143 static struct sk_buff *xfrm6_tunnel_gso_segment(struct xfrm_state *x, in xfrm6_tunnel_gso_segment() 151 static struct sk_buff *xfrm6_transport_gso_segment(struct xfrm_state *x, in xfrm6_transport_gso_segment() 167 static struct sk_buff *xfrm6_beet_gso_segment(struct xfrm_state *x, in xfrm6_beet_gso_segment() 212 static struct sk_buff *xfrm6_outer_mode_gso_segment(struct xfrm_state *x, in xfrm6_outer_mode_gso_segment() 231 struct xfrm_state *x; in esp6_gso_segment() 271 static int esp6_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp6_input_tail() 285 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
|
D | ah6.c | 293 struct xfrm_state *x = skb_dst(skb)->xfrm; in ah6_output_done() 322 static int ah6_output(struct xfrm_state *x, struct sk_buff *skb) in ah6_output() 463 struct xfrm_state *x = xfrm_input_state(skb); in ah6_input_done() 496 static int ah6_input(struct xfrm_state *x, struct sk_buff *skb) in ah6_input() 652 struct xfrm_state *x; in ah6_err() 672 static int ah6_init_state(struct xfrm_state *x) in ah6_init_state() 741 static void ah6_destroy(struct xfrm_state *x) in ah6_destroy()
|
D | xfrm6_tunnel.c | 211 static int xfrm6_tunnel_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_tunnel_output() 217 static int xfrm6_tunnel_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_tunnel_input() 273 static int xfrm6_tunnel_init_state(struct xfrm_state *x) in xfrm6_tunnel_init_state() 286 static void xfrm6_tunnel_destroy(struct xfrm_state *x) in xfrm6_tunnel_destroy()
|
D | xfrm6_output.c | 19 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb, in xfrm6_find_1stfragopt() 71 struct xfrm_state *x = dst->xfrm; in __xfrm6_output()
|
/net/netfilter/ |
D | nft_xfrm.c | 118 const struct xfrm_state *state) in nft_xfrm_state_get_key() 162 const struct xfrm_state *state; in nft_xfrm_get_eval_in()
|
/net/key/ |
D | af_key.c | 656 static struct xfrm_state *pfkey_xfrm_state_lookup(struct net *net, const struct sadb_msg *hdr, voi… in pfkey_xfrm_state_lookup() 764 static struct sk_buff *__pfkey_xfrm_state2msg(const struct xfrm_state *x, in __pfkey_xfrm_state2msg() 1048 static inline struct sk_buff *pfkey_xfrm_state2msg(const struct xfrm_state *x) in pfkey_xfrm_state2msg() 1057 static inline struct sk_buff *pfkey_xfrm_state2msg_expire(const struct xfrm_state *x, in pfkey_xfrm_state2msg_expire() 1063 static struct xfrm_state * pfkey_msg2xfrm_state(struct net *net, in pfkey_msg2xfrm_state() 1067 struct xfrm_state *x; in pfkey_msg2xfrm_state() 1317 struct xfrm_state *x = NULL; in pfkey_getspi() 1417 struct xfrm_state *x; in pfkey_acquire() 1477 static int key_notify_sa(struct xfrm_state *x, const struct km_event *c) in key_notify_sa() 1504 struct xfrm_state *x; in pfkey_add() [all …]
|