Re: [PATCH 3/4 -rev1] Initilize and populate age field

2007-08-06 Thread Varun Chandramohan
Hi Eric, Sorry for the late response. I just need few clarifications. *age = timeval_to_sec(&tv); +NLA_PUT_U32(skb, RTA_AGE, *age); >>> here, what happens if sizeof(time_t) is not 4 ? Did you mean that th

Re: [PATCH 3/4 -rev1] Initilize and populate age field

2007-07-25 Thread Varun Chandramohan
Eric Dumazet wrote: > Varun Chandramohan a écrit : >> Eric Dumazet wrote: >>> Varun Chandramohan a écrit : The age field is filled with the current time at the time of creation of the route. When the routes are dumped then the age value stored in the route structure is subtracted fro

Re: [PATCH 3/4 -rev1] Initilize and populate age field

2007-07-25 Thread Eric Dumazet
Varun Chandramohan a écrit : Eric Dumazet wrote: Varun Chandramohan a écrit : The age field is filled with the current time at the time of creation of the route. When the routes are dumped then the age value stored in the route structure is subtracted from the current time value and the differe

Re: [PATCH 3/4 -rev1] Initilize and populate age field

2007-07-25 Thread Varun Chandramohan
Eric Dumazet wrote: > Varun Chandramohan a écrit : >> The age field is filled with the current time at the time of creation >> of the route. When the routes are dumped >> then the age value stored in the route structure is subtracted from >> the current time value and the difference is the age expr

Re: [PATCH 3/4 -rev1] Initilize and populate age field

2007-07-25 Thread Eric Dumazet
Varun Chandramohan a écrit : The age field is filled with the current time at the time of creation of the route. When the routes are dumped then the age value stored in the route structure is subtracted from the current time value and the difference is the age expressed in secs. Signed-off-by:

[PATCH 3/4 -rev1] Initilize and populate age field

2007-07-25 Thread Varun Chandramohan
The age field is filled with the current time at the time of creation of the route. When the routes are dumped then the age value stored in the route structure is subtracted from the current time value and the difference is the age expressed in secs. Signed-off-by: Varun Chandramohan <[EMAIL PRO