diff options
author | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2020-05-06 18:18:45 +0200 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-05-07 07:11:03 +0200 |
commit | 598be42dfa3aa1f6a92b5562397742b3fa96a3e0 (patch) | |
tree | bf37053c79a885f5918898cb522fd888cef6bc43 /README | |
parent | bed695aa94cd85800ec2c6296fb2d13e7ac29133 (diff) | |
download | guix-598be42dfa3aa1f6a92b5562397742b3fa96a3e0.tar.gz |
syscalls: Add ioctl flags for the Hurd.
Use #include <stdio.h> #include <net/if.h> #include <hurd/ioctl.h> int main () { printf ("SIOCSIFFLAGS #x%x\n", SIOCSIFFLAGS); printf ("SIOCGIFADDR #x%x\n", SIOCGIFADDR); printf ("SIOCSIFADDR #x%x\n", SIOCSIFADDR); printf ("SIOCGIFNETMASK #x%x\n", SIOCGIFNETMASK); printf ("SIOCSIFNETMASK #x%x\n", SIOCSIFNETMASK); #if 0 printf ("SIOCADDRT #x%x\n", SIOCADDRT); printf ("SIOCDELRT #x%x\n", SIOCDELRT); #endif } to fill in some blanks. Adding and removing route apparently not supported. * guix/build/syscalls.scm (SIOCSIFFLAGS SIOCGIFADDR, SIOCSIFADDR, SIOCGIFNETMASK, SIOCSIFNETMASK):
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions