freebsd-skq/sys/netinet6
hiren b09afc6f3f MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@
r275358:
Start process of removing the use of the deprecated "M_FLOWID" flag
from the FreeBSD network code. The flag is still kept around in the
"sys/mbuf.h" header file, but does no longer have any users. Instead
the "m_pkthdr.rsstype" field in the mbuf structure is now used to
decide the meaning of the "m_pkthdr.flowid" field. To modify the
"m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX"
macros as defined in the "sys/mbuf.h" header file.

This patch introduces new behaviour in the transmit direction.
Previously network drivers checked if "M_FLOWID" was set in "m_flags"
before using the "m_pkthdr.flowid" field. This check has now now been
replaced by checking if "M_HASHTYPE_GET(m)" is different from
"M_HASHTYPE_NONE". In the future more hashtypes will be added, for
example hashtypes for hardware dedicated flows.

"M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is
valid and has no particular type. This change removes the need for an
"if" statement in TCP transmit code checking for the presence of a
valid flowid value. The "if" statement mentioned above is now a direct
variable assignment which is then later checked by the respective
network drivers like before.

r275483:
Remove M_FLOWID from SCTP code.

r276982:
Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr
manpage.

Note: The FreeBSD version has been bumped.

Reviewed by:    hps, tuexen
Sponsored by:   Limelight Networks
2015-04-24 23:26:44 +00:00
..
dest6.c Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. 2013-04-09 07:11:22 +00:00
frag6.c Update comment from draft to RFC number. 2013-09-22 14:53:07 +00:00
icmp6.c MFC r275394: 2014-12-16 11:53:45 +00:00
icmp6.h
in6_cksum.c MFC r272404: 2014-10-06 17:08:19 +00:00
in6_gif.c MFC r273087 (with modifications): 2014-12-23 16:33:44 +00:00
in6_gif.h MFC r273087 (with modifications): 2014-12-23 16:33:44 +00:00
in6_ifattach.c MFC r264212,r264213,r264248,r265776,r265811,r265909: 2014-05-13 06:05:53 +00:00
in6_ifattach.h Use FF02:0:0:0:0:2:FF00::/104 prefix for IPv6 Node Information Group 2013-05-04 19:16:26 +00:00
in6_mcast.c MFC r281380: 2015-04-24 02:12:25 +00:00
in6_pcb.c MFC r279588: 2015-03-12 09:04:19 +00:00
in6_pcb.h Remove __P. 2012-10-22 21:49:56 +00:00
in6_pcbgroup.c Implement a CPU-affine TCP and UDP connection lookup data structure, 2011-06-06 12:55:02 +00:00
in6_proto.c MFC r264212,r264213,r264248,r265776,r265811,r265909: 2014-05-13 06:05:53 +00:00
in6_rmx.c Merge r262763, r262767, r262771, r262806 from head: 2014-03-21 15:15:30 +00:00
in6_src.c MFC r271307: 2014-10-09 02:49:33 +00:00
in6_var.h MFC r271307: 2014-10-09 02:49:33 +00:00
in6.c MFC r274988 (with modification): 2015-04-22 20:42:17 +00:00
in6.h MFC r272404: 2014-10-06 17:08:19 +00:00
ip6_ecn.h
ip6_forward.c MFC r266800 by vanhu: 2014-11-05 09:23:29 +00:00
ip6_id.c - Use time_uptime instead of time_second in data structures for 2013-08-05 20:13:02 +00:00
ip6_input.c MFC r279588: 2015-03-12 09:04:19 +00:00
ip6_ipsec.c MFC r274434: 2014-11-20 18:49:11 +00:00
ip6_ipsec.h MFC r266800 by vanhu: 2014-11-05 09:23:29 +00:00
ip6_mroute.c MFC: r261710 2014-03-12 08:15:15 +00:00
ip6_mroute.h MFC r260485,260496: 2014-01-28 00:30:17 +00:00
ip6_output.c MFC r279588: 2015-03-12 09:04:19 +00:00
ip6_var.h MFC r279588: 2015-03-12 09:04:19 +00:00
ip6.h
ip6protosw.h Remove __P. 2012-10-22 21:49:56 +00:00
mld6_var.h
mld6.c Restructure the mbuf pkthdr to make it fit for upcoming capabilities and 2013-08-24 19:51:18 +00:00
mld6.h
nd6_nbr.c MFC r281309: 2015-04-22 19:41:29 +00:00
nd6_rtr.c Improve patch for SA-15:04.igmp to solve a potential buffer overflow. 2015-04-07 20:20:24 +00:00
nd6.c MFC r274988 (with modification): 2015-04-22 20:42:17 +00:00
nd6.h Add const qualifier to the dst parameter of the ifnet if_output method. 2013-04-26 12:50:32 +00:00
pim6_var.h Remove most of the remaining sysctl name list macros. They were only 2013-08-26 18:16:05 +00:00
pim6.h
raw_ip6.c Remove the large part of struct ipsecstat. Only few fields of this 2013-07-23 14:14:24 +00:00
raw_ip6.h Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters. 2013-07-09 09:54:54 +00:00
route6.c Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. 2013-04-09 07:11:22 +00:00
scope6_var.h MFC r270348: 2014-09-06 04:39:26 +00:00
scope6.c MFC r270348: 2014-09-06 04:39:26 +00:00
sctp6_usrreq.c MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@ 2015-04-24 23:26:44 +00:00
sctp6_var.h Add support for SCTP/UDP/IPV6. 2012-11-17 20:04:04 +00:00
send.c Implement the ip, tcp, and udp DTrace providers. The probe definitions use 2013-08-25 21:54:41 +00:00
send.h Use uint8_t for sockaddr sa_len. 2011-06-05 11:40:30 +00:00
tcp6_var.h Remove __P. 2012-10-22 21:49:56 +00:00
udp6_usrreq.c MFC r272886: 2015-01-27 06:19:30 +00:00
udp6_var.h MFC r264212,r264213,r264248,r265776,r265811,r265909: 2014-05-13 06:05:53 +00:00