Searched refs:ip_esp_hdr (Results 1 – 11 of 11) sorted by relevance
6 struct ip_esp_hdr;8 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) in ip_esp_hdr() function10 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
100 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header()124 struct ip_esp_hdr *esph; in esp_output()203 esph = ip_esp_hdr(skb); in esp_output()229 esph = (struct ip_esp_hdr *)(uh + 1); in esp_output()234 esph = (struct ip_esp_hdr *)(udpdata32 + 2); in esp_output()301 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()407 struct ip_esp_hdr *esph; in esp_input()455 esph = (struct ip_esp_hdr *)skb->data; in esp_input()516 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in esp4_err()695 x->props.header_len = sizeof(struct ip_esp_hdr) + in esp_init_state()
101 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in xfrm4_udp_encap_rcv()112 } else if (len > 2 * sizeof(u32) + sizeof(struct ip_esp_hdr) && in xfrm4_udp_encap_rcv()
251 struct ip_esp_hdr *esph; in vti4_err()268 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
128 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header()152 struct ip_esp_hdr *esph; in esp6_output()230 esph = ip_esp_hdr(skb); in esp6_output()292 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()356 struct ip_esp_hdr *esph; in esp6_input()409 esph = (struct ip_esp_hdr *)skb->data; in esp6_input()464 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)(skb->data + offset); in esp6_err()640 x->props.header_len = sizeof(struct ip_esp_hdr) + in esp6_init_state()
560 struct ip_esp_hdr *esph; in vti6_err()575 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
41 const struct ip_esp_hdr *eh; in esp_mt()42 struct ip_esp_hdr _esp; in esp_mt()
140 hlen = sizeof(struct ip_esp_hdr); in xfrm_parse_spi()141 offset = offsetof(struct ip_esp_hdr, spi); in xfrm_parse_spi()142 offset_seq = offsetof(struct ip_esp_hdr, seq_no); in xfrm_parse_spi()
225 struct ip_esp_hdr _esph; in dump_ipv4_packet()226 const struct ip_esp_hdr *eh; in dump_ipv4_packet()
165 struct ip_esp_hdr _esph; in dump_ipv6_packet()166 const struct ip_esp_hdr *eh; in dump_ipv6_packet()
117 struct ip_esp_hdr { struct