I can see this at least in fxp driver: if I capture packets using ng_ether(4), and check interface name like this printf("idx %d, name %s\n", (*m)->m_pkthdr.rcvif->if_index, (*m)->m_pkthdr.rcvif->if_xname); I get on console: idx 0, name fxp0 Really fxp's index is 1 (AFAIK if_index must be > 0), I have checked this using if_nametoindex() from userland. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPEReceived on Thu Aug 12 2004 - 05:50:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC