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

Userland: Set the mask of a network adapter with ifconfig (#1388)

A new IP address or a new network mask can be specified in the command
line arguments of ifconfig to replace the old values of a given network
adapter. Additionally, more information is being printed for each adapter.
This commit is contained in:
Marios Prokopakis 2020-03-11 22:30:41 +02:00 committed by GitHub
parent 4c9bb266df
commit 8cf962a102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 155 additions and 49 deletions

View file

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