/openbmc/linux/include/net/ |
H A D | esp.h | 7 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;
|
/openbmc/linux/net/ipv4/ |
H A D | esp4.c | 287 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() 304 static struct ip_esp_hdr *esp_output_set_extra(struct sk_buff *skb, in esp_output_set_extra() 306 struct ip_esp_hdr *esph, in esp_output_set_extra() 324 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_extra() 342 static struct ip_esp_hdr *esp_output_udp_encap(struct sk_buff *skb, in esp_output_udp_encap() 367 return (struct ip_esp_hdr *)(udpdata32 + 2); in esp_output_udp_encap() 370 return (struct ip_esp_hdr *)(uh + 1); in esp_output_udp_encap() 374 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap() 379 struct ip_esp_hdr *esph; in esp_output_tcp_encap() 395 esph = (struct ip_esp_hdr *)(lenp + 1); in esp_output_tcp_encap() [all …]
|
H A D | esp4_offload.c | 95 struct ip_esp_hdr *esph; in esp4_gso_encap() 101 esph = ip_esp_hdr(skb); in esp4_gso_encap() 197 struct ip_esp_hdr *esph; in esp4_gso_segment() 212 esph = ip_esp_hdr(skb); in esp4_gso_segment() 243 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail() 258 struct ip_esp_hdr *esph; in esp_xmit() 293 esp.esph = ip_esp_hdr(skb); in esp_xmit()
|
H A D | xfrm4_input.c | 118 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in xfrm4_udp_encap_rcv() 129 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) && in xfrm4_udp_encap_rcv()
|
H A D | ip_vti.c | 318 struct ip_esp_hdr *esph; in vti4_err() 335 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
|
/openbmc/linux/net/ipv6/ |
H A D | esp6.c | 323 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() 340 static struct ip_esp_hdr *esp_output_set_esn(struct sk_buff *skb, in esp_output_set_esn() 342 struct ip_esp_hdr *esph, in esp_output_set_esn() 360 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_esn() 378 static struct ip_esp_hdr *esp6_output_udp_encap(struct sk_buff *skb, in esp6_output_udp_encap() 403 return (struct ip_esp_hdr *)(udpdata32 + 2); in esp6_output_udp_encap() 406 return (struct ip_esp_hdr *)(uh + 1); in esp6_output_udp_encap() 410 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_encap() 415 struct ip_esp_hdr *esph; in esp6_output_tcp_encap() 431 esph = (struct ip_esp_hdr *)(lenp + 1); in esp6_output_tcp_encap() [all …]
|
H A D | esp6_offload.c | 122 struct ip_esp_hdr *esph; in esp6_gso_encap() 135 esph = ip_esp_hdr(skb); in esp6_gso_encap() 235 struct ip_esp_hdr *esph; in esp6_gso_segment() 250 esph = ip_esp_hdr(skb); in esp6_gso_segment() 279 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail() 335 esp.esph = ip_esp_hdr(skb); in esp6_xmit()
|
H A D | xfrm6_input.c | 117 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in xfrm6_udp_encap_rcv() 128 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) && in xfrm6_udp_encap_rcv()
|
H A D | ip6_vti.c | 605 struct ip_esp_hdr *esph; in vti6_err() 620 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
|
/openbmc/linux/net/netfilter/ |
H A D | xt_esp.c | 38 const struct ip_esp_hdr *eh; in esp_mt() 39 struct ip_esp_hdr _esp; in esp_mt()
|
H A D | nf_log_syslog.c | 482 const struct ip_esp_hdr *eh; in dump_ipv4_packet() 483 struct ip_esp_hdr _esph; in dump_ipv4_packet() 654 struct ip_esp_hdr _esph; in dump_ipv6_packet() 655 const struct ip_esp_hdr *eh; in dump_ipv6_packet()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 418 struct ip_esp_hdr *esphdr; in copy_esn_pktxt() 443 esphdr = (struct ip_esp_hdr *)skb_transport_header(skb); in copy_esn_pktxt() 444 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt() 451 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt() 630 sizeof(struct ip_esp_hdr) + 1); in ch_ipsec_crypto_wreq() 642 sizeof(struct ip_esp_hdr)); in ch_ipsec_crypto_wreq() 643 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) + in ch_ipsec_crypto_wreq()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_rxtx.c | 171 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 D | ipsec_fs.c | 1120 struct ip_esp_hdr *esp_hdr; in setup_pkt_tunnel_reformat() 1197 esp_hdr = (struct ip_esp_hdr *)hdr; in setup_pkt_tunnel_reformat()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ip.h | 121 struct ip_esp_hdr { struct
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_input.c | 154 hlen = sizeof(struct ip_esp_hdr); in xfrm_parse_spi() 155 offset = offsetof(struct ip_esp_hdr, spi); in xfrm_parse_spi() 156 offset_seq = offsetof(struct ip_esp_hdr, seq_no); in xfrm_parse_spi()
|
H A D | xfrm_interface_core.c | 593 struct ip_esp_hdr *esph; in xfrmi4_err() 601 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err() 654 struct ip_esp_hdr *esph; in xfrmi6_err() 662 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_fdir.c | 513 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)hdr->buffer; in iavf_fill_fdir_esp_hdr()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 597 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbevf_ipsec_rx()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl_fdir.c | 835 struct ip_esp_hdr *esph; in ice_vc_fdir_parse_pattern() 946 esph = (struct ip_esp_hdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.c | 1204 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbe_ipsec_rx()
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 236 struct ip_esp_hdr _hdr, *hdr; in __skb_flow_dissect_esp()
|