OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udp: Support for error handlers of tunnels with arbitrary destination port
[uclinux-h8/linux.git]
/
include
/
net
/
ip_tunnels.h
diff --git
a/include/net/ip_tunnels.h
b/include/net/ip_tunnels.h
index
b0d022f
..
db6b221
100644
(file)
--- a/
include/net/ip_tunnels.h
+++ b/
include/net/ip_tunnels.h
@@
-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