pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Recent if_stat changes have broken sysutils/xosview



On Sun, 9 Feb 2020, Roy Marples wrote:

"struct ifnet" is private to the kernel. This application should be using the properly exported data that's available via ioctls for this purpose.

We have far too many kernel only things exposed to userland.

Totally agree.

A constant beef of mine is that we #define if_type in sys/net/if.h which causes conflict building hostapd/wpa_supplicant has they have an enum if_type.

If we can resolve this it would make me a lot happier!
I tried to have a go solving this about a year ago, but gave up due to some userland stuff like this no longer working.
If we can solve it via ioctl then awesome.

For now I am simply commenting out the network stuff completely, since
I don't use that part of xosview.  A proper solution is far beyond me.


+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+


Home | Main Index | Thread Index | Old Index