diff options
author | Thomas Haller <thaller@redhat.com> | 2014-04-03 15:47:37 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-04-30 12:34:14 (GMT) |
commit | 6d70d839471b52aac2db110e19a46301db88d325 (patch) | |
tree | 58247bb95f0ce39144312a62524b5d3594be3208 /include/netlink-private | |
parent | a5917da51e114044d48412aca93de57684985d87 (diff) | |
download | libnl-6d70d839471b52aac2db110e19a46301db88d325.zip libnl-6d70d839471b52aac2db110e19a46301db88d325.tar.gz libnl-6d70d839471b52aac2db110e19a46301db88d325.tar.bz2 |
docs: add code comment to explain the meaning of the fields in rtnl_addr_cacheinfo
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include/netlink-private')
-rw-r--r-- | include/netlink-private/types.h | 8 |
1 files 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; }; |