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

Re: Adding and deleting routes in hurd ??



A hurd ioctl has to also have something which documents the exact structure layout in a way that the library can use to reformat it into a Mach message. That's what the _IOT_foo thing would be. Since it's missing, the _IOW call fails.

Some ioctls can't be represented, for various reasons, and require special treatment in the library itself.

Thomas

On Fri, Nov 11, 2011 at 4:17 AM, harish badrinath <harishbadrinath@gmail.com> wrote:
Hello,
Is it possible to add and delete routing information in hurd ..

In <bits/ioctls.h> i noticed the following snippet

<code>
#if 0
#define SIOCADDRT       _IOW('r', 10, struct ortentry)  /* add route */
#define SIOCDELRT       _IOW('r', 11, struct ortentry)  /* delete route */
#endif
</code>

So i copied and pasted these macros directly in a file and i get the
following error
error: '_IOT_ortentry' undeclared (first use in this function)

I cant seem to find any references to _IOT_ortentry (there are many
false positives with me not finding "any references", so about this i
do have my doubts).

Regards,
Harish


--
To UNSUBSCRIBE, email to debian-hurd-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAFUoqbdbEjx_zmDQd=nP-64ETEa=e4oV1nsWFtGdDgNj3wTT-w@mail.gmail.com



Reply to: