tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patch to implement SIOCGIFINDEX



On Apr 2, 2013, at 5:31 PM, Matt Thomas <matt%3am-software.com@localhost> wrote:

> Note that ifindex'es on NetBSD are not reused.
> 
> Which is one reason I choose them for this.

They are, unless I misunderstand what you mean by "reused"?

ifconfig vcan1 create
# test program shows vcan1 is #4
ifconfig vcan1 destroy
ifconfig lo1 create
# lo1 is #4
ifconfig vcan1 create
# vcan1 is now #5



Home | Main Index | Thread Index | Old Index