Home
last modified time | relevance | path

Searched refs:ifi_addr (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.c157 ifi->ifi_addr = calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
158 if (ifi->ifi_addr == NULL) { in get_ifi_info_linuxv6()
161 memcpy(ifi->ifi_addr, res0->ai_addr, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
190 free(ifi->ifi_addr); in get_ifi_info_linuxv6()
475 ifi->ifi_addr = malloc(sizeof(struct sockaddr_in6)); in get_ifi_info_solaris()
476 if (ifi->ifi_addr == NULL) in get_ifi_info_solaris()
478 memcpy(ifi->ifi_addr, sinptr6, sizeof(struct sockaddr_in6)); in get_ifi_info_solaris()
492 ifi->ifi_addr = malloc(sizeof(struct sockaddr_in)); in get_ifi_info_solaris()
493 if (ifi->ifi_addr == NULL) in get_ifi_info_solaris()
496 memcpy(ifi->ifi_addr, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info_solaris()
[all …]
H A DmDNSUNP.h84 struct sockaddr *ifi_addr; /* primary address */ member