Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Desp.h6 struct ip_esp_hdr;
8 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb) in ip_esp_hdr() function
10 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
/linux-4.4.14/net/ipv4/
Desp4.c100 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()
Dxfrm4_input.c101 } 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()
Dip_vti.c251 struct ip_esp_hdr *esph; in vti4_err()
268 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
/linux-4.4.14/net/ipv6/
Desp6.c128 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()
Dip6_vti.c560 struct ip_esp_hdr *esph; in vti6_err()
575 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
/linux-4.4.14/net/netfilter/
Dxt_esp.c41 const struct ip_esp_hdr *eh; in esp_mt()
42 struct ip_esp_hdr _esp; in esp_mt()
/linux-4.4.14/net/xfrm/
Dxfrm_input.c140 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()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_log_ipv4.c225 struct ip_esp_hdr _esph; in dump_ipv4_packet()
226 const struct ip_esp_hdr *eh; in dump_ipv4_packet()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_log_ipv6.c165 struct ip_esp_hdr _esph; in dump_ipv6_packet()
166 const struct ip_esp_hdr *eh; in dump_ipv6_packet()
/linux-4.4.14/include/uapi/linux/
Dip.h117 struct ip_esp_hdr { struct