The IN6ISADDRMCINTFACELOCAL macro is defined in Kernel.framework/.../netinet6/in6.h
The IN6ISADDRMCINTFACELOCAL macro is not defined in /usr/include/netinet6/in6.h
Xcode 11.4.1
Question:
Which headers should be used for Network Extensions?
The ones in Kernel.framework or the userland headers?
The IN6ISADDRMCINTFACELOCAL macro is not defined in /usr/include/netinet6/in6.h
Xcode 11.4.1
Question:
Which headers should be used for Network Extensions?
The ones in Kernel.framework or the userland headers?
Well, that’s interesting. If you look at the <netinet6/in6.h> header in the Darwin open source you’ll see it replicates all of the IN6_IS_ADDR_MC_* definitions twice, with the main difference being the the use of a double underscore prefix in the user space variants (which makes sense given C’s rules for platform-specific declarations). However, it seems that IN6_IS_ADDR_MC_INTFACELOCAL was missed from the user space side. This seems like a bug to me and I encourage you to file it as such. Please post your bug number, just for the record.
In the meantime, I think it’s reasonable to just define this yourself.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
In the meantime, I think it’s reasonable to just define this yourself.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"