Searched refs:GET_SA_LEN (Results 1 – 3 of 3) sorted by relevance
56 #define GET_SA_LEN(X) (sizeof(struct sockaddr) > ((struct sockaddr*)&(X))->sa_len ? \ macro59 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in)… macro62 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) … macro
592 if (sizeof(struct ifreq) > sizeof(ifr->ifr_name) + GET_SA_LEN(ifr->ifr_addr)) in get_ifi_info()595 ptr += sizeof(ifr->ifr_name) + GET_SA_LEN(ifr->ifr_addr); in get_ifi_info()
202 …r = sendto(sendingsocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(to)); in mDNSPlatformSendUDP()