On Sat, 2005-23-07 at 16:29 +0200, Thomas Graf wrote:

> I think we should head for a 16bit ifindex at some point
> or is there any reason why 65K interfaces wouldn't be
> sufficient?  We waste one bit at the moment to have simpler
> error handling for all the functions returning indices.

Strange, i didnt see my original email echo back to me. Must be the
stupid ISP again. I thought things would work well after we moved to
vger.

ifindex has to be 32 bit because most management apps (SNMP etc) expect
it to be 32 bit. I havent scanned the code but making int actually
doesnt seem right - unless some code is expecting it to be a -ve number
somewhere; it should be type u32.

cheers,
jamal

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to