OSDN Git Service

udp: Support for error handlers of tunnels with arbitrary destination port
[uclinux-h8/linux.git] / include / net / ip_tunnels.h
index b0d022f..db6b221 100644 (file)
@@ -311,6 +311,7 @@ struct ip_tunnel_encap_ops {
        size_t (*encap_hlen)(struct ip_tunnel_encap *e);
        int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
                            u8 *protocol, struct flowi4 *fl4);
+       int (*err_handler)(struct sk_buff *skb, u32 info);
 };
 
 #define MAX_IPTUN_ENCAP_OPS 8