summaryrefslogtreecommitdiff
path: root/include/net/protocol.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-07-26 12:18:11 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-26 15:50:39 -0700
commitc7109986db3c945f50ceed884a30e0fd8af3b89b (patch)
treec0852e90a7d06bdc95a54d6adad19d2a9e3d7d5e /include/net/protocol.h
parentc6cffba4ffa26a8ffacd0bb9f3144e34f20da7de (diff)
downloadlinux-3.10-c7109986db3c945f50ceed884a30e0fd8af3b89b.tar.gz
linux-3.10-c7109986db3c945f50ceed884a30e0fd8af3b89b.tar.bz2
linux-3.10-c7109986db3c945f50ceed884a30e0fd8af3b89b.zip
ipv6: Early TCP socket demux
This is the IPv6 missing bits for infrastructure added in commit 41063e9dd1195 (ipv4: Early TCP socket demux.) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/protocol.h')
-rw-r--r--include/net/protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/protocol.h b/include/net/protocol.h
index 057f2d31556..929528c73fe 100644
--- a/include/net/protocol.h
+++ b/include/net/protocol.h
@@ -52,6 +52,8 @@ struct net_protocol {
#if IS_ENABLED(CONFIG_IPV6)
struct inet6_protocol {
+ void (*early_demux)(struct sk_buff *skb);
+
int (*handler)(struct sk_buff *skb);
void (*err_handler)(struct sk_buff *skb,