• Home
  • Raw
  • Download

Lines Matching refs:ip_esp_hdr

289 	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()
402 static struct ip_esp_hdr *esp_output_tcp_encap(struct xfrm_state *x, in esp_output_tcp_encap()
414 struct ip_esp_hdr *esph; in esp_output_encap()
524 esp->esph = (struct ip_esp_hdr *)(skb_transport_header(skb) + esph_offset); in esp_output_head()
544 struct ip_esp_hdr *esph; in esp_output_tail()
551 assoclen = sizeof(struct ip_esp_hdr); in esp_output_tail()
661 struct ip_esp_hdr *esph; in esp_output()
689 esp.esph = ip_esp_hdr(skb); in esp_output()
719 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
758 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()
858 struct ip_esp_hdr *esph; in esp_input_set_header()
891 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input()
901 if (!pskb_may_pull(skb, sizeof(struct ip_esp_hdr) + ivlen)) in esp_input()
907 assoclen = sizeof(struct ip_esp_hdr); in esp_input()
982 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in esp4_err()
1161 x->props.header_len = sizeof(struct ip_esp_hdr) + in esp_init_state()