Searched refs:hints (Results 1 – 3 of 3) sorted by relevance
/tools/usb/usbip/src/ |
D | usbip_network.c | 263 struct addrinfo hints, *res, *rp; in usbip_net_tcp_connect() local 267 memset(&hints, 0, sizeof(hints)); in usbip_net_tcp_connect() 268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect() 269 hints.ai_socktype = SOCK_STREAM; in usbip_net_tcp_connect() 272 ret = getaddrinfo(hostname, service, &hints, &res); in usbip_net_tcp_connect()
|
D | usbipd.c | 433 struct addrinfo hints, *ai_head; in do_getaddrinfo() local 436 memset(&hints, 0, sizeof(hints)); in do_getaddrinfo() 437 hints.ai_family = ai_family; in do_getaddrinfo() 438 hints.ai_socktype = SOCK_STREAM; in do_getaddrinfo() 439 hints.ai_flags = AI_PASSIVE; in do_getaddrinfo() 441 rc = getaddrinfo(host, usbip_port_string, &hints, &ai_head); in do_getaddrinfo()
|
/tools/hv/ |
D | hv_kvp_daemon.c | 1327 struct addrinfo hints, *info ; in kvp_get_domain_name() local 1331 memset(&hints, 0, sizeof(hints)); in kvp_get_domain_name() 1332 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name() 1333 hints.ai_socktype = SOCK_STREAM; in kvp_get_domain_name() 1334 hints.ai_flags = AI_CANONNAME; in kvp_get_domain_name() 1336 error = getaddrinfo(buffer, NULL, &hints, &info); in kvp_get_domain_name()
|