X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ofproto%2Fnetflow.c;h=f1b6fbe2d1a2c4e3d2a186e228deff153aa6136b;hb=4adaf1828a88e0859f1eab1074216da9ba82a71a;hp=0470443bb9059ea2213cc387ef03e1e4cb8fe854;hpb=bdd0bd2873415838643e42a1e4c08319fe8d3b8b;p=cascardo%2Fovs.git diff --git a/ofproto/netflow.c b/ofproto/netflow.c index 0470443bb..f1b6fbe2d 100644 --- a/ofproto/netflow.c +++ b/ofproto/netflow.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2013, 2014 Nicira, Inc. + * Copyright (c) 2008, 2009, 2010, 2011, 2013, 2014, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -90,7 +90,7 @@ static void netflow_expire__(struct netflow *, struct netflow_flow *) static void netflow_run__(struct netflow *) OVS_REQUIRES(mutex); void -netflow_mask_wc(struct flow *flow, struct flow_wildcards *wc) +netflow_mask_wc(const struct flow *flow, struct flow_wildcards *wc) { if (flow->dl_type != htons(ETH_TYPE_IP)) { return; @@ -276,7 +276,8 @@ netflow_expire__(struct netflow *nf, struct netflow_flow *nf_flow) } void -netflow_flow_clear(struct netflow *nf, struct flow *flow) OVS_EXCLUDED(mutex) +netflow_flow_clear(struct netflow *nf, const struct flow *flow) + OVS_EXCLUDED(mutex) { struct netflow_flow *nf_flow;