Factor out code for composing benign packets.
authorBen Pfaff <blp@nicira.com>
Tue, 15 Sep 2009 22:22:17 +0000 (15:22 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 16 Sep 2009 22:12:27 +0000 (15:12 -0700)
commitb9e8b45a3936441bd0fd1fd156cae498bf72cac8
treefe6401763714e1fa2f52ab3eafd5400b7135417b
parent72aa493e2fb881d873c82d31bc4b585dd608db48
Factor out code for composing benign packets.

The bonding code in vswitch sends out gratuitous learning packets that
are supposed to teach switches but not cause anything else to happen on
the network.  Some upcoming code wants to synthesize packets with similar
properties, so factor this code into a new function so that it can be
used in both places.
lib/automake.mk
lib/packets.c [new file with mode: 0644]
lib/packets.h
vswitchd/bridge.c