what is the story on if_index allocation ?

Bruce M Simpson bms at spc.org
Tue Apr 20 07:10:19 PDT 2004


On Mon, Apr 19, 2004 at 03:43:30PM -0700, Bill Fumerola wrote:
> On Mon, Apr 19, 2004 at 12:28:23PM -0700, Julian Elischer wrote:
> > It's completely un-needed except that some standards want to access 
> > interfaces by index for statitics purposes.
> 
> they're "un-needed" in much the same way that statically assigning disk
> numbers is "un-needed". sure, the disks don't light on fire without it,
> but some consistancy and persistance does make things nice.

My very own AODV routing daemon uses the if_index to track interfaces going
away and coming back...

BMS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 167 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040420/7d15fc87/attachment.bin


More information about the freebsd-net mailing list