Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/test/regression/bsd_test/
Dnetx_bsd_getaddrinfo_test.c401 struct addrinfo hints, *server_info; in test_tcp_server4() local
403 memset(&hints, 0, sizeof(hints)); in test_tcp_server4()
404 hints.ai_family = AF_INET; in test_tcp_server4()
405 hints.ai_socktype = SOCK_STREAM; in test_tcp_server4()
406 hints.ai_flags = AI_PASSIVE; in test_tcp_server4()
408 if (getaddrinfo(NX_NULL, "12345", &hints, &server_info) != 0) in test_tcp_server4()
542 struct addrinfo hints, *server_info; in test_tcp_server6() local
544 memset(&hints, 0, sizeof(hints)); in test_tcp_server6()
545 hints.ai_family = AF_INET6; in test_tcp_server6()
546 hints.ai_socktype = SOCK_STREAM; in test_tcp_server6()
[all …]
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.c14253 INT nx_bsd_getaddrinfo(const CHAR *node, const CHAR *service, const struct nx_bsd_addrinfo *hints,… in nx_bsd_getaddrinfo() argument
14288 if(hints) in nx_bsd_getaddrinfo()
14292 if((hints -> ai_family != AF_INET) && in nx_bsd_getaddrinfo()
14293 (hints -> ai_family != AF_INET6) && in nx_bsd_getaddrinfo()
14294 (hints -> ai_family != AF_UNSPEC)) in nx_bsd_getaddrinfo()
14298 if((hints -> ai_socktype != SOCK_DGRAM) && in nx_bsd_getaddrinfo()
14299 (hints -> ai_socktype != SOCK_STREAM) && in nx_bsd_getaddrinfo()
14300 (hints -> ai_socktype != 0)) in nx_bsd_getaddrinfo()
14304 if((hints -> ai_socktype != 0) && (hints -> ai_protocol != 0)) in nx_bsd_getaddrinfo()
14306 if(((hints -> ai_socktype == SOCK_STREAM) && (hints -> ai_protocol != IPPROTO_TCP)) || in nx_bsd_getaddrinfo()
[all …]
Dnxd_bsd.h1041 INT nx_bsd_getaddrinfo(const CHAR *node, const CHAR *service, const struct nx_bsd_addrinfo *hints,…