summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/sys/ioctl_numbers.h
diff options
context:
space:
mode:
authorbrapru <brapru@pm.me>2021-07-24 20:04:11 -0400
committerAndreas Kling <kling@serenityos.org>2021-07-25 17:57:08 +0200
commit8313d357499b3ac473120252143037e6e633bf60 (patch)
tree56cc7b547950a1abd03f6fdc035259b843355830 /Userland/Libraries/LibC/sys/ioctl_numbers.h
parentf8c104aaaf4b52f5d8bcf7f41e06b64c16f84b00 (diff)
downloadserenity-8313d357499b3ac473120252143037e6e633bf60.zip
Kernel: Support ioctl SIOCSARP and SIOCDARP
Creates ioctl calls necessary to set/delete an entry from the ARP table
Diffstat (limited to 'Userland/Libraries/LibC/sys/ioctl_numbers.h')
-rw-r--r--Userland/Libraries/LibC/sys/ioctl_numbers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h
index 234a5decd2..0e24317ac9 100644
--- a/Userland/Libraries/LibC/sys/ioctl_numbers.h
+++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h
@@ -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