<<On Sat, 08 Jun 2002 23:51:46 -0400, Andy Sparrow <[EMAIL PROTECTED]> said:
> datamib[5] = IFDATA_GENERAL; > *ip = drvdata->ifmd_data.ifi_ipackets; > *op = drvdata->ifmd_data.ifi_opackets; > *ib = drvdata->ifmd_data.ifi_ibytes; > *ob = drvdata->ifmd_data.ifi_obytes; The ``general'' part of the interface MIB is implemented by generic code in net/if_mib.c, and uses the same counters as (e.g.) `netstat' examines. IWBRNI more drivers implemented the medium-specific MIB, but that's not necessary to provide this information. -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message