Lines Matching refs:bound

3551 	struct evhttp_bound_socket *bound =  in evhttp_bind_socket()  local
3553 if (bound == NULL) in evhttp_bind_socket()
3562 struct evhttp_bound_socket *bound; in evhttp_bind_socket_with_handle() local
3576 bound = evhttp_accept_socket_with_handle(http, fd); in evhttp_bind_socket_with_handle()
3578 if (bound != NULL) { in evhttp_bind_socket_with_handle()
3581 return (bound); in evhttp_bind_socket_with_handle()
3590 struct evhttp_bound_socket *bound = in evhttp_accept_socket() local
3592 if (bound == NULL) in evhttp_accept_socket()
3602 struct evhttp_bound_socket *bound; in evhttp_foreach_bound_socket() local
3604 TAILQ_FOREACH(bound, &http->sockets, next) in evhttp_foreach_bound_socket()
3605 function(bound, argument); in evhttp_foreach_bound_socket()
3611 struct evhttp_bound_socket *bound; in evhttp_accept_socket_with_handle() local
3623 bound = evhttp_bind_listener(http, listener); in evhttp_accept_socket_with_handle()
3624 if (!bound) { in evhttp_accept_socket_with_handle()
3628 return (bound); in evhttp_accept_socket_with_handle()
3634 struct evhttp_bound_socket *bound; in evhttp_bind_listener() local
3636 bound = mm_malloc(sizeof(struct evhttp_bound_socket)); in evhttp_bind_listener()
3637 if (bound == NULL) in evhttp_bind_listener()
3640 bound->listener = listener; in evhttp_bind_listener()
3641 TAILQ_INSERT_TAIL(&http->sockets, bound, next); in evhttp_bind_listener()
3644 return bound; in evhttp_bind_listener()
3648 evhttp_bound_socket_get_fd(struct evhttp_bound_socket *bound) in evhttp_bound_socket_get_fd() argument
3650 return evconnlistener_get_fd(bound->listener); in evhttp_bound_socket_get_fd()
3654 evhttp_bound_socket_get_listener(struct evhttp_bound_socket *bound) in evhttp_bound_socket_get_listener() argument
3656 return bound->listener; in evhttp_bound_socket_get_listener()
3660 evhttp_del_accept_socket(struct evhttp *http, struct evhttp_bound_socket *bound) in evhttp_del_accept_socket() argument
3662 TAILQ_REMOVE(&http->sockets, bound, next); in evhttp_del_accept_socket()
3663 evconnlistener_free(bound->listener); in evhttp_del_accept_socket()
3664 mm_free(bound); in evhttp_del_accept_socket()
3735 struct evhttp_bound_socket *bound; in evhttp_free() local
3740 while ((bound = TAILQ_FIRST(&http->sockets)) != NULL) { in evhttp_free()
3741 TAILQ_REMOVE(&http->sockets, bound, next); in evhttp_free()
3743 evconnlistener_free(bound->listener); in evhttp_free()
3745 mm_free(bound); in evhttp_free()