Re: [pfinet] no per-interface byte / packet counter RPC; please add SIOCGIFSTATS or equivalent

Samuel Thibault <[email protected]>
Newsgroups gmane.os.hurd.bugs
Organization I am not organized
Message-ID <ahv_QLl8dYFpVI00@end>
Hello,

Borja Tarraso, le sam. 30 mai 2026 22:53:54 +0300, a ecrit:
> On Debian GNU/Hurd 0.9 (pfinet as shipped in the hurd source package,
> hurd 1:0.9.git20230520-7), there is no RPC, no ioctl, and no procfs
> file that returns per-interface byte / packet counters.

Contribution welcome!

>   1. /usr/include/x86_64-gnu/bits/ioctls.h defines SIOC* constants
>      No SIOCGIFSTATS, no SIOCGIFMIB, no SIOCGIFDATA, no
>      SIOCGIFCOUNTERS macro anywhere under /usr/include.

I don't really see these macros being widely used?
Better implement something that is a largely-known interface, for
instance a common BSD interface.

(the Linux way, /proc, won't be helpful to us since that only defers the
question to the pfinet interface question anyway)

Samuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.