Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/net/ipv4/
Desp4.c119 struct ip_esp_hdr *esph; in esp_output()
200 esph = ip_esp_hdr(skb); in esp_output()
226 esph = (struct ip_esp_hdr *)(uh + 1); in esp_output()
231 esph = (struct ip_esp_hdr *)(udpdata32 + 2); in esp_output()
282 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()
374 struct ip_esp_hdr *esph; in esp_input()
426 esph = (struct ip_esp_hdr *)skb->data; in esp_input()
483 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in esp4_err()
652 x->props.header_len = sizeof(struct ip_esp_hdr) + in esp_init_state()
Dxfrm4_input.c100 } else if (len > sizeof(struct ip_esp_hdr) && udpdata32[0] != 0) { in xfrm4_udp_encap_rcv()
111 } 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.1.27/net/ipv6/
Desp6.c147 struct ip_esp_hdr *esph; in esp6_output()
227 esph = ip_esp_hdr(skb); in esp6_output()
273 int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); in esp_input_done2()
323 struct ip_esp_hdr *esph; in esp6_input()
380 esph = (struct ip_esp_hdr *)skb->data; in esp6_input()
431 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)(skb->data + offset); in esp6_err()
597 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.1.27/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.1.27/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.1.27/include/uapi/linux/
Dip.h117 struct ip_esp_hdr { struct
/linux-4.1.27/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.1.27/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()