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:
parent
4c9bb266df
commit
8cf962a102
6 changed files with 155 additions and 49 deletions
|
@ -62,4 +62,6 @@ enum IOCtlNumber {
|
|||
SIOCSIFADDR,
|
||||
SIOCGIFADDR,
|
||||
SIOCGIFHWADDR,
|
||||
SIOCADDRT,
|
||||
SIOCSIFNETMASK
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue