1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

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.
This commit is contained in:
marprok 2020-03-14 21:00:49 +02:00 committed by Andreas Kling
parent 45d7ea1b63
commit 0fd5f0e4bd
5 changed files with 129 additions and 42 deletions

View file

@ -62,6 +62,7 @@ enum IOCtlNumber {
SIOCSIFADDR,
SIOCGIFADDR,
SIOCGIFHWADDR,
SIOCSIFNETMASK,
SIOCADDRT,
SIOCSIFNETMASK
SIOCDELRT
};