Home
last modified time | relevance | path

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

/linux/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/net/ipv6/
H A Desp6.c325 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header()
342 static struct ip_esp_hdr *esp_output_set_esn(struct sk_buff *skb, in esp_output_set_esn()
344 struct ip_esp_hdr *esph, in esp_output_set_esn()
362 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_esn()
380 static struct ip_esp_hdr *esp6_output_udp_encap(struct sk_buff *skb, in esp6_output_udp_encap()
401 return (struct ip_esp_hdr *)(uh + 1); in esp6_output_udp_encap()
405 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_encap()
410 struct ip_esp_hdr *esph; in esp6_output_tcp_encap()
426 esph = (struct ip_esp_hdr *)(lenp + 1); in esp6_output_tcp_encap()
431 static struct ip_esp_hdr *esp6_output_tcp_encap(struct xfrm_state *x, in esp6_output_tcp_encap()
[all …]
H A Dxfrm6_input.c109 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in __xfrm6_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/net/ipv4/
H A 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()
371 return (struct ip_esp_hdr *)(uh + 1); in esp_output_udp_encap()
375 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap()
380 struct ip_esp_hdr *esph; in esp_output_tcp_encap()
396 esph = (struct ip_esp_hdr *)(lenp + 1); in esp_output_tcp_encap()
401 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap()
[all …]
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/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.c482 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()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c416 struct ip_esp_hdr *esphdr; in copy_esn_pktxt()
441 esphdr = (struct ip_esp_hdr *)skb_transport_header(skb); in copy_esn_pktxt()
442 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
449 iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); in copy_esn_pktxt()
628 sizeof(struct ip_esp_hdr) + 1); in ch_ipsec_crypto_wreq()
640 sizeof(struct ip_esp_hdr)); in ch_ipsec_crypto_wreq()
641 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) + in ch_ipsec_crypto_wreq()
/linux/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.c1377 struct ip_esp_hdr *esp_hdr; in setup_pkt_tunnel_reformat()
1454 esp_hdr = (struct ip_esp_hdr *)hdr; in setup_pkt_tunnel_reformat()
/linux/net/xfrm/
H A Dxfrm_interface_core.c592 struct ip_esp_hdr *esph; in xfrmi4_err()
600 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
653 struct ip_esp_hdr *esph; in xfrmi6_err()
661 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()
/linux/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/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c597 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbevf_ipsec_rx()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c986 struct ip_esp_hdr *esph; in xfrm_get_state_xdp()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_fdir.c937 struct ip_esp_hdr *esph; in ice_vc_fdir_parse_pattern()
1048 esph = (struct ip_esp_hdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ipsec.c1204 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbe_ipsec_rx()
/linux/net/core/
H A Dflow_dissector.c236 struct ip_esp_hdr _hdr, *hdr; in __skb_flow_dissect_esp()