unbound 0.1
proxy Struct Reference

List of proxy fds that return replies from the server to our clients. More...

Data Fields

int s
 the fd to listen for replies from server
struct timeval lastuse
 last time this was used
struct sockaddr_storage addr
 remote address
socklen_t addr_len
 length of addr
size_t numwait
 number of queries waiting (in total)
size_t numsent
 number of queries sent to server (in total)
size_t numreturn
 numberof answers returned to client (in total)
size_t numreuse
 how many times repurposed
struct proxy * next
 next in proxylist

Detailed Description

List of proxy fds that return replies from the server to our clients.

Field Documentation

◆ s

int proxy::s

the fd to listen for replies from server

Referenced by do_proxy(), find_create_proxy(), proxy_list_clear(), service_proxy(), service_recv(), and service_send().

◆ lastuse

struct timeval proxy::lastuse

last time this was used

Referenced by find_create_proxy(), service_proxy(), service_recv(), and service_send().

◆ addr

struct sockaddr_storage proxy::addr

◆ addr_len

socklen_t proxy::addr_len

◆ numwait

size_t proxy::numwait

number of queries waiting (in total)

Referenced by find_create_proxy(), proxy_list_clear(), and service_recv().

◆ numsent

size_t proxy::numsent

number of queries sent to server (in total)

Referenced by find_create_proxy(), proxy_list_clear(), and service_send().

◆ numreturn

size_t proxy::numreturn

numberof answers returned to client (in total)

Referenced by do_proxy(), find_create_proxy(), and proxy_list_clear().

◆ numreuse

size_t proxy::numreuse

how many times repurposed

Referenced by find_create_proxy(), and proxy_list_clear().

◆ next

struct proxy* proxy::next

next in proxylist

Referenced by find_create_proxy(), proxy_list_clear(), and service_proxy().


The documentation for this struct was generated from the following file: