diff options
author | Ben Pfaff <blp@nicira.com> | 2015-07-22 12:16:42 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-07-23 15:48:51 -0700 |
commit | 44dbb3e4bd085588a1ebc70d9a25d2ed6b63e18b (patch) | |
tree | a3a5824b26c3c1d879ba17b90b0d83edaf192ab2 /ofproto/netflow.c | |
parent | d33340a56b2dbeff00a2503e5d3afb11c226e6b4 (diff) | |
download | openvswitch-44dbb3e4bd085588a1ebc70d9a25d2ed6b63e18b.tar.gz |
netflow: Mark some function parameters 'const'.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'ofproto/netflow.c')
-rw-r--r-- | ofproto/netflow.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; |