Lines Matching refs:socklen
468 evutil_socket_connect(evutil_socket_t *fd_ptr, struct sockaddr *sa, int socklen) in evutil_socket_connect() argument
481 if (connect(*fd_ptr, sa, socklen) < 0) { in evutil_socket_connect()
648 evutil_new_addrinfo(struct sockaddr *sa, ev_socklen_t socklen, in evutil_new_addrinfo() argument
660 r1 = evutil_new_addrinfo(sa, socklen, &tmp); in evutil_new_addrinfo()
664 r2 = evutil_new_addrinfo(sa, socklen, &tmp); in evutil_new_addrinfo()
674 res = mm_calloc(1,sizeof(struct evutil_addrinfo)+socklen); in evutil_new_addrinfo()
679 memcpy(res->ai_addr, sa, socklen); in evutil_new_addrinfo()
680 res->ai_addrlen = socklen; in evutil_new_addrinfo()
993 int socklen; in addrinfo_from_hostent() local
1002 socklen = sizeof(struct sockaddr_in); in addrinfo_from_hostent()
1013 socklen = sizeof(struct sockaddr_in); in addrinfo_from_hostent()
1024 ai = evutil_new_addrinfo(sa, socklen, hints); in addrinfo_from_hostent()