Home
last modified time | relevance | path

Searched refs:GET_SA_LEN (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.h56 #define GET_SA_LEN(X) (sizeof(struct sockaddr) > ((struct sockaddr*)&(X))->sa_len ? \ macro
59 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in)… macro
62 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) … macro
H A DmDNSUNP.c592 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()
H A DmDNSPosix.c202 …r = sendto(sendingsocket, msg, (char*)end - (char*)msg, 0, (struct sockaddr *)&to, GET_SA_LEN(to)); in mDNSPlatformSendUDP()