Searched refs:birth (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/ospf6d/
H A Dospf6_lsa.h212 struct timeval birth; /* tv_sec when LS age 0 */ member in struct:ospf6_lsa
H A Dospf6_lsa.c131 /* calculate birth and set expire timer */
143 lsa->birth.tv_sec = now.tv_sec - ntohs (lsa->header->age);
144 lsa->birth.tv_usec = now.tv_usec;
146 lsa->birth.tv_sec + MAXAGE - now.tv_sec);
150 /* this function calculates current age from its birth,
168 ulage = now.tv_sec - lsa->birth.tv_sec;
207 memset (&lsa->birth, 0, sizeof (struct timeval));
577 /* calculate birth, expire and refresh of this lsa */
626 /* calculate birth, expire and refresh of this lsa */

Completed in 67 milliseconds