diff options
author | adrian <adrian@FreeBSD.org> | 2014-05-17 00:09:12 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2014-05-17 00:09:12 +0000 |
commit | 784a0cfd01f188b91214b271d574a603f101d41e (patch) | |
tree | 96b42760b8997208b3b1c61289e5867f08dee2af | |
parent | 891a314932ac79589a70281e9f5e5234cf8c6a1f (diff) | |
download | FreeBSD-src-784a0cfd01f188b91214b271d574a603f101d41e.zip FreeBSD-src-784a0cfd01f188b91214b271d574a603f101d41e.tar.gz |
Reserve IP_FLOWID, IP_FLOWTYPE, IP_RSSCPUID socket option IDs for
near-term future use.
These are intended to fetch the current flow id, flow hash type
(M_HASHTYPE_* from the sys/mbuf.h) and if RSS is enabled, the
RSS destined CPU ID for the receive path.
-rw-r--r-- | sys/netinet/in.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index a5008c1..cd89796 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -468,6 +468,9 @@ __END_DECLS #define IP_MINTTL 66 /* minimum TTL for packet or drop */ #define IP_DONTFRAG 67 /* don't fragment packet */ #define IP_RECVTOS 68 /* bool; receive IP TOS w/dgram */ +#define IP_FLOWID 69 /* flow id for the given socket/inp */ +#define IP_FLOWTYPE 70 /* flow type (M_HASHTYPE) */ +#define IP_RSSCPUID 71 /* RSS flowid -> CPU id mapping */ /* IPv4 Source Filter Multicast API [RFC3678] */ #define IP_ADD_SOURCE_MEMBERSHIP 70 /* join a source-specific group */ |