Searched refs:ifi_netmask (Results 1 – 3 of 3) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 152 ifi->ifi_netmask = calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6() 162 memcpy(ifi->ifi_netmask, sin6, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6() 366 ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info() 367 if (ifi->ifi_netmask == NULL) goto gotError; in get_ifi_info() 374 memcpy(ifi->ifi_netmask, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info() 456 ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info() 457 if (ifi->ifi_netmask == NULL) goto gotError; in get_ifi_info() 459 memcpy(ifi->ifi_netmask, sinptr6, sizeof(struct sockaddr_in6)); in get_ifi_info() 503 if (ifi->ifi_netmask != NULL) in free_ifi_info() 504 free(ifi->ifi_netmask); in free_ifi_info()
|
D | mDNSUNP.h | 93 struct sockaddr *ifi_netmask; member
|
D | mDNSPosix.c | 975 if (SetupOneInterface(m, i->ifi_addr, i->ifi_netmask, i->ifi_name, i->ifi_index) == 0) in SetupInterfaceList() 989 …(void) SetupOneInterface(m, firstLoopback->ifi_addr, firstLoopback->ifi_netmask, firstLoopback->if… in SetupInterfaceList()
|