Searched refs:ip_esp_hdr (Results 1 - 23 of 23) sorted by relevance

/linux-master/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) function
12 return (struct ip_esp_hdr *)skb_transport_header(skb);
32 struct ip_esp_hdr *esph;
/linux-master/net/netfilter/
H A Dxt_esp.c38 const struct ip_esp_hdr *eh;
39 struct ip_esp_hdr _esp;
H A Dnf_log_syslog.c482 const struct ip_esp_hdr *eh;
483 struct ip_esp_hdr _esph;
654 struct ip_esp_hdr _esph;
655 const struct ip_esp_hdr *eh;
/linux-master/net/ipv6/
H A Desp6.c324 struct ip_esp_hdr *esph = (void *)(skb->data + offset);
341 static struct ip_esp_hdr *esp_output_set_esn(struct sk_buff *skb,
343 struct ip_esp_hdr *esph,
361 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4);
379 static struct ip_esp_hdr *esp6_output_udp_encap(struct sk_buff *skb,
404 return (struct ip_esp_hdr *)(udpdata32 + 2);
407 return (struct ip_esp_hdr *)(uh + 1);
411 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x,
416 struct ip_esp_hdr *esph;
432 esph = (struct ip_esp_hdr *)(len
[all...]
H A Desp6_offload.c128 struct ip_esp_hdr *esph;
141 esph = ip_esp_hdr(skb);
241 struct ip_esp_hdr *esph;
256 esph = ip_esp_hdr(skb);
285 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead)))
341 esp.esph = ip_esp_hdr(skb);
H A Dxfrm6_input.c105 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) {
116 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) &&
H A Dip6_vti.c605 struct ip_esp_hdr *esph;
620 esph = (struct ip_esp_hdr *)(skb->data + offset);
/linux-master/net/ipv4/
H A Desp4.c288 struct ip_esp_hdr *esph = (void *)(skb->data + offset);
305 static struct ip_esp_hdr *esp_output_set_extra(struct sk_buff *skb,
307 struct ip_esp_hdr *esph,
325 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4);
343 static struct ip_esp_hdr *esp_output_udp_encap(struct sk_buff *skb,
368 return (struct ip_esp_hdr *)(udpdata32 + 2);
371 return (struct ip_esp_hdr *)(uh + 1);
375 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x,
380 struct ip_esp_hdr *esph;
396 esph = (struct ip_esp_hdr *)(len
[all...]
H A Desp4_offload.c99 struct ip_esp_hdr *esph;
105 esph = ip_esp_hdr(skb);
201 struct ip_esp_hdr *esph;
216 esph = ip_esp_hdr(skb);
247 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead)))
262 struct ip_esp_hdr *esph;
297 esp.esph = ip_esp_hdr(skb);
H A Dxfrm4_input.c109 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) {
120 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) &&
H A Dip_vti.c318 struct ip_esp_hdr *esph;
335 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2));
/linux-master/include/uapi/linux/
H A Dip.h121 struct ip_esp_hdr { struct
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c416 struct ip_esp_hdr *esphdr;
441 esphdr = (struct ip_esp_hdr *)skb_transport_header(skb);
442 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr);
449 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr);
628 sizeof(struct ip_esp_hdr) + 1);
640 sizeof(struct ip_esp_hdr));
641 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) +
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c171 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr);
183 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr);
H A Dipsec_fs.c1378 struct ip_esp_hdr *esp_hdr;
1455 esp_hdr = (struct ip_esp_hdr *)hdr;
/linux-master/net/xfrm/
H A Dxfrm_interface_core.c592 struct ip_esp_hdr *esph;
600 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2));
653 struct ip_esp_hdr *esph;
661 esph = (struct ip_esp_hdr *)(skb->data + offset);
H A Dxfrm_input.c155 hlen = sizeof(struct ip_esp_hdr);
156 offset = offsetof(struct ip_esp_hdr, spi);
157 offset_seq = offsetof(struct ip_esp_hdr, seq_no);
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c513 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)hdr->buffer;
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c597 spi = ((struct ip_esp_hdr *)c_hdr)->spi;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_fdir.c816 struct ip_esp_hdr *esph;
927 esph = (struct ip_esp_hdr *)hdr->buffer;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c964 struct ip_esp_hdr *esph;
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ipsec.c1204 spi = ((struct ip_esp_hdr *)c_hdr)->spi;
/linux-master/net/core/
H A Dflow_dissector.c236 struct ip_esp_hdr _hdr, *hdr;

Completed in 244 milliseconds