Hi,

I'm trying to implement the SIOCADDRT ioctl for the Hurd. I've
encountered a problem in the Hurd/glibc while doing this.

The format of an ioctl request "bits/ioctls.h" is defined. In this
request there are only 5 bits defined to store the size of a
parameter. SIOCADDRT uses "struct rtentry", a structure with the size
of 84 bytes.

So without any serious changes the ioctl cannot be implemented. Can
someone please give me some hints what to do? I can only think of
extending pfinet.defs with a pfinet_addroute instead of adding an
ioctl, but this does not solve the ioctl problem :(. Another option is
changing the size of the request from 32 bits to 64 bits, but this
will break binary compatibility for other ioctls.

Thanks, Marco



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to