Linus Groh
9882848e0b
Kernel: Define IF_NAMESIZE in net/if.h
...
This makes the _socket module from the Python port build. :^)
2022-03-16 18:03:25 +00:00
Idan Horowitz
468ae105d8
Kernel+LibC: Stub out if_nameindex() and if_freenameindex()
...
These should allow users to receive the names of network interfaces in
the system, but for now these are only stubs required to compile some
ports.
2021-12-22 00:02:36 -08:00
Idan Horowitz
3a1ff175e8
Kernel: Define and return the ARPHRD_* device type in SIOCGIFHWADDR
...
The sa_family field in SIOCGIFHWADDR specifies the underlying network
interface's device type, this is hardcoded to generic "Ethernet" right
now, as we don't have a nice way to query it.
2021-12-22 00:02:36 -08:00
Idan Horowitz
2882a90dec
Kernel: Add the IFF_* SIOCGIFFLAGS flag macros
2021-10-28 11:24:36 +02:00
Andreas Kling
661bd992b0
Kernel+LibC: Share definitions for net/{if,if_arp,route}.h
2021-08-14 19:58:11 +02:00