Skip to content

Commit

Permalink
Move lib/match.h to include/openvswitch directory
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Warren <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
Ben Warren authored and blp committed Apr 14, 2016
1 parent b129cc9 commit e29747e
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 22 deletions.
1 change: 1 addition & 0 deletions include/openvswitch/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ openvswitchinclude_HEADERS = \
include/openvswitch/geneve.h \
include/openvswitch/list.h \
include/openvswitch/netdev.h \
include/openvswitch/match.h \
include/openvswitch/ofpbuf.h \
include/openvswitch/ofp-errors.h \
include/openvswitch/ofp-parse.h \
Expand Down
10 changes: 5 additions & 5 deletions lib/match.h → include/openvswitch/match.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* limitations under the License.
*/

#ifndef MATCH_H
#define MATCH_H 1
#ifndef OPENVSWITCH_MATCH_H
#define OPENVSWITCH_MATCH_H 1

#include "flow.h"
#include "packets.h"
#include "tun-metadata.h"
#include "openvswitch/flow.h"
#include "openvswitch/packets.h"
#include "openvswitch/tun-metadata.h"

struct ds;

Expand Down
1 change: 0 additions & 1 deletion lib/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ lib_libopenvswitch_la_SOURCES = \
lib/mac-learning.c \
lib/mac-learning.h \
lib/match.c \
lib/match.h \
lib/mcast-snooping.c \
lib/mcast-snooping.h \
lib/memory.c \
Expand Down
2 changes: 1 addition & 1 deletion lib/classifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
* parallel to the rule's removal. */

#include "cmap.h"
#include "match.h"
#include "openvswitch/match.h"
#include "meta-flow.h"
#include "pvector.h"
#include "rculist.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/dpctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "dpif.h"
#include "openvswitch/dynamic-string.h"
#include "flow.h"
#include "match.h"
#include "openvswitch/match.h"
#include "netdev.h"
#include "netdev-dpdk.h"
#include "netlink.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/dpif-netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include "hmapx.h"
#include "latch.h"
#include "openvswitch/list.h"
#include "match.h"
#include "openvswitch/match.h"
#include "netdev.h"
#include "netdev-dpdk.h"
#include "netdev-vport.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "openvswitch/dynamic-string.h"
#include "hash.h"
#include "jhash.h"
#include "match.h"
#include "openvswitch/match.h"
#include "dp-packet.h"
#include "openflow/openflow.h"
#include "packets.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/learn.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "byte-order.h"
#include "colors.h"
#include "openvswitch/dynamic-string.h"
#include "match.h"
#include "openvswitch/match.h"
#include "meta-flow.h"
#include "nx-match.h"
#include "ofp-actions.h"
Expand Down
3 changes: 2 additions & 1 deletion lib/match.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
*/

#include <config.h>
#include "match.h"
#include "openvswitch/match.h"
#include <stdlib.h>
#include "flow.h"
#include "byte-order.h"
#include "colors.h"
#include "openvswitch/dynamic-string.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/ofp-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "compiler.h"
#include "flow.h"
#include "openvswitch/list.h"
#include "match.h"
#include "openvswitch/match.h"
#include "meta-flow.h"
#include "netdev.h"
#include "openflow/netronome-ext.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/tun-metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "bitmap.h"
#include "compiler.h"
#include "hmap.h"
#include "match.h"
#include "openvswitch/match.h"
#include "nx-match.h"
#include "odp-netlink.h"
#include "ofp-util.h"
Expand Down
2 changes: 1 addition & 1 deletion ofproto/bond.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "dp-packet.h"
#include "poll-loop.h"
#include "seq.h"
#include "match.h"
#include "openvswitch/match.h"
#include "shash.h"
#include "timeval.h"
#include "unixctl.h"
Expand Down
2 changes: 1 addition & 1 deletion ofproto/connmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "classifier.h"
#include "hmap.h"
#include "openvswitch/list.h"
#include "match.h"
#include "openvswitch/match.h"
#include "ofp-util.h"
#include "ofproto.h"
#include "ofproto-provider.h"
Expand Down
2 changes: 1 addition & 1 deletion ovn/controller/ofctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "dirs.h"
#include "openvswitch/dynamic-string.h"
#include "hmap.h"
#include "match.h"
#include "openvswitch/match.h"
#include "ofp-actions.h"
#include "ofp-msgs.h"
#include "ofp-print.h"
Expand Down
2 changes: 1 addition & 1 deletion ovn/controller/physical.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <config.h>
#include "physical.h"
#include "lflow.h"
#include "match.h"
#include "openvswitch/match.h"
#include "ofctrl.h"
#include "ofp-actions.h"
#include "openvswitch/ofpbuf.h"
Expand Down
2 changes: 1 addition & 1 deletion ovn/lib/expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "json.h"
#include "lex.h"
#include "logical-fields.h"
#include "match.h"
#include "openvswitch/match.h"
#include "ofp-actions.h"
#include "shash.h"
#include "simap.h"
Expand Down
2 changes: 1 addition & 1 deletion ovn/lib/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include "lex.h"
#include "hmap.h"
#include "openvswitch/list.h"
#include "match.h"
#include "openvswitch/match.h"
#include "meta-flow.h"

struct ds;
Expand Down
2 changes: 1 addition & 1 deletion tests/test-odp.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <stdio.h>
#include "openvswitch/dynamic-string.h"
#include "flow.h"
#include "match.h"
#include "openvswitch/match.h"
#include "openvswitch/ofpbuf.h"
#include "ovstest.h"
#include "util.h"
Expand Down
2 changes: 1 addition & 1 deletion tests/test-ovn.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <sys/wait.h>
#include "openvswitch/dynamic-string.h"
#include "fatal-signal.h"
#include "match.h"
#include "openvswitch/match.h"
#include "ofp-actions.h"
#include "openvswitch/ofpbuf.h"
#include "ovn/lib/actions.h"
Expand Down

0 comments on commit e29747e

Please sign in to comment.