svn commit: r185166 - head/sys/sys

Kip Macy kmacy at FreeBSD.org
Sat Nov 22 00:46:17 PST 2008


Author: kmacy
Date: Sat Nov 22 08:46:16 2008
New Revision: 185166
URL: http://svn.freebsd.org/changeset/base/185166

Log:
  Add flowid to mbuf to allow drivers to uniquely
  identify connection flows to guarantee ordering
  across queues

Modified:
  head/sys/sys/mbuf.h

Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h	Sat Nov 22 08:05:05 2008	(r185165)
+++ head/sys/sys/mbuf.h	Sat Nov 22 08:46:16 2008	(r185166)
@@ -115,6 +115,9 @@ struct pkthdr {
 	/* variables for ip and tcp reassembly */
 	void		*header;	/* pointer to packet header */
 	int		 len;		/* total packet length */
+	uint32_t	 flowid;	/* packet's 4-tuple system 
+					 * flow identifier
+					 */
 	/* variables for hardware checksum */
 	int		 csum_flags;	/* flags regarding checksum */
 	int		 csum_data;	/* data field used by csum routines */


More information about the svn-src-head mailing list