X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fpinsched.h;h=0bbdbe0793fffcb4b795d472be19ca25d07beeb1;hb=d15a5ee594f46a855788652e687aa5d736d530fb;hp=17e3db1d13659ffe24f060c3ada1dd00141b6c23;hpb=79c9f2ee7883b52860c76c3730725f5731402874;p=sliver-openvswitch.git diff --git a/ofproto/pinsched.h b/ofproto/pinsched.h index 17e3db1d1..0bbdbe079 100644 --- a/ofproto/pinsched.h +++ b/ofproto/pinsched.h @@ -21,15 +21,16 @@ struct ofpbuf; struct switch_status; +struct wdp_packet; -typedef void pinsched_tx_cb(struct ofpbuf *, void *aux); +typedef void pinsched_tx_cb(struct wdp_packet *, void *aux); struct pinsched *pinsched_create(int rate_limit, int burst_limit, struct switch_status *); void pinsched_get_limits(const struct pinsched *, int *rate_limit, int *burst_limit); void pinsched_set_limits(struct pinsched *, int rate_limit, int burst_limit); void pinsched_destroy(struct pinsched *); -void pinsched_send(struct pinsched *, uint16_t port_no, struct ofpbuf *, +void pinsched_send(struct pinsched *, uint16_t port_no, struct wdp_packet *, pinsched_tx_cb *, void *aux); void pinsched_run(struct pinsched *, pinsched_tx_cb *, void *aux); void pinsched_wait(struct pinsched *);