summaryrefslogtreecommitdiffstats
path: root/include/linux/in6.h
diff options
context:
space:
mode:
authorBalazs Scheidler <bazsi@balabit.hu>2010-10-21 16:08:28 +0200
committerPatrick McHardy <kaber@trash.net>2010-10-21 16:08:28 +0200
commit6c46862280c5f55eda7750391bc65cd7e08c7535 (patch)
tree51d670eebe49ff8f6c3f903f77d44230849f7583 /include/linux/in6.h
parentaa976fc011efa1f0e3290c6c9addf7c20757f885 (diff)
downloadlinux-6c46862280c5f55eda7750391bc65cd7e08c7535.tar.gz
linux-6c46862280c5f55eda7750391bc65cd7e08c7535.tar.bz2
linux-6c46862280c5f55eda7750391bc65cd7e08c7535.zip
tproxy: added tproxy sockopt interface in the IPV6 layer
Support for IPV6_RECVORIGDSTADDR sockopt for UDP sockets were contributed by Harry Mason. Signed-off-by: Balazs Scheidler <bazsi@balabit.hu> Signed-off-by: KOVACS Krisztian <hidden@balabit.hu> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/in6.h')
-rw-r--r--include/linux/in6.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/in6.h b/include/linux/in6.h
index c4bf46f764bf..097a34b55560 100644
--- a/include/linux/in6.h
+++ b/include/linux/in6.h
@@ -268,6 +268,10 @@ struct in6_flowlabel_req {
/* RFC5082: Generalized Ttl Security Mechanism */
#define IPV6_MINHOPCOUNT 73
+#define IPV6_ORIGDSTADDR 74
+#define IPV6_RECVORIGDSTADDR IPV6_ORIGDSTADDR
+#define IPV6_TRANSPARENT 75
+
/*
* Multicast Routing:
* see include/linux/mroute6.h.