4 #include <linux/skbuff.h>
8 static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)
10 return (struct ip_esp_hdr *)skb_transport_header(skb);
14 struct ip_esp_hdr *esph;
26 int esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
27 int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
28 int esp_input_done2(struct sk_buff *skb, int err);
29 int esp6_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
30 int esp6_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
31 int esp6_input_done2(struct sk_buff *skb, int err);