projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Don't track IP TOS value two different ways.
[openvswitch]
/
lib
/
stp.c
diff --git
a/lib/stp.c
b/lib/stp.c
index 6fad3a08e1b8e267a2c1d28dc76fb91dfec9f4b4..c5c8b3ba8a11238621b13f33b5ca4004cde373a0 100644
(file)
--- a/
lib/stp.c
+++ b/
lib/stp.c
@@
-17,7
+17,11
@@
/* Based on sample implementation in 802.1D-1998. Above copyright and license
* applies to all modifications. */
/* Based on sample implementation in 802.1D-1998. Above copyright and license
* applies to all modifications. */
+#include <config.h>
+
#include "stp.h"
#include "stp.h"
+#include <sys/types.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <assert.h>
#include <inttypes.h>
#include <arpa/inet.h>
#include <assert.h>
#include <inttypes.h>
@@
-25,10
+29,10
@@
#include "ofpbuf.h"
#include "packets.h"
#include "util.h"
#include "ofpbuf.h"
#include "packets.h"
#include "util.h"
+#include "vlog.h"
#include "xtoxll.h"
#include "xtoxll.h"
-#include "vlog.h"
-#define THIS_MODULE VLM_stp
+VLOG_DEFINE_THIS_MODULE(stp)
/* Ethernet address used as the destination for STP frames. */
const uint8_t stp_eth_addr[ETH_ADDR_LEN]
/* Ethernet address used as the destination for STP frames. */
const uint8_t stp_eth_addr[ETH_ADDR_LEN]