Lines Matching refs:bev_p
102 struct bufferevent_private *bev_p = in bufferevent_socket_get_conn_address_() local
105 return (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_get_conn_address_()
108 bufferevent_socket_set_conn_address_fd(struct bufferevent_private *bev_p, int fd) in bufferevent_socket_set_conn_address_fd() argument
110 socklen_t len = sizeof(bev_p->conn_address); in bufferevent_socket_set_conn_address_fd()
112 struct sockaddr *addr = (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_set_conn_address_fd()
117 bufferevent_socket_set_conn_address(struct bufferevent_private *bev_p, in bufferevent_socket_set_conn_address() argument
120 EVUTIL_ASSERT(addrlen <= sizeof(bev_p->conn_address)); in bufferevent_socket_set_conn_address()
121 memcpy(&bev_p->conn_address, addr, addrlen); in bufferevent_socket_set_conn_address()
466 struct bufferevent_private *bev_p = in bufferevent_connect_getaddrinfo_cb() local
474 bev_p->dns_request = NULL; in bufferevent_connect_getaddrinfo_cb()
477 bev_p->dns_error = result; in bufferevent_connect_getaddrinfo_cb()
482 bev_p->dns_error = result; in bufferevent_connect_getaddrinfo_cb()
492 bufferevent_socket_set_conn_address(bev_p, ai->ai_addr, (int)ai->ai_addrlen); in bufferevent_connect_getaddrinfo_cb()
505 struct bufferevent_private *bev_p = in bufferevent_socket_connect_hostname() local
521 bev_p->dns_error = 0; in bufferevent_socket_connect_hostname()
527 bev_p->dns_request = evutil_getaddrinfo_async_(evdns_base, hostname, in bufferevent_socket_connect_hostname()
538 struct bufferevent_private *bev_p = in bufferevent_socket_get_dns_error() local
542 rv = bev_p->dns_error; in bufferevent_socket_get_dns_error()