Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 3 of 3) sorted by relevance

/tools/usb/usbip/src/
Dusbip_network.c263 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()
Dusbipd.c423 struct addrinfo hints, *ai_head; in do_getaddrinfo() local
426 memset(&hints, 0, sizeof(hints)); in do_getaddrinfo()
427 hints.ai_family = ai_family; in do_getaddrinfo()
428 hints.ai_socktype = SOCK_STREAM; in do_getaddrinfo()
429 hints.ai_flags = AI_PASSIVE; in do_getaddrinfo()
431 rc = getaddrinfo(host, usbip_port_string, &hints, &ai_head); in do_getaddrinfo()
/tools/hv/
Dhv_kvp_daemon.c1331 struct addrinfo hints, *info ; in kvp_get_domain_name() local
1335 memset(&hints, 0, sizeof(hints)); in kvp_get_domain_name()
1336 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()
1337 hints.ai_socktype = SOCK_STREAM; in kvp_get_domain_name()
1338 hints.ai_flags = AI_CANONNAME; in kvp_get_domain_name()
1340 error = getaddrinfo(buffer, NULL, &hints, &info); in kvp_get_domain_name()