Move netdev from switch to lib.
authorBen Pfaff <blp@nicira.com>
Wed, 21 May 2008 21:57:15 +0000 (14:57 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 28 May 2008 17:46:54 +0000 (10:46 -0700)
This is in preparation for the secure channel wanting to access
network devices.

include/Makefile.am
include/netdev.h [moved from switch/netdev.h with 100% similarity]
lib/Makefile.am
lib/netdev.c [moved from switch/netdev.c with 100% similarity]
switch/Makefile.am

index 2e3f7e5..b690097 100644 (file)
@@ -9,6 +9,7 @@ noinst_HEADERS = \
        flow.h \
        hash.h \
        list.h \
+       netdev.h \
        netlink-protocol.h \
        netlink.h \
        ofp-print.h \
similarity index 100%
rename from switch/netdev.h
rename to include/netdev.h
index c34cba4..8448333 100644 (file)
@@ -11,6 +11,7 @@ libopenflow_la_SOURCES = \
        flow.c \
        hash.c \
        list.c \
+       netdev.c \
        ofp-print.c \
        poll-loop.c \
        queue.c \
similarity index 100%
rename from switch/netdev.c
rename to lib/netdev.c
index 7488e07..c16cef7 100644 (file)
@@ -9,8 +9,6 @@ switch_SOURCES = \
        crc32.h \
        datapath.c \
        datapath.h \
-       netdev.c \
-       netdev.h \
        switch.c \
        switch-flow.c \
        switch-flow.h \