[Xorp-hackers] ifa_index is 'int', not u16
Bruce M Simpson
bms at incunabulum.net
Fri Mar 28 13:50:34 PDT 2008
Pavlin Radoslavov wrote:
> Hence I changed the local if_index variable in all leftover places
> from u_short to uint32_t:
>
Thanks for the catch, I must have missed these instances.
The original motivation for the change was that Windows uses 32-bit wide
interface IDs in both the Winsock IPv4 stack and at the NDIS driver layer.
It makes sense to move to 32-bit-wide IDs for scalability anyway.
cheers
BMS
More information about the Xorp-hackers
mailing list