From: Ben Pfaff <blp@nicira.com> Date: Wed, 21 May 2008 21:57:15 +0000 (-0700) Subject: Move netdev from switch to lib. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=735683ac615ca00ec62aff107ab1a07df037f543;p=sliver-openvswitch.git Move netdev from switch to lib. This is in preparation for the secure channel wanting to access network devices. --- diff --git a/include/Makefile.am b/include/Makefile.am index 2e3f7e503..b69009733 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -9,6 +9,7 @@ noinst_HEADERS = \ flow.h \ hash.h \ list.h \ + netdev.h \ netlink-protocol.h \ netlink.h \ ofp-print.h \ diff --git a/switch/netdev.h b/include/netdev.h similarity index 100% rename from switch/netdev.h rename to include/netdev.h diff --git a/lib/Makefile.am b/lib/Makefile.am index c34cba433..8448333ee 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -11,6 +11,7 @@ libopenflow_la_SOURCES = \ flow.c \ hash.c \ list.c \ + netdev.c \ ofp-print.c \ poll-loop.c \ queue.c \ diff --git a/switch/netdev.c b/lib/netdev.c similarity index 100% rename from switch/netdev.c rename to lib/netdev.c diff --git a/switch/Makefile.am b/switch/Makefile.am index 7488e0729..c16cef72c 100644 --- a/switch/Makefile.am +++ b/switch/Makefile.am @@ -9,8 +9,6 @@ switch_SOURCES = \ crc32.h \ datapath.c \ datapath.h \ - netdev.c \ - netdev.h \ switch.c \ switch-flow.c \ switch-flow.h \