X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fdpif.h;h=0316e13b4d8ee00e5555b39826b5854fd3ee4632;hb=f1126f43ad62618cf1b6f6ab48d9635fc5cbcad6;hp=3fd3f6126803df53d374db490f2c7e750b5a4e0d;hpb=3f0201adb5da48e98039e4a7552284b77004784a;p=sliver-openvswitch.git diff --git a/include/dpif.h b/include/dpif.h index 3fd3f6126..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,15 +54,11 @@ 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); int dpif_del_port(struct dpif *, const char *netdev); -int dpif_show(struct dpif *); -int dpif_dump_tables(struct dpif *); -int dpif_dump_flows(struct dpif *, int table, struct ofp_match *); -int dpif_benchmark_nl(struct dpif *, uint32_t, uint32_t); #endif /* dpif.h */