dp-packet: Remove ofpbuf dependency.
[cascardo/ovs.git] / lib / stp.h
index 3d13bba..9f945ad 100644 (file)
--- a/lib/stp.h
+++ b/lib/stp.h
@@ -25,7 +25,7 @@
 #include "compiler.h"
 #include "util.h"
 
-struct ofpbuf;
+struct dp_packet;
 
 /* Bridge and port priorities that should be used by default. */
 #define STP_DEFAULT_BRIDGE_PRIORITY 32768
@@ -52,7 +52,7 @@ typedef uint64_t stp_identifier;
 #define STP_MAX_PORTS 255
 void stp_init(void);
 struct stp *stp_create(const char *name, stp_identifier bridge_id,
-                       void (*send_bpdu)(struct ofpbuf *bpdu, int port_no,
+                       void (*send_bpdu)(struct dp_packet *bpdu, int port_no,
                                          void *aux),
                        void *aux);
 struct stp *stp_ref(const struct stp *);