hammer2 - SPAN protocol work, router work
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Aug 2012 06:25:23 +0000 (23:25 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 9 Aug 2012 06:25:23 +0000 (23:25 -0700)
commit29ead430388b5bba37da0a913a4f54a4ba126227
treef381ca3ed231a667fb44d91b003cc187eb9e0c10
parentcf7158008b31a0a05335c5c3d5438de35f5740fc
hammer2 - SPAN protocol work, router work

* Fix SPAN relay sort and sequencing bugs.

* Start reworking the APIs to accomodate routed messages.  Start by
  creating a hammer2_router structure and adjusting most of the msg
  functions to pass it instead of the iocom.

* Fix hammer2_state races by moving the state allocation to
  hammer2_msg_alloc() instead of hammer2_msg_write(). This gives
  code a chance to assign the state->any.* field without having to
  worry about the state getting ripped out from under us.
sbin/hammer2/TODO [new file with mode: 0644]
sbin/hammer2/cmd_debug.c
sbin/hammer2/cmd_service.c
sbin/hammer2/hammer2.h
sbin/hammer2/msg.c
sbin/hammer2/msg_lnk.c
sbin/hammer2/network.h