X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ofproto%2Fpinsched.c;h=d81c9b305323058523ca8086719cea042e61e2e3;hb=ac6d120f8e8ad1802b7d89dcf3c6e6d9d399cdf7;hp=d769a5378e459e28c060d7f2662d8fec46d4853a;hpb=d668c4a94192269235510fa7d23e324ed1155a78;p=cascardo%2Fovs.git diff --git a/ofproto/pinsched.c b/ofproto/pinsched.c index d769a5378..d81c9b305 100644 --- a/ofproto/pinsched.c +++ b/ofproto/pinsched.c @@ -32,12 +32,12 @@ #include "sat-math.h" #include "timeval.h" #include "openvswitch/token-bucket.h" -#include "vconn.h" +#include "openvswitch/vconn.h" struct pinqueue { struct hmap_node node; /* In struct pinsched's 'queues' hmap. */ - ofp_port_t port_no; /* Port number. */ - struct list packets; /* Contains "struct ofpbuf"s. */ + ofp_port_t port_no; /* Port number. */ + struct ovs_list packets; /* Contains "struct ofpbuf"s. */ int n; /* Number of packets in 'packets'. */ }; @@ -183,7 +183,7 @@ get_token(struct pinsched *ps) void pinsched_send(struct pinsched *ps, ofp_port_t port_no, - struct ofpbuf *packet, struct list *txq) + struct ofpbuf *packet, struct ovs_list *txq) { list_init(txq); if (!ps) { @@ -215,7 +215,7 @@ pinsched_send(struct pinsched *ps, ofp_port_t port_no, } void -pinsched_run(struct pinsched *ps, struct list *txq) +pinsched_run(struct pinsched *ps, struct ovs_list *txq) { list_init(txq); if (ps) {