This commit is contained in:
Daniel Skowroński 2016-12-27 11:57:05 +01:00
commit ba07d1f91d
4 changed files with 19 additions and 36 deletions

View file

@ -1,3 +1,8 @@
/*
this BSD licensed code is from https://github.com/freebsd/freebsd/blob/386ddae58459341ec567604707805814a2128a57/lib/libc/net/getifmaddrs.c
as in older OS X there is no getifmaddrs() and related functions is NetBSD
*/
#define NET_RT_IFMALIST 4 /* return multicast address list */
#define RTM_NEWMADDR 0xf /* mcast group membership being added to if */