]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/net/esp.h
117652eb6ea32a836cd269f01e70f0e3c990fbc7
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
);