From: Ethan Jackson Date: Fri, 25 Feb 2011 01:04:47 +0000 (-0800) Subject: ofproto: Change account_cb to use uint64_t. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7006c033dce957da321ba8003696b99db5ca7782;p=openvswitch ofproto: Change account_cb to use uint64_t. This is more consistent with ofproto internals and its users. --- 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;