]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r216758,217252:
authorlstewart <lstewart@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 28 May 2011 08:13:39 +0000 (08:13 +0000)
committerlstewart <lstewart@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 28 May 2011 08:13:39 +0000 (08:13 +0000)
commitae8a8673fa5e15cab60c7bf413c9fd154415ac2b
tree5abf7950e02fef4f98034665018ae03d1e16184d
parent27af057e4e536124a1ef564cf8fa94f4e1dd6d2c
MFC r216758,217252:

- Add some helper hook points to the TCP stack. The hooks allow Khelp modules to
  access inbound/outbound events and associated data for established TCP
  connections. The hooks only run if at least one hook function is registered
  for the hook point, ensuring the impact on the stack is effectively nil when
  no TCP Khelp modules are loaded. struct tcp_hhook_data is passed as contextual
  data to any registered Khelp module hook functions.

- Add an OSD (Object Specific Data) pointer to struct tcpcb to allow Khelp
  modules to associate per-connection data with the TCP control block.

- Tweak the MFCed code to preserve the ABI of the 8-STABLE branch with respect
  to "struct tcpcb" by consuming some of the padding within the struct.

- Bump __FreeBSD_version to 802506.

In collaboration with: David Hayes <dahayes at swin edu au> and
Grenville Armitage <garmitage at swin edu au>
Sponsored by: FreeBSD Foundation
Reviewed by: bz, others along the way

git-svn-id: svn://svn.freebsd.org/base/stable/8@222408 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_input.c
sys/netinet/tcp_output.c
sys/netinet/tcp_subr.c
sys/netinet/tcp_var.h
sys/sys/param.h