Re: nd6 expire

2013-08-09 Thread Martin Pieuchot
On 08/08/13(Thu) 21:34, Alexander Bluhm wrote: On Thu, Aug 08, 2013 at 01:47:17PM +0200, Martin Pieuchot wrote: On 08/08/13(Thu) 01:06, Alexander Bluhm wrote: Hi, To control the lifetime of IPv6 addresses, prefixes and default routers, the kernel and ndp use a bunch of expire

Re: nd6 expire

2013-08-08 Thread Martin Pieuchot
On 08/08/13(Thu) 01:06, Alexander Bluhm wrote: Hi, To control the lifetime of IPv6 addresses, prefixes and default routers, the kernel and ndp use a bunch of expire fields. Currently they are int or long, but expire should always be time_t. Move vltime and pltime to u_int32_t everywhere.

Re: nd6 expire

2013-08-08 Thread Alexander Bluhm
On Thu, Aug 08, 2013 at 01:47:17PM +0200, Martin Pieuchot wrote: On 08/08/13(Thu) 01:06, Alexander Bluhm wrote: Hi, To control the lifetime of IPv6 addresses, prefixes and default routers, the kernel and ndp use a bunch of expire fields. Currently they are int or long, but expire

nd6 expire

2013-08-07 Thread Alexander Bluhm
Hi, To control the lifetime of IPv6 addresses, prefixes and default routers, the kernel and ndp use a bunch of expire fields. Currently they are int or long, but expire should always be time_t. Move vltime and pltime to u_int32_t everywhere. Sort struct fields by size. Struct