summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorFlorent Fourcot2014-01-17 17:15:03 +0100
committerDavid S. Miller2014-01-20 02:12:31 +0100
commitdf3687ffc6653e4d32168338b4dee20c164ed7c9 (patch)
tree5600a02ddadc63d45a49964db3f9ac02f34e29e6 /include/uapi
parentipv4: be friend with drop monitor (diff)
downloadkernel-qcow2-linux-df3687ffc6653e4d32168338b4dee20c164ed7c9.tar.gz
kernel-qcow2-linux-df3687ffc6653e4d32168338b4dee20c164ed7c9.tar.xz
kernel-qcow2-linux-df3687ffc6653e4d32168338b4dee20c164ed7c9.zip
ipv6: add the IPV6_FL_F_REFLECT flag to IPV6_FL_A_GET
With this option, the socket will reply with the flow label value read on received packets. The goal is to have a connection with the same flow label in both direction of the communication. Changelog of V4: * Do not erase the flow label on the listening socket. Use pktopts to store the received value Signed-off-by: Florent Fourcot <florent.fourcot@enst-bretagne.fr> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/in6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/in6.h b/include/uapi/linux/in6.h
index f94f1d013bf2..02c0cd685a27 100644
--- a/include/uapi/linux/in6.h
+++ b/include/uapi/linux/in6.h
@@ -85,6 +85,7 @@ struct in6_flowlabel_req {
#define IPV6_FL_F_CREATE 1
#define IPV6_FL_F_EXCL 2
+#define IPV6_FL_F_REFLECT 4
#define IPV6_FL_S_NONE 0
#define IPV6_FL_S_EXCL 1