1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:07:44 +00:00

Kernel: Support ioctl SIOCSARP and SIOCDARP

Creates ioctl calls necessary to set/delete an entry from the ARP table
This commit is contained in:
brapru 2021-07-24 20:04:11 -04:00 committed by Andreas Kling
parent f8c104aaaf
commit 8313d35749
4 changed files with 50 additions and 0 deletions

View file

@ -79,6 +79,8 @@ enum IOCtlNumber {
SIOCGIFCONF,
SIOCADDRT,
SIOCDELRT,
SIOCSARP,
SIOCDARP,
FIBMAP,
FIONBIO,
};
@ -117,5 +119,7 @@ enum IOCtlNumber {
#define SIOCGIFCONF SIOCGIFCONF
#define SIOCADDRT SIOCADDRT
#define SIOCDELRT SIOCDELRT
#define SIOCSARP SIOCSARP
#define SIOCDARP SIOCDARP
#define FIBMAP FIBMAP
#define FIONBIO FIONBIO