X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif.h;h=45c78a55071ce32525f3c884ce2c7a5e50a5ea5b;hb=7bcb1506ee2de6a460db35404e642f21d8219b5f;hp=768934b15563852ce4ea11b6df9ae3fc3e923e0b;hpb=b99d3ceeedd2c5533c13f9794616fc6d9c49c0de;p=openvswitch diff --git a/lib/dpif.h b/lib/dpif.h index 768934b1..45c78a55 100644 --- a/lib/dpif.h +++ b/lib/dpif.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -129,7 +129,7 @@ struct dpif_flow_stats { }; void dpif_flow_stats_extract(const struct flow *, const struct ofpbuf *packet, - struct dpif_flow_stats *); + long long int used, struct dpif_flow_stats *); void dpif_flow_stats_format(const struct dpif_flow_stats *, struct ds *); enum dpif_flow_put_flags { @@ -251,7 +251,7 @@ struct dpif_upcall { }; int dpif_recv_set(struct dpif *, bool enable); -int dpif_recv(struct dpif *, struct dpif_upcall *); +int dpif_recv(struct dpif *, struct dpif_upcall *, struct ofpbuf *); void dpif_recv_purge(struct dpif *); void dpif_recv_wait(struct dpif *);