Searched refs:InAddr (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dslirp_dns.c85 struct in_addr InAddr; local
91 InAddr = ((struct sockaddr_in *)SockAddr)->sin_addr;
102 Log(("NAT: adding %RTnaipv4 to DNS server list\n", InAddr));
103 if ((InAddr.s_addr & RT_H2N_U32_C(IN_CLASSA_NET)) == RT_N2H_U32_C(INADDR_LOOPBACK & IN_CLASSA_NET))
106 pDns->de_addr.s_addr = InAddr.s_addr;
/vbox/src/VBox/Devices/Storage/
H A DDrvVD.cpp796 struct sockaddr_in InAddr = {0}; local
797 InAddr.sin_family = AF_INET;
798 InAddr.sin_port = htons(uPort);
799 InAddr.sin_addr = ip;
800 InAddr.sin_len = sizeof(InAddr);
801 pSockAddr = (struct sockaddr *)&InAddr;

Completed in 627 milliseconds