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() 359 ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info() 360 if (ifi->ifi_netmask == NULL) goto gotError; in get_ifi_info() 367 memcpy(ifi->ifi_netmask, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info() 449 ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info() 450 if (ifi->ifi_netmask == NULL) goto gotError; in get_ifi_info() 452 memcpy(ifi->ifi_netmask, sinptr6, sizeof(struct sockaddr_in6)); in get_ifi_info() 496 if (ifi->ifi_netmask != NULL) in free_ifi_info() 497 free(ifi->ifi_netmask); in free_ifi_info()
|
D | mDNSUNP.h | 93 struct sockaddr *ifi_netmask; member
|
D | mDNSPosix.c | 951 if (SetupOneInterface(m, i->ifi_addr, i->ifi_netmask, i->ifi_name, i->ifi_index) == 0) in SetupInterfaceList() 965 …(void) SetupOneInterface(m, firstLoopback->ifi_addr, firstLoopback->ifi_netmask, firstLoopback->if… in SetupInterfaceList()
|