flow: Move flow_extract_stats() to dpif.c, as dpif_flow_stats_extract().
authorBen Pfaff <blp@nicira.com>
Thu, 29 Sep 2011 22:36:14 +0000 (15:36 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 30 Sep 2011 15:58:10 +0000 (08:58 -0700)
commit572b70687b27ef6fdd1ed90d1ac932d6de35701f
tree9d648b8dfbf7e0f06ea841154f02a667d8218ac6
parenta946b636edd932994a8972cf23168e4c08b21e8e
flow: Move flow_extract_stats() to dpif.c, as dpif_flow_stats_extract().

The "flow" module is concerned only with OpenFlow flows these days.  It
shouldn't have anything to do with ODP or dpifs.  However, it included
dpif.h just to implement flow_extract_stats().  This function is a better
fit for dpif.c, so this commit moves it there and removes the dpif.h
#include from flow.h and flow.c

This commit also removes a few more dpif.h #includes that weren't needed.
lib/dpif.c
lib/dpif.h
lib/flow.c
lib/flow.h
ofproto/in-band.c
ofproto/ofproto-dpif.c