mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
IPv4: Implement socket ioctls SIOCGIFADDR and SIOCSIFADDR
This allows userspace programs to get and set (superuser-only) the IPv4 address of a network adapter. :^)
This commit is contained in:
parent
a3575f3c60
commit
2482fc3538
7 changed files with 117 additions and 1 deletions
|
@ -33,4 +33,6 @@ enum IOCtlNumber {
|
|||
FB_IOCTL_SET_RESOLUTION,
|
||||
FB_IOCTL_GET_BUFFER,
|
||||
FB_IOCTL_SET_BUFFER,
|
||||
SIOCSIFADDR,
|
||||
SIOCGIFADDR,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue