summaryrefslogtreecommitdiffstats
path: root/include/utils.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2011-02-25 12:54:37 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-02-25 12:54:37 -0800
commit81d03dc356df24d55443535eace247b93ff47b4e (patch)
tree548eb21c3e985530e43ca6c8a3b5e6f616a41644 /include/utils.h
parent9b2cdc00dab7b601938901e20b5e1e66188d388b (diff)
iproute: rename 'get_jiffies' since it uses msecs
The get_jiffies() function retrieves rtt-type values in units of milliseconds. This patch updates the function name accordingly, following the pattern given by dst_metric() <=> dst_metric_rtt().
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils.h b/include/utils.h
index 77c8e5a4..47f8e07d 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -79,7 +79,7 @@ extern int mask2bits(__u32 netmask);
extern int get_integer(int *val, const char *arg, int base);
extern int get_unsigned(unsigned *val, const char *arg, int base);
-extern int get_jiffies(unsigned *val, const char *arg, int *raw);
+extern int get_time_rtt(unsigned *val, const char *arg, int *raw);
#define get_byte get_u8
#define get_ushort get_u16
#define get_short get_s16