Home
last modified time | relevance | path

Searched refs:ip_esp_hdr (Results 1 – 24 of 24) sorted by relevance

/linux-6.15/include/net/
H A Desp.h7 struct ip_esp_hdr;
10 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) in ip_esp_hdr() function
12 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
32 struct ip_esp_hdr *esph;
/linux-6.15/net/ipv4/
H A Desp4.c267 struct ip_esp_hdr *esph, in esp_output_set_extra()
330 return (struct ip_esp_hdr *)(uh + 1); in esp_output_udp_encap()
339 struct ip_esp_hdr *esph; in esp_output_tcp_encap()
374 struct ip_esp_hdr *esph; in esp_output_encap()
501 struct ip_esp_hdr *esph; in esp_output_tail()
508 assoclen = sizeof(struct ip_esp_hdr); in esp_output_tail()
618 struct ip_esp_hdr *esph; in esp_output()
646 esp.esph = ip_esp_hdr(skb); in esp_output()
811 struct ip_esp_hdr *esph; in esp_input_set_header()
860 assoclen = sizeof(struct ip_esp_hdr); in esp_input()
[all …]
H A Desp4_offload.c106 struct ip_esp_hdr *esph; in esp4_gso_encap()
112 esph = ip_esp_hdr(skb); in esp4_gso_encap()
208 struct ip_esp_hdr *esph; in esp4_gso_segment()
223 esph = ip_esp_hdr(skb); in esp4_gso_segment()
254 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
269 struct ip_esp_hdr *esph; in esp_xmit()
305 esp.esph = ip_esp_hdr(skb); in esp_xmit()
H A Dxfrm4_input.c113 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in __xfrm4_udp_encap_rcv()
202 if (len <= sizeof(struct ip_esp_hdr) || udpdata32[0] == 0) in xfrm4_gro_udp_encap_rcv()
H A Dip_vti.c321 struct ip_esp_hdr *esph; in vti4_err()
341 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
/linux-6.15/net/ipv6/
H A Desp6.c303 struct ip_esp_hdr *esph, in esp_output_set_esn()
360 return (struct ip_esp_hdr *)(uh + 1); in esp6_output_udp_encap()
369 struct ip_esp_hdr *esph; in esp6_output_tcp_encap()
387 esph = (struct ip_esp_hdr *)(lenp + 1); in esp6_output_tcp_encap()
404 struct ip_esp_hdr *esph; in esp6_output_encap()
532 struct ip_esp_hdr *esph; in esp6_output_tail()
539 assoclen = sizeof(struct ip_esp_hdr); in esp6_output_tail()
650 struct ip_esp_hdr *esph; in esp6_output()
678 esp.esph = ip_esp_hdr(skb); in esp6_output()
902 assoclen = sizeof(struct ip_esp_hdr); in esp6_input()
[all …]
H A Desp6_offload.c135 struct ip_esp_hdr *esph; in esp6_gso_encap()
148 esph = ip_esp_hdr(skb); in esp6_gso_encap()
248 struct ip_esp_hdr *esph; in esp6_gso_segment()
263 esph = ip_esp_hdr(skb); in esp6_gso_segment()
292 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail()
348 esp.esph = ip_esp_hdr(skb); in esp6_xmit()
H A Dxfrm6_input.c109 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in __xfrm6_udp_encap_rcv()
202 if (len <= sizeof(struct ip_esp_hdr) || udpdata32[0] == 0) in xfrm6_gro_udp_encap_rcv()
H A Dip6_vti.c600 struct ip_esp_hdr *esph; in vti6_err()
615 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
/linux-6.15/net/netfilter/
H A Dxt_esp.c38 const struct ip_esp_hdr *eh; in esp_mt()
39 struct ip_esp_hdr _esp; in esp_mt()
H A Dnf_log_syslog.c484 const struct ip_esp_hdr *eh; in dump_ipv4_packet()
485 struct ip_esp_hdr _esph; in dump_ipv4_packet()
656 struct ip_esp_hdr _esph; in dump_ipv6_packet()
657 const struct ip_esp_hdr *eh; in dump_ipv6_packet()
/linux-6.15/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c400 struct ip_esp_hdr *esphdr; in copy_esn_pktxt()
425 esphdr = (struct ip_esp_hdr *)skb_transport_header(skb); in copy_esn_pktxt()
426 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
433 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
612 sizeof(struct ip_esp_hdr) + 1); in ch_ipsec_crypto_wreq()
624 sizeof(struct ip_esp_hdr)); in ch_ipsec_crypto_wreq()
625 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) + in ch_ipsec_crypto_wreq()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c171 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn()
183 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv()
H A Dipsec_fs.c1722 struct ip_esp_hdr *esp_hdr; in setup_pkt_tunnel_reformat()
1799 esp_hdr = (struct ip_esp_hdr *)hdr; in setup_pkt_tunnel_reformat()
/linux-6.15/include/uapi/linux/
H A Dip.h121 struct ip_esp_hdr { struct
/linux-6.15/net/xfrm/
H A Dxfrm_input.c155 hlen = sizeof(struct ip_esp_hdr); in xfrm_parse_spi()
156 offset = offsetof(struct ip_esp_hdr, spi); in xfrm_parse_spi()
157 offset_seq = offsetof(struct ip_esp_hdr, seq_no); in xfrm_parse_spi()
H A Dxfrm_interface_core.c591 struct ip_esp_hdr *esph; in xfrmi4_err()
599 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
652 struct ip_esp_hdr *esph; in xfrmi6_err()
660 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()
/linux-6.15/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c513 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)hdr->buffer; in iavf_fill_fdir_esp_hdr()
/linux-6.15/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c576 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbevf_ipsec_rx()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c986 struct ip_esp_hdr *esph; in xfrm_get_state_xdp()
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k_ipsec.c982 iv_offset = auth_offset + sizeof(struct ip_esp_hdr); in cn10k_ipsec_transmit()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_fdir.c943 struct ip_esp_hdr *esph; in ice_vc_fdir_parse_pattern()
1054 esph = (struct ip_esp_hdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ipsec.c1183 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbe_ipsec_rx()
/linux-6.15/net/core/
H A Dflow_dissector.c236 struct ip_esp_hdr _hdr, *hdr; in __skb_flow_dissect_esp()