Home
last modified time | relevance | path

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

/linux/include/net/
A Desp.h7 struct ip_esp_hdr;
9 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) in ip_esp_hdr() function
11 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
31 struct ip_esp_hdr *esph;
/linux/net/ipv6/
A Desp6.c343 struct ip_esp_hdr *esph, in esp_output_set_esn()
407 return (struct ip_esp_hdr *)(uh + 1); in esp6_output_udp_encap()
416 struct ip_esp_hdr *esph; in esp6_output_tcp_encap()
432 esph = (struct ip_esp_hdr *)(lenp + 1); in esp6_output_tcp_encap()
449 struct ip_esp_hdr *esph; in esp6_output_encap()
574 struct ip_esp_hdr *esph; in esp6_output_tail()
581 assoclen = sizeof(struct ip_esp_hdr); in esp6_output_tail()
692 struct ip_esp_hdr *esph; in esp6_output()
720 esp.esph = ip_esp_hdr(skb); in esp6_output()
949 assoclen = sizeof(struct ip_esp_hdr); in esp6_input()
[all …]
A Desp6_offload.c121 struct ip_esp_hdr *esph; in esp6_gso_encap()
134 esph = ip_esp_hdr(skb); in esp6_gso_encap()
229 struct ip_esp_hdr *esph; in esp6_gso_segment()
244 esph = ip_esp_hdr(skb); in esp6_gso_segment()
273 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail()
329 esp.esph = ip_esp_hdr(skb); in esp6_xmit()
A Dxfrm6_input.c110 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in xfrm6_udp_encap_rcv()
121 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) && in xfrm6_udp_encap_rcv()
A Dip6_vti.c607 struct ip_esp_hdr *esph; in vti6_err()
622 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
/linux/net/ipv4/
A Desp4.c306 struct ip_esp_hdr *esph, in esp_output_set_extra()
370 return (struct ip_esp_hdr *)(uh + 1); in esp_output_udp_encap()
379 struct ip_esp_hdr *esph; in esp_output_tcp_encap()
412 struct ip_esp_hdr *esph; in esp_output_encap()
538 struct ip_esp_hdr *esph; in esp_output_tail()
545 assoclen = sizeof(struct ip_esp_hdr); in esp_output_tail()
655 struct ip_esp_hdr *esph; in esp_output()
683 esp.esph = ip_esp_hdr(skb); in esp_output()
852 struct ip_esp_hdr *esph; in esp_input_set_header()
901 assoclen = sizeof(struct ip_esp_hdr); in esp_input()
[all …]
A Desp4_offload.c93 struct ip_esp_hdr *esph; in esp4_gso_encap()
99 esph = ip_esp_hdr(skb); in esp4_gso_encap()
190 struct ip_esp_hdr *esph; in esp4_gso_segment()
205 esph = ip_esp_hdr(skb); in esp4_gso_segment()
236 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
251 struct ip_esp_hdr *esph; in esp_xmit()
286 esp.esph = ip_esp_hdr(skb); in esp_xmit()
A Dxfrm4_input.c114 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in xfrm4_udp_encap_rcv()
125 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) && in xfrm4_udp_encap_rcv()
A Dip_vti.c318 struct ip_esp_hdr *esph; in vti4_err()
335 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
/linux/net/netfilter/
A Dxt_esp.c38 const struct ip_esp_hdr *eh; in esp_mt()
39 struct ip_esp_hdr _esp; in esp_mt()
A Dnf_log_syslog.c476 const struct ip_esp_hdr *eh; in dump_ipv4_packet()
477 struct ip_esp_hdr _esph; in dump_ipv4_packet()
648 struct ip_esp_hdr _esph; in dump_ipv6_packet()
649 const struct ip_esp_hdr *eh; in dump_ipv6_packet()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
A Dchcr_ipsec.c412 struct ip_esp_hdr *esphdr; in copy_esn_pktxt()
437 esphdr = (struct ip_esp_hdr *)skb_transport_header(skb); in copy_esn_pktxt()
438 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
445 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
624 sizeof(struct ip_esp_hdr) + 1); in ch_ipsec_crypto_wreq()
636 sizeof(struct ip_esp_hdr)); in ch_ipsec_crypto_wreq()
637 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) + in ch_ipsec_crypto_wreq()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_rxtx.c222 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn()
234 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv()
242 struct ip_esp_hdr *esph; in mlx5e_ipsec_set_metadata()
247 esph = ip_esp_hdr(skb); in mlx5e_ipsec_set_metadata()
/linux/net/xfrm/
A Dxfrm_interface.c408 struct ip_esp_hdr *esph; in xfrmi4_err()
416 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
469 struct ip_esp_hdr *esph; in xfrmi6_err()
477 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()
A Dxfrm_input.c151 hlen = sizeof(struct ip_esp_hdr); in xfrm_parse_spi()
152 offset = offsetof(struct ip_esp_hdr, spi); in xfrm_parse_spi()
153 offset_seq = offsetof(struct ip_esp_hdr, seq_no); in xfrm_parse_spi()
/linux/include/uapi/linux/
A Dip.h118 struct ip_esp_hdr { struct
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_fdir.c443 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)hdr->buffer; in iavf_fill_fdir_esp_hdr()
/linux/drivers/net/ethernet/intel/ixgbevf/
A Dipsec.c591 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbevf_ipsec_rx()
/linux/drivers/net/ethernet/intel/ice/
A Dice_virtchnl_fdir.c1019 struct ip_esp_hdr *esph; in ice_vc_fdir_parse_pattern()
1130 esph = (struct ip_esp_hdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ipsec.c1198 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbe_ipsec_rx()

Completed in 33 milliseconds