mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +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
Notes:
sideshowbarker
2024-07-19 11:59:51 +09:00
Author: https://github.com/awesomekling
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