diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/xfrm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index d9c40e713184..eed48f832ce1 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -265,6 +265,7 @@ struct xfrm_type | |||
265 | void (*destructor)(struct xfrm_state *); | 265 | void (*destructor)(struct xfrm_state *); |
266 | int (*input)(struct xfrm_state *, struct sk_buff *skb); | 266 | int (*input)(struct xfrm_state *, struct sk_buff *skb); |
267 | int (*output)(struct xfrm_state *, struct sk_buff *pskb); | 267 | int (*output)(struct xfrm_state *, struct sk_buff *pskb); |
268 | int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **); | ||
268 | /* Estimate maximal size of result of transformation of a dgram */ | 269 | /* Estimate maximal size of result of transformation of a dgram */ |
269 | u32 (*get_max_size)(struct xfrm_state *, int size); | 270 | u32 (*get_max_size)(struct xfrm_state *, int size); |
270 | }; | 271 | }; |
@@ -960,6 +961,8 @@ extern u32 xfrm6_tunnel_alloc_spi(xfrm_address_t *saddr); | |||
960 | extern void xfrm6_tunnel_free_spi(xfrm_address_t *saddr); | 961 | extern void xfrm6_tunnel_free_spi(xfrm_address_t *saddr); |
961 | extern u32 xfrm6_tunnel_spi_lookup(xfrm_address_t *saddr); | 962 | extern u32 xfrm6_tunnel_spi_lookup(xfrm_address_t *saddr); |
962 | extern int xfrm6_output(struct sk_buff *skb); | 963 | extern int xfrm6_output(struct sk_buff *skb); |
964 | extern int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb, | ||
965 | u8 **prevhdr); | ||
963 | 966 | ||
964 | #ifdef CONFIG_XFRM | 967 | #ifdef CONFIG_XFRM |
965 | extern int xfrm4_rcv_encap(struct sk_buff *skb, __u16 encap_type); | 968 | extern int xfrm4_rcv_encap(struct sk_buff *skb, __u16 encap_type); |