1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

LibC: Add definitions/stubs for IPv6 functionality

This lets us build some of the ports without patching out any of their
IPv6 stuff.
This commit is contained in:
Gunnar Beutner 2021-05-09 19:50:26 +02:00 committed by Andreas Kling
parent 1bd6705636
commit e4339be13b
4 changed files with 67 additions and 0 deletions

View file

@ -46,4 +46,7 @@ struct ifreq {
#define ifr_hwaddr ifr_ifru.ifru_hwaddr // MAC address
};
unsigned int if_nametoindex(const char* ifname);
char* if_indextoname(unsigned int ifindex, char* ifname);
__END_DECLS