From 6d70d839471b52aac2db110e19a46301db88d325 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 3 Apr 2014 17:47:37 +0200 Subject: [PATCH] docs: add code comment to explain the meaning of the fields in rtnl_addr_cacheinfo Signed-off-by: Thomas Haller --- include/netlink-private/types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/netlink-private/types.h b/include/netlink-private/types.h index 6f21311..3ff4fe1 100644 --- a/include/netlink-private/types.h +++ b/include/netlink-private/types.h @@ -225,16 +225,16 @@ struct rtnl_neigh struct rtnl_addr_cacheinfo { - /* Preferred lifetime in seconds */ + /* Preferred lifetime in seconds, ticking from when the message gets constructed */ uint32_t aci_prefered; - /* Valid lifetime in seconds */ + /* Valid lifetime in seconds, ticking from when the message gets constructed */ uint32_t aci_valid; - /* Timestamp of creation in 1/100s since boottime */ + /* Timestamp of creation in 1/100s since boottime, clock_gettime(CLOCK_MONOTONIC) */ uint32_t aci_cstamp; - /* Timestamp of last update in 1/100s since boottime */ + /* Timestamp of last update in 1/100s since boottime, clock_gettime(CLOCK_MONOTONIC) */ uint32_t aci_tstamp; };