From 7006c033dce957da321ba8003696b99db5ca7782 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 24 Feb 2011 17:04:47 -0800 Subject: [PATCH] ofproto: Change account_cb to use uint64_t. This is more consistent with ofproto internals and its users. --- ofproto/ofproto.h | 2 +- vswitchd/bridge.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index 7516068f..2828c645 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -154,7 +154,7 @@ struct ofhooks { void (*account_flow_cb)(const struct flow *, tag_type tags, const struct nlattr *odp_actions, size_t actions_len, - unsigned long long int n_bytes, void *aux); + uint64_t n_bytes, void *aux); void (*account_checkpoint_cb)(void *aux); }; void ofproto_revalidate(struct ofproto *, tag_type); diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index a448e05c..eadafb0a 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -3029,7 +3029,7 @@ static void bridge_account_flow_ofhook_cb(const struct flow *flow, tag_type tags, const struct nlattr *actions, size_t actions_len, - unsigned long long int n_bytes, void *br_) + uint64_t n_bytes, void *br_) { struct bridge *br = br_; const struct nlattr *a; -- 2.30.2