1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/skbuff.h>
9 static inline struct ip_esp_hdr
*ip_esp_hdr(const struct sk_buff
*skb
)
11 return (struct ip_esp_hdr
*)skb_transport_header(skb
);
15 struct ip_esp_hdr
*esph
;
27 int esp_output_head(struct xfrm_state
*x
, struct sk_buff
*skb
, struct esp_info
*esp
);
28 int esp_output_tail(struct xfrm_state
*x
, struct sk_buff
*skb
, struct esp_info
*esp
);
29 int esp_input_done2(struct sk_buff
*skb
, int err
);
30 int esp6_output_head(struct xfrm_state
*x
, struct sk_buff
*skb
, struct esp_info
*esp
);
31 int esp6_output_tail(struct xfrm_state
*x
, struct sk_buff
*skb
, struct esp_info
*esp
);
32 int esp6_input_done2(struct sk_buff
*skb
, int err
);