X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fstp.h;h=9f945ad21db57eb0f1762a3ce14402d910ae7cda;hb=cf62fa4c7074121184a1f1d07980990113657612;hp=3d13bbaea207b7d873804351bac8d5c0537aa8db;hpb=e14deea0bd133796872d06f39a14d0393880f5bb;p=cascardo%2Fovs.git diff --git a/lib/stp.h b/lib/stp.h index 3d13bbaea..9f945ad21 100644 --- 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 *);