X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/ad21edcc50f98a2a0f674a569817952d671962c6..c29f2fccbf0d388644e29ea3e98c38a343688bd2:/gen.subproj/getifaddrs.3 diff --git a/gen.subproj/getifaddrs.3 b/gen.subproj/getifaddrs.3 index 7409e90..6709032 100644 --- a/gen.subproj/getifaddrs.3 +++ b/gen.subproj/getifaddrs.3 @@ -55,7 +55,6 @@ structure contains at least the following entries: u_int ifa_flags; /* Interface flags */ struct sockaddr *ifa_addr; /* Interface address */ struct sockaddr *ifa_netmask; /* Interface netmask */ - struct sockaddr *ifa_broadaddr; /* Interface broadcast address */ struct sockaddr *ifa_dstaddr; /* P2P interface destination */ void *ifa_data; /* Address specific data */ .Ed @@ -96,17 +95,16 @@ field references the netmask associated with if one is set, otherwise it is NULL. .Pp The -.Li ifa_broadaddr -field, -which should only be referenced for non-P2P interfaces, -references the broadcast address associated with -.Li ifa_addr , -if one exists, otherwise it is NULL. -.Pp -The .Li ifa_dstaddr field references the destination address on a P2P interface, -if one exists, otherwise it is NULL. +if one exists, otherwise it contains the broadcast address. +.Pp +Note that as a convenience, +.Li ifa_broadaddr +is defined by a compiler +.Li #define +directive to be the same as +.Li ifa_dstaddr . .Pp The .Li ifa_data