summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-09-06 20:57:57 +0000
committeradrian <adrian@FreeBSD.org>2015-09-06 20:57:57 +0000
commit43407a0ac4540de08599ff5ed02142882313eb6d (patch)
treed13c130b97e30b2e4558a314defd506ac92d1224 /sys/netinet6/in6.h
parentd8aa14f523ce9801a74f30f1aab4cfa7ca030ab7 (diff)
downloadFreeBSD-src-43407a0ac4540de08599ff5ed02142882313eb6d.zip
FreeBSD-src-43407a0ac4540de08599ff5ed02142882313eb6d.tar.gz
Add support for receiving flowtype, flowid and RSS bucket information as part of recvmsg().
Submitted by: Tiwei Bie <btw@mail.ustc.edu.cn> Differential Revision: https://reviews.freebsd.org/D3562
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 50ca387..81d8d31 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -485,6 +485,8 @@ struct route_in6 {
#define IPV6_FLOWID 67 /* int; flowid of given socket */
#define IPV6_FLOWTYPE 68 /* int; flowtype of given socket */
#define IPV6_RSSBUCKETID 69 /* int; RSS bucket ID of given socket */
+#define IPV6_RECVFLOWID 70 /* bool; receive IP6 flowid/flowtype w/ datagram */
+#define IPV6_RECVRSSBUCKETID 71 /* bool; receive IP6 RSS bucket id w/ datagram */
/*
* The following option is private; do not use it from user applications.
OpenPOWER on IntegriCloud