Calvin Buckley
92953ba2f3
LibC: Add missing u_* typedefs (u_char/u_short)
2019-10-13 08:44:24 +02:00
Vincent Sanders
904bd3b441
Libc: make library internal includes come from private include namespace
2019-10-11 12:17:05 +02:00
Andreas Kling
3f2c1a2e3d
Kernel: Add SIOCGIFHWADDR ioctl to get the MAC address of an adapter
2019-10-02 18:20:11 +02:00
Andreas Kling
2482fc3538
IPv4: Implement socket ioctls SIOCGIFADDR and SIOCSIFADDR
...
This allows userspace programs to get and set (superuser-only) the IPv4
address of a network adapter. :^)
2019-09-23 19:06:03 +02:00
Andreas Kling
a3575f3c60
LibC: Fix warnings in sys/cdefs.h if __BEGIN_DECLS is already defined
2019-09-23 18:58:12 +02:00
Andreas Kling
8cfb859368
IPv4: Support overriding the default TTL (64)
...
Made getsockopt() and setsockopt() virtual so we can handle them in the
various Socket subclasses. The subclasses map kinda nicely to "levels".
This will allow us to implement things like "traceroute", although..
I spent some time trying to do that, but then hit a wall when it turned
out that the user-mode networking in QEMU doesn't preserve TTL in the
ICMP packets passing through.
2019-09-19 21:42:59 +02:00
Conrad Pankoff
5e46122a82
Kernel: Add framebuffer ioctls; wrap raw ioctls with a C API
2019-08-18 07:40:02 +02:00
Conrad Pankoff
1868523e00
LibC: Move duplicated winsize struct definition into ioctl_numbers.h
2019-08-18 07:40:02 +02:00
Andreas Kling
de03b72979
LibC: Add WIFSTOPPED() macro in <sys/wait.h>.
2019-07-14 11:31:53 +02:00
Andreas Kling
04b9dc2d30
Libraries: Create top level directory for libraries.
...
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00