search for: siocgifnam

Displaying 2 results from an estimated 2 matches for "siocgifnam".

Did you mean: siocgifname
2007 Apr 18
1
[Bridge] Little problem with 1.x versions (if_indextoname)
...use version 1.0.3 I have the problem that I do not see the brige with the 'brctl show' command if it is not fully set up. It was working with 0.9.6. I tracked the problem down to an 'incompatibility' in bridge/uClibc/kernel. 0.9.6 uses its own if_indextoname function which uses the SIOCGIFNAME ioctl which works with the kernel. Version 1.x uses the libc if_indextoname (here uClibc) which uses the SIOCGIFCONF ioctl and scans the if list to resolv the name for an if_index. The kernel will not send back interfaces which do not have an ip address (or exactly only for protocol family inet o...
2006 Jan 10
0
Lots of IFs in /proc/net/dev
I have a domU configured with two virtual ethernet interfaces - one on a private bridge and one to the outside world. If I cat /proc/net/dev (or loop round the interfaces using SIOCGIFNAME) there are loads of them? Should they all be there ? I''m using the same kernel for dom0 & domU. Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier c...