mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:57: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:
parent
1bd6705636
commit
e4339be13b
4 changed files with 67 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue