On Thu, May 12, 2005 at 12:45:18PM -0400, Chad Morland wrote:
> I was wondering if there is a FreeBSD equivalent to /proc/net/dev from
> Linux. I am trying to get bit and packet counter info from my network
> devices.

Try getifaddrs(3). For every interface, the data you want is found in
the ifa_data member of the struct ifaddrs.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt

Attachment: pgpsfh7TrlGz2.pgp
Description: PGP signature

Reply via email to