Lines Matching refs:bound
2322 struct evhttp_bound_socket *bound;
2326 bound = malloc(sizeof(struct evhttp_bound_socket));
2327 if (bound == NULL)
2330 ev = &bound->bind_ev;
2339 free(bound);
2343 TAILQ_INSERT_TAIL(&http->sockets, bound, next);
2399 struct evhttp_bound_socket *bound;
2403 while ((bound = TAILQ_FIRST(&http->sockets)) != NULL) {
2404 TAILQ_REMOVE(&http->sockets, bound, next);
2406 fd = bound->bind_ev.ev_fd;
2407 event_del(&bound->bind_ev);
2410 free(bound);