2 * generic xfrm output routines
4 * Copyright (c) 2003 James Morris <jmorris@intercode.com.au>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
11 #include <linux/config.h>
12 #include <linux/kernel.h>
13 #include <linux/skbuff.h>
16 int xfrm_check_output(struct xfrm_state *x,
17 struct sk_buff *skb, unsigned short family)
21 err = xfrm_state_check_expire(x);
28 err = xfrm4_tunnel_check_size(skb);
32 err = xfrm6_tunnel_check_size(skb);
43 err = xfrm_state_check_space(x, skb);