Searched refs:ip_esp_hdr (Results 1 – 20 of 20) sorted by relevance
7 struct ip_esp_hdr;9 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) in ip_esp_hdr() function11 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()31 struct ip_esp_hdr *esph;
343 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 …]
121 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()
110 } 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()
607 struct ip_esp_hdr *esph; in vti6_err()622 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
306 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 …]
93 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()
114 } 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()
318 struct ip_esp_hdr *esph; in vti4_err()335 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
38 const struct ip_esp_hdr *eh; in esp_mt()39 struct ip_esp_hdr _esp; in esp_mt()
476 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()
412 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()
222 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()
408 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()
151 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()
118 struct ip_esp_hdr { struct
443 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)hdr->buffer; in iavf_fill_fdir_esp_hdr()
591 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbevf_ipsec_rx()
1019 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()
1198 spi = ((struct ip_esp_hdr *)c_hdr)->spi; in ixgbe_ipsec_rx()
Completed in 33 milliseconds