Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
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;
/kernel/linux/linux-5.10/net/ipv6/
Desp6.c324 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header()
341 static struct ip_esp_hdr *esp_output_set_esn(struct sk_buff *skb, in esp_output_set_esn()
343 struct ip_esp_hdr *esph, in esp_output_set_esn()
361 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_esn()
379 static struct ip_esp_hdr *esp6_output_udp_encap(struct sk_buff *skb, in esp6_output_udp_encap()
404 return (struct ip_esp_hdr *)(udpdata32 + 2); in esp6_output_udp_encap()
407 return (struct ip_esp_hdr *)(uh + 1); in esp6_output_udp_encap()
411 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_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()
[all …]
Desp6_offload.c121 struct ip_esp_hdr *esph; in esp6_gso_encap()
134 esph = ip_esp_hdr(skb); in esp6_gso_encap()
232 struct ip_esp_hdr *esph; in esp6_gso_segment()
247 esph = ip_esp_hdr(skb); in esp6_gso_segment()
276 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp6_input_tail()
332 esp.esph = ip_esp_hdr(skb); in esp6_xmit()
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()
Dip6_vti.c606 struct ip_esp_hdr *esph; in vti6_err()
621 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
/kernel/linux/linux-5.10/net/ipv4/
Desp4.c289 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header()
306 static struct ip_esp_hdr *esp_output_set_extra(struct sk_buff *skb, in esp_output_set_extra()
308 struct ip_esp_hdr *esph, in esp_output_set_extra()
326 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_extra()
344 static struct ip_esp_hdr *esp_output_udp_encap(struct sk_buff *skb, in esp_output_udp_encap()
369 return (struct ip_esp_hdr *)(udpdata32 + 2); in esp_output_udp_encap()
372 return (struct ip_esp_hdr *)(uh + 1); in esp_output_udp_encap()
376 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap()
381 struct ip_esp_hdr *esph; in esp_output_tcp_encap()
397 esph = (struct ip_esp_hdr *)(lenp + 1); in esp_output_tcp_encap()
[all …]
Desp4_offload.c94 struct ip_esp_hdr *esph; in esp4_gso_encap()
100 esph = ip_esp_hdr(skb); in esp4_gso_encap()
194 struct ip_esp_hdr *esph; in esp4_gso_segment()
209 esph = ip_esp_hdr(skb); in esp4_gso_segment()
240 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead))) in esp_input_tail()
255 struct ip_esp_hdr *esph; in esp_xmit()
290 esp.esph = ip_esp_hdr(skb); in esp_xmit()
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()
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()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_esp.c38 const struct ip_esp_hdr *eh; in esp_mt()
39 struct ip_esp_hdr _esp; in esp_mt()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c414 struct ip_esp_hdr *esphdr; in copy_esn_pktxt()
439 esphdr = (struct ip_esp_hdr *)skb_transport_header(skb); in copy_esn_pktxt()
440 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
447 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
626 sizeof(struct ip_esp_hdr) + 1); in ch_ipsec_crypto_wreq()
638 sizeof(struct ip_esp_hdr)); in ch_ipsec_crypto_wreq()
639 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) + in ch_ipsec_crypto_wreq()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c186 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn()
198 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv()
206 struct ip_esp_hdr *esph; in mlx5e_ipsec_set_metadata()
211 esph = ip_esp_hdr(skb); in mlx5e_ipsec_set_metadata()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_log_ipv6.c162 struct ip_esp_hdr _esph; in dump_ipv6_packet()
163 const struct ip_esp_hdr *eh; in dump_ipv6_packet()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_log_ipv4.c222 struct ip_esp_hdr _esph; in dump_ipv4_packet()
223 const struct ip_esp_hdr *eh; in dump_ipv4_packet()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dip.h90 struct ip_esp_hdr { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dip.h100 struct ip_esp_hdr { struct
/kernel/linux/linux-5.10/include/uapi/linux/
Dip.h120 struct ip_esp_hdr { struct
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_interface.c415 struct ip_esp_hdr *esph; in xfrmi4_err()
423 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
475 struct ip_esp_hdr *esph; in xfrmi6_err()
483 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c591 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbevf_ipsec_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c1199 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbe_ipsec_rx()