diff options
author | marprok <mariosprokopakis@gmail.com> | 2020-03-14 21:00:49 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-15 19:09:31 +0100 |
commit | 0fd5f0e4bdeae418257d89dfcdf586c762d22827 (patch) | |
tree | 4eac10676768042bb92ec45e6af97af7c053aff3 /Libraries/LibC/sys | |
parent | 45d7ea1b634d8d1ada97e35c06f7598a6f4571c6 (diff) | |
download | serenity-0fd5f0e4bdeae418257d89dfcdf586c762d22827.zip |
Userland: ifconfig can change the IP address of the default gateway
ioctl can now perform a request for a specific route and change
the address of it's default gateway.
Diffstat (limited to 'Libraries/LibC/sys')
-rw-r--r-- | Libraries/LibC/sys/ioctl_numbers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibC/sys/ioctl_numbers.h b/Libraries/LibC/sys/ioctl_numbers.h index c41463a891..f0179bb791 100644 --- a/Libraries/LibC/sys/ioctl_numbers.h +++ b/Libraries/LibC/sys/ioctl_numbers.h @@ -62,6 +62,7 @@ enum IOCtlNumber { SIOCSIFADDR, SIOCGIFADDR, SIOCGIFHWADDR, + SIOCSIFNETMASK, SIOCADDRT, - SIOCSIFNETMASK + SIOCDELRT }; |