From f0ca2286d5bd3ff6bd049b76a989310ca700b819 Mon Sep 17 00:00:00 2001 From: Shirley Ma Date: Thu, 16 Oct 2003 11:05:30 -0700 Subject: [IPV6]: MIB fix, provide timestamps in ifa_cacheinfo. --- include/net/if_inet6.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/net') diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index 98f5c9663799..1cba818bc6e6 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h @@ -34,7 +34,8 @@ struct inet6_ifaddr __u32 valid_lft; __u32 prefered_lft; - unsigned long tstamp; + unsigned long cstamp; /* created timestamp */ + unsigned long tstamp; /* updated timestamp */ atomic_t refcnt; spinlock_t lock; @@ -111,6 +112,8 @@ struct ifmcaddr6 atomic_t mca_refcnt; spinlock_t mca_lock; unsigned char mca_crcount; + unsigned long mca_cstamp; + unsigned long mca_tstamp; }; /* Anycast stuff */ @@ -130,6 +133,8 @@ struct ifacaddr6 int aca_users; atomic_t aca_refcnt; spinlock_t aca_lock; + unsigned long aca_cstamp; + unsigned long aca_tstamp; }; #define IFA_HOST IPV6_ADDR_LOOPBACK -- cgit v1.2.3