Lines Matching refs:ip_esp_hdr
155 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header()
172 static struct ip_esp_hdr *esp_output_set_extra(struct sk_buff *skb, in esp_output_set_extra()
174 struct ip_esp_hdr *esph, in esp_output_set_extra()
192 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_extra()
233 struct ip_esp_hdr *esph = esp->esph; in esp_output_udp_encap()
251 esph = (struct ip_esp_hdr *)(uh + 1); in esp_output_udp_encap()
256 esph = (struct ip_esp_hdr *)(udpdata32 + 2); in esp_output_udp_encap()
342 esp->esph = (struct ip_esp_hdr *)(skb_transport_header(skb) + esph_offset); in esp_output_head()
362 struct ip_esp_hdr *esph; in esp_output_tail()
369 assoclen = sizeof(struct ip_esp_hdr); in esp_output_tail()
476 struct ip_esp_hdr *esph; in esp_output()
504 esp.esph = ip_esp_hdr(skb); in esp_output()
534 hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_remove_trailer()
573 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()
657 struct ip_esp_hdr *esph; in esp_input_set_header()
686 struct ip_esp_hdr *esph; in esp_input()
804 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in esp4_err()
983 x->props.header_len = sizeof(struct ip_esp_hdr) + in esp_init_state()