Hi,
All the `/sys/class/net/<device>/*` entries are sysctl(8) entries, like
Sobczak, pointed out. They are converted simply by replacing "/" with
".", and there are some helper functions in:
contrib/ofed/libibumad/sysfs.c: if (sysctlbyname(PATH_TO_SYS(path), str,
&len, NULL, 0) == -1)
To do this conversion automagically. you specify the Linux equivalent as
a "const char *" pointer, and then it looks up the value for you under
FreeBSD.
We may not have all the entries, but most you need is there, and some
additions specific to FreeBSD.
--HPS