public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rtnetlink.7: Document struct ifa_cacheinfo
@ 2024-11-05  4:14 Alex Henrie
  2024-11-05  5:53 ` Kuniyuki Iwashima
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Alex Henrie @ 2024-11-05  4:14 UTC (permalink / raw)
  To: linux-man, mtk.manpages, netdev; +Cc: Alex Henrie

struct ifa_cacheinfo contains the address's creation time, update time,
preferred lifetime, and valid lifetime. See
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/if_addr.h?h=v6.11#n60

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 man/man7/rtnetlink.7 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/man/man7/rtnetlink.7 b/man/man7/rtnetlink.7
index 86ed459bb..b05654315 100644
--- a/man/man7/rtnetlink.7
+++ b/man/man7/rtnetlink.7
@@ -176,7 +176,15 @@ IFA_BROADCAST:raw protocol address:broadcast address
 IFA_ANYCAST:raw protocol address:anycast address
 IFA_CACHEINFO:struct ifa_cacheinfo:Address information
 .TE
-.\" FIXME Document struct ifa_cacheinfo
+.IP
+.EX
+struct ifa_cacheinfo {
+    __u32 ifa_prefered; /* Preferred lifetime in seconds, -1 = forever */
+    __u32 ifa_valid;    /* Valid lifetime in seconds, -1 = forever */
+    __u32 cstamp;       /* Creation timestamp in hundredths of seconds */
+    __u32 tstamp;       /* Update timestamp in hundredths of seconds */
+};
+.EE
 .TP
 .B RTM_NEWROUTE
 .TQ
-- 
2.47.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-11-12 23:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05  4:14 [PATCH] rtnetlink.7: Document struct ifa_cacheinfo Alex Henrie
2024-11-05  5:53 ` Kuniyuki Iwashima
2024-11-05 11:33   ` Alejandro Colomar
2024-11-06 17:18     ` Stephen Hemminger
2024-11-06 17:44       ` Alejandro Colomar
2024-11-06 17:48         ` G. Branden Robinson
2024-11-06 17:45       ` G. Branden Robinson
2024-11-06 18:02         ` Alejandro Colomar
2024-11-11  6:17     ` Alex Henrie
2024-11-11  9:34       ` Alejandro Colomar
2024-11-09 16:27 ` Stephen Hemminger
2024-11-11  6:20 ` [PATCH man-pages v2] " Alex Henrie
2024-11-12  1:11   ` Kuniyuki Iwashima
2024-11-12  7:58     ` Alejandro Colomar
2024-11-12 23:26   ` Alejandro Colomar
2024-11-12 23:33     ` Kuniyuki Iwashima
2024-11-12 23:38       ` Alejandro Colomar
2024-11-12 23:46   ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox