summaryrefslogtreecommitdiff
path: root/routing_table_entry.h
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-08-10 17:14:46 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-11 05:37:57 +0000
commit7fab89734d88724a288e96a9996b15548c5294c7 (patch)
treeec3fa83e9f1b0bb8647e94890f7b963b653c6215 /routing_table_entry.h
parent73dd0dcf5a44ee14eac2de389c9ba967a449a20d (diff)
downloadshill-7fab89734d88724a288e96a9996b15548c5294c7.tar.gz
shill: Use integer types from stdint.h
This CL replaces the deprecated int* and uint* types from 'base/basictypes.h' with the int*_t and uint*_t types from 'stdint.h'. BUG=chromium:401356 TEST=`USE='cellular gdmwimax wimax' FEATURES=test emerge-$BOARD platform2` Change-Id: I3d4c195881203dd2a47dbb5af150b6c90b9c206e Reviewed-on: https://chromium-review.googlesource.com/211770 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>
Diffstat (limited to 'routing_table_entry.h')
-rw-r--r--routing_table_entry.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/routing_table_entry.h b/routing_table_entry.h
index a0e8c23d..c34d98d5 100644
--- a/routing_table_entry.h
+++ b/routing_table_entry.h
@@ -30,7 +30,7 @@ struct RoutingTableEntry {
RoutingTableEntry(const IPAddress &dst_in,
const IPAddress &src_in,
const IPAddress &gateway_in,
- uint32 metric_in,
+ uint32_t metric_in,
unsigned char scope_in,
bool from_rtnl_in)
: dst(dst_in),
@@ -44,7 +44,7 @@ struct RoutingTableEntry {
RoutingTableEntry(const IPAddress &dst_in,
const IPAddress &src_in,
const IPAddress &gateway_in,
- uint32 metric_in,
+ uint32_t metric_in,
unsigned char scope_in,
bool from_rtnl_in,
int tag_in)
@@ -92,7 +92,7 @@ struct RoutingTableEntry {
IPAddress dst;
IPAddress src;
IPAddress gateway;
- uint32 metric;
+ uint32_t metric;
unsigned char scope;
bool from_rtnl;
int tag;