diff options
author | Damien Zammit <damien@zamaudio.com> | 2022-08-29 10:30:04 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-29 23:01:17 +0200 |
commit | 574bc98f0f236939c6ef5bc1fc61c919ee8b5d47 (patch) | |
tree | 308c207b2db56a9f8a644a389dd9187f065a9362 /libdiskfs/console.c | |
parent | 5adb4b834b1eba82b7f3eca6324bed0355cae0af (diff) | |
download | hurd-574bc98f0f236939c6ef5bc1fc61c919ee8b5d47.tar.gz hurd-574bc98f0f236939c6ef5bc1fc61c919ee8b5d47.tar.bz2 hurd-574bc98f0f236939c6ef5bc1fc61c919ee8b5d47.zip |
pfinet: Add SIOCADDRT and SIOCDELRT equivalent iioctls
Using a new client side <net/route.h>
I was able to clean up the existing options.c in pfinet
and add two new ioctls for adding/deleting network routes.
/* move to bits/ioctl.h */
struct ifrtreq {
char ifname[IFNAMSIZ];
in_addr_t rt_dest;
in_addr_t rt_mask;
in_addr_t rt_gateway;
int rt_flags;
int rt_metric;
int rt_mtu;
int rt_window;
int rt_irtt;
int rt_tos;
int rt_class;
};
Message-Id: <20220829102952.369798-1-damien@zamaudio.com>
Diffstat (limited to 'libdiskfs/console.c')
0 files changed, 0 insertions, 0 deletions