wdp: Add new wdp_class member function 'recv_purge'.
authorBen Pfaff <blp@nicira.com>
Tue, 29 Jun 2010 23:10:57 +0000 (16:10 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 29 Jun 2010 23:14:22 +0000 (16:14 -0700)
commit62a6e0437b6dbe455ac617744ae70529ecb22162
tree42d1d481659e8b943feed9b6403f61c0c7b693cf
parent19d8c0d4606f7b2343d2499f06d4075481805534
wdp: Add new wdp_class member function 'recv_purge'.

The wdp_stats structure is really a relic from the "master" branch.  Many
of its members do not make sense in a switch that might have an arbitrary
number of tables.  There are only a few users of this structure.  This
commit gets rid of one of these users by adding a new member function in
place of building generic functionality on top of wdp_stats information.
ofproto/wdp-provider.h
ofproto/wdp-xflow.c
ofproto/wdp.c