/linux-6.3-rc2/include/net/ |
A D | xfrm.h | 168 struct xfrm_state { struct 229 struct xfrm_state *tunnel; argument 416 int (*init_state)(struct xfrm_state *x, 1053 struct xfrm_state *xvec[XFRM_MAX_DEPTH]; 1160 struct xfrm_state *x; in __xfrm_policy_check2() 1592 int xfrm_state_add(struct xfrm_state *x); 1605 void xfrm_state_sort(struct xfrm_state **dst, struct xfrm_state **src, int n, 1613 static inline void xfrm_state_sort(struct xfrm_state **d, struct xfrm_state **s, in xfrm_state_sort() 1762 struct xfrm_state *xfrm_state_migrate(struct xfrm_state *x, 1876 struct xfrm_state *orig) in xfrm_replay_clone() [all …]
|
A D | ipcomp.h | 20 struct xfrm_state; 22 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb); 23 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb); 24 void ipcomp_destroy(struct xfrm_state *x); 25 int ipcomp_init_state(struct xfrm_state *x, struct netlink_ext_ack *extack);
|
A D | esp.h | 8 struct xfrm_state; 44 int esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp); 45 int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp); 47 int esp6_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp); 48 int esp6_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
|
/linux-6.3-rc2/net/xfrm/ |
A 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_bmp(struct xfrm_state *x, int event); 39 static void xfrm_replay_notify_esn(struct xfrm_state *x, int event); 41 void xfrm_replay_notify(struct xfrm_state *x, int event) in xfrm_replay_notify() 121 static int xfrm_replay_check_legacy(struct xfrm_state *x, in xfrm_replay_check_legacy() 156 void xfrm_replay_advance(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance() 213 static int xfrm_replay_check_bmp(struct xfrm_state *x, in xfrm_replay_check_bmp() 451 static int xfrm_replay_check_esn(struct xfrm_state *x, in xfrm_replay_check_esn() 510 int xfrm_replay_check(struct xfrm_state *x, in xfrm_replay_check() 525 static int xfrm_replay_recheck_esn(struct xfrm_state *x, in xfrm_replay_recheck_esn() [all …]
|
A D | xfrm_state.c | 114 struct xfrm_state *x; in xfrm_hash_transfer() 549 struct xfrm_state *x; in xfrm_state_gc_task() 565 struct xfrm_state *x = container_of(me, struct xfrm_state, mtimer); in xfrm_timer_handler() 657 struct xfrm_state *x; in xfrm_state_alloc() 1136 struct xfrm_state * 1364 struct xfrm_state * 1659 static struct xfrm_state *xfrm_state_clone(struct xfrm_state *orig, in xfrm_state_clone() 1811 struct xfrm_state *xfrm_state_migrate(struct xfrm_state *x, in xfrm_state_migrate() 1963 struct xfrm_state * 1976 struct xfrm_state * [all …]
|
A 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() 162 static int xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_output() 193 static int xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_ro_output() 223 static int xfrm4_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_beet_encap_add() 272 static int xfrm4_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_tunnel_encap_add() 353 static int xfrm6_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_beet_encap_add() 404 static int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_prepare_output() 426 static int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_prepare_output() 492 struct xfrm_state *x = dst->xfrm; in xfrm_output_one() [all …]
|
A D | xfrm_ipcomp.c | 38 static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_decompress() 97 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_input() 125 static int ipcomp_compress(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_compress() 158 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb) in ipcomp_output() 316 void ipcomp_destroy(struct xfrm_state *x) in ipcomp_destroy() 329 int ipcomp_init_state(struct xfrm_state *x, struct netlink_ext_ack *extack) in ipcomp_init_state()
|
A D | xfrm_input.c | 176 static int xfrm4_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_beet_encap() 230 static int xfrm4_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_remove_tunnel_encap() 268 static int xfrm6_remove_tunnel_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_tunnel_encap() 297 static int xfrm6_remove_beet_encap(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_remove_beet_encap() 333 xfrm_inner_mode_encap_remove(struct xfrm_state *x, in xfrm_inner_mode_encap_remove() 356 static int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm_prepare_input() 401 static int xfrm4_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm4_transport_input() 415 static int xfrm6_transport_input(struct xfrm_state *x, struct sk_buff *skb) in xfrm6_transport_input() 435 static int xfrm_inner_mode_input(struct xfrm_state *x, in xfrm_inner_mode_input() 468 struct xfrm_state *x = NULL; in xfrm_input()
|
/linux-6.3-rc2/security/selinux/include/ |
A D | xfrm.h | 22 int selinux_xfrm_state_alloc(struct xfrm_state *x, 24 int selinux_xfrm_state_alloc_acquire(struct xfrm_state *x, 26 void selinux_xfrm_state_free(struct xfrm_state *x); 27 int selinux_xfrm_state_delete(struct xfrm_state *x); 29 int selinux_xfrm_state_pol_flow_match(struct xfrm_state *x,
|
/linux-6.3-rc2/security/selinux/ |
A D | xfrm.c | 65 static inline int selinux_authorizable_xfrm(struct xfrm_state *x) in selinux_authorizable_xfrm() 176 int selinux_xfrm_state_pol_flow_match(struct xfrm_state *x, in selinux_xfrm_state_pol_flow_match() 216 struct xfrm_state *x; in selinux_xfrm_skb_sid_egress() 237 struct xfrm_state *x = sp->xvec[i]; in selinux_xfrm_skb_sid_ingress() 334 int selinux_xfrm_state_alloc(struct xfrm_state *x, in selinux_xfrm_state_alloc() 344 int selinux_xfrm_state_alloc_acquire(struct xfrm_state *x, in selinux_xfrm_state_alloc_acquire() 385 void selinux_xfrm_state_free(struct xfrm_state *x) in selinux_xfrm_state_free() 393 int selinux_xfrm_state_delete(struct xfrm_state *x) in selinux_xfrm_state_delete() 414 struct xfrm_state *x = sp->xvec[i]; in selinux_xfrm_sock_rcv_skb() 461 struct xfrm_state *x = iter->xfrm; in selinux_xfrm_postroute_last()
|
/linux-6.3-rc2/net/ipv6/ |
A 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()
|
A 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_init_state(struct xfrm_state *x, struct netlink_ext_ack *extack) in mip6_destopt_init_state() 273 static void mip6_destopt_destroy(struct xfrm_state *x) in mip6_destopt_destroy() 288 static int mip6_rthdr_input(struct xfrm_state *x, struct sk_buff *skb) in mip6_rthdr_input() 306 static int mip6_rthdr_output(struct xfrm_state *x, struct sk_buff *skb) in mip6_rthdr_output() 335 static int mip6_rthdr_init_state(struct xfrm_state *x, struct netlink_ext_ack *extack) in mip6_rthdr_init_state() 355 static void mip6_rthdr_destroy(struct xfrm_state *x) in mip6_rthdr_destroy()
|
A D | esp6.c | 115 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() 151 static struct sock *esp6_find_tcp_sk(struct xfrm_state *x) in esp6_find_tcp_sk() 236 struct xfrm_state *x = dst->xfrm; in esp_output_tcp_encap_cb() 286 struct xfrm_state *x; in esp_output_done() 342 struct xfrm_state *x, in esp_output_set_esn() 744 struct xfrm_state *x = xfrm_input_state(skb); in esp_remove_trailer() 783 struct xfrm_state *x = xfrm_input_state(skb); in esp6_input_done2() 897 struct xfrm_state *x = xfrm_input_state(skb); in esp_input_set_header() 1023 struct xfrm_state *x; in esp6_err() 1044 static void esp6_destroy(struct xfrm_state *x) in esp6_destroy() [all …]
|
A D | esp6_offload.c | 55 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() 153 static struct sk_buff *xfrm6_transport_gso_segment(struct xfrm_state *x, in xfrm6_transport_gso_segment() 169 static struct sk_buff *xfrm6_beet_gso_segment(struct xfrm_state *x, in xfrm6_beet_gso_segment() 214 static struct sk_buff *xfrm6_outer_mode_gso_segment(struct xfrm_state *x, in xfrm6_outer_mode_gso_segment() 233 struct xfrm_state *x; in esp6_gso_segment() 273 static int esp6_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp6_input_tail() 287 static int esp6_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp6_xmit()
|
/linux-6.3-rc2/net/ipv4/ |
A D | ipcomp.c | 28 struct xfrm_state *x; in ipcomp4_err() 57 static struct xfrm_state *ipcomp_tunnel_create(struct xfrm_state *x) in ipcomp_tunnel_create() 60 struct xfrm_state *t; in ipcomp_tunnel_create() 96 static int ipcomp_tunnel_attach(struct xfrm_state *x) in ipcomp_tunnel_attach() 100 struct xfrm_state *t; in ipcomp_tunnel_attach() 120 static int ipcomp4_init_state(struct xfrm_state *x, in ipcomp4_init_state()
|
A D | xfrm4_tunnel.c | 14 static int ipip_output(struct xfrm_state *x, struct sk_buff *skb) in ipip_output() 20 static int ipip_xfrm_rcv(struct xfrm_state *x, struct sk_buff *skb) in ipip_xfrm_rcv() 25 static int ipip_init_state(struct xfrm_state *x, struct netlink_ext_ack *extack) in ipip_init_state() 42 static void ipip_destroy(struct xfrm_state *x) in ipip_destroy()
|
A D | esp4_offload.c | 34 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() 119 static struct sk_buff *xfrm4_transport_gso_segment(struct xfrm_state *x, in xfrm4_transport_gso_segment() 135 static struct sk_buff *xfrm4_beet_gso_segment(struct xfrm_state *x, in xfrm4_beet_gso_segment() 176 static struct sk_buff *xfrm4_outer_mode_gso_segment(struct xfrm_state *x, in xfrm4_outer_mode_gso_segment() 195 struct xfrm_state *x; in esp4_gso_segment() 237 static int esp_input_tail(struct xfrm_state *x, struct sk_buff *skb) in esp_input_tail() 251 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit()
|
A D | esp4.c | 98 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() 134 static struct sock *esp_find_tcp_sk(struct xfrm_state *x) in esp_find_tcp_sk() 219 struct xfrm_state *x = dst->xfrm; in esp_output_tcp_encap_cb() 252 struct xfrm_state *x; in esp_output_done() 306 struct xfrm_state *x, in esp_output_set_extra() 706 struct xfrm_state *x = xfrm_input_state(skb); in esp_remove_trailer() 746 struct xfrm_state *x = xfrm_input_state(skb); in esp_input_done2() 848 struct xfrm_state *x = xfrm_input_state(skb); in esp_input_set_header() 974 struct xfrm_state *x; in esp4_err() 1001 static void esp_destroy(struct xfrm_state *x) in esp_destroy() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec_rxtx.h | 49 struct xfrm_state *x; 57 void mlx5e_ipsec_set_iv_esn(struct sk_buff *skb, struct xfrm_state *x, 59 void mlx5e_ipsec_set_iv(struct sk_buff *skb, struct xfrm_state *x, 95 struct xfrm_state *x = sp->xvec[0]; in mlx5e_ipsec_feature_check()
|
A D | ipsec_rxtx.c | 46 static int mlx5e_ipsec_remove_trailer(struct sk_buff *skb, struct xfrm_state *x) in mlx5e_ipsec_remove_trailer() 150 void mlx5e_ipsec_set_iv_esn(struct sk_buff *skb, struct xfrm_state *x, in mlx5e_ipsec_set_iv_esn() 172 void mlx5e_ipsec_set_iv(struct sk_buff *skb, struct xfrm_state *x, in mlx5e_ipsec_set_iv() 194 struct xfrm_state *x, in mlx5e_ipsec_set_state() 221 struct xfrm_state *x; in mlx5e_ipsec_tx_build_eseg() 265 struct xfrm_state *x; in mlx5e_ipsec_handle_tx_skb()
|
A D | ipsec.c | 43 static struct mlx5e_ipsec_sa_entry *to_ipsec_sa_entry(struct xfrm_state *x) in to_ipsec_sa_entry() 89 struct xfrm_state *x = sa_entry->x; in mlx5e_ipsec_init_limits() 114 struct xfrm_state *x = sa_entry->x; in mlx5e_ipsec_build_accel_xfrm_attrs() 171 struct xfrm_state *x, in mlx5e_xfrm_validate_state() 304 static int mlx5e_xfrm_add_state(struct xfrm_state *x, in mlx5e_xfrm_add_state() 369 static void mlx5e_xfrm_del_state(struct xfrm_state *x) in mlx5e_xfrm_del_state() 379 static void mlx5e_xfrm_free_state(struct xfrm_state *x) in mlx5e_xfrm_free_state() 452 static bool mlx5e_ipsec_offload_ok(struct sk_buff *skb, struct xfrm_state *x) in mlx5e_ipsec_offload_ok() 467 static void mlx5e_xfrm_advance_esn_state(struct xfrm_state *x) in mlx5e_xfrm_advance_esn_state() 482 static void mlx5e_xfrm_update_curlft(struct xfrm_state *x) in mlx5e_xfrm_update_curlft()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
A D | chcr_ipsec.c | 80 static void ch_ipsec_advance_esn_state(struct xfrm_state *x); 81 static void ch_ipsec_xfrm_free_state(struct xfrm_state *x); 82 static void ch_ipsec_xfrm_del_state(struct xfrm_state *x); 83 static int ch_ipsec_xfrm_add_state(struct xfrm_state *x, 143 static int ch_ipsec_setauthsize(struct xfrm_state *x, in ch_ipsec_setauthsize() 167 static int ch_ipsec_setkey(struct xfrm_state *x, in ch_ipsec_setkey() 230 static int ch_ipsec_xfrm_add_state(struct xfrm_state *x, in ch_ipsec_xfrm_add_state() 309 static void ch_ipsec_xfrm_del_state(struct xfrm_state *x) in ch_ipsec_xfrm_del_state() 316 static void ch_ipsec_xfrm_free_state(struct xfrm_state *x) in ch_ipsec_xfrm_free_state() 342 static void ch_ipsec_advance_esn_state(struct xfrm_state *x) in ch_ipsec_advance_esn_state() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/ |
A D | ipsec.c | 19 struct xfrm_state *xs) in ixgbevf_ipsec_set_pf_sa() 178 struct xfrm_state *ixgbevf_ipsec_find_rx_state(struct ixgbevf_ipsec *ipsec, in ixgbevf_ipsec_find_rx_state() 182 struct xfrm_state *ret = NULL; in ixgbevf_ipsec_find_rx_state() 211 static int ixgbevf_ipsec_parse_proto_keys(struct xfrm_state *xs, in ixgbevf_ipsec_parse_proto_keys() 262 static int ixgbevf_ipsec_add_sa(struct xfrm_state *xs, in ixgbevf_ipsec_add_sa() 393 static void ixgbevf_ipsec_del_sa(struct xfrm_state *xs) in ixgbevf_ipsec_del_sa() 436 static bool ixgbevf_ipsec_offload_ok(struct sk_buff *skb, struct xfrm_state *xs) in ixgbevf_ipsec_offload_ok() 469 struct xfrm_state *xs; in ixgbevf_ipsec_tx() 565 struct xfrm_state *xs = NULL; in ixgbevf_ipsec_rx()
|
A D | ipsec.h | 19 struct xfrm_state *xs; 36 struct xfrm_state *xs;
|
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | ipsec.c | 84 static int nsim_ipsec_parse_proto_keys(struct xfrm_state *xs, in nsim_ipsec_parse_proto_keys() 128 static int nsim_ipsec_add_sa(struct xfrm_state *xs, in nsim_ipsec_add_sa() 200 static void nsim_ipsec_del_sa(struct xfrm_state *xs) in nsim_ipsec_del_sa() 217 static bool nsim_ipsec_offload_ok(struct sk_buff *skb, struct xfrm_state *xs) in nsim_ipsec_offload_ok() 237 struct xfrm_state *xs; in nsim_ipsec_tx()
|