X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fdpif.h;h=0316e13b4d8ee00e5555b39826b5854fd3ee4632;hb=4a4424a7398f09651e6102ebd08a01203e310d98;hp=122c64d8a857289dd044da7971389607f6ee2fe4;hpb=88df6edbfaa4d4943e9f74f79973225c1c53297f;p=sliver-openvswitch.git diff --git a/include/dpif.h b/include/dpif.h index 122c64d8a..0316e13b4 100644 --- a/include/dpif.h +++ b/include/dpif.h @@ -42,7 +42,7 @@ #include #include -struct buffer; +struct ofpbuf; struct ofp_match; /* A datapath interface. Opaque. */ @@ -54,8 +54,8 @@ struct dpif int dpif_open(int dp_idx, bool subscribe, struct dpif *); void dpif_close(struct dpif *); -int dpif_recv_openflow(struct dpif *, struct buffer **, bool wait); -int dpif_send_openflow(struct dpif *, struct buffer *, bool wait); +int dpif_recv_openflow(struct dpif *, struct ofpbuf **, bool wait); +int dpif_send_openflow(struct dpif *, struct ofpbuf *, bool wait); int dpif_add_dp(struct dpif *); int dpif_del_dp(struct dpif *); int dpif_add_port(struct dpif *, const char *netdev);