unbound 0.1
tcp_proxy Struct Reference

List of TCP proxy fd pairs to TCP connect client to server. More...

Data Fields

int client_s
 the fd to listen for client query
int server_s
 the fd to listen for server answer
struct sockaddr_storage addr
 remote client address
socklen_t addr_len
 length of address
struct timeval timeout
 timeout on this entry
struct tcp_send_list * querylist
 list of query items to send to server
struct tcp_send_list * querylast
 last in query list
struct tcp_send_list * answerlist
 list of answer items to send to client
struct tcp_send_list * answerlast
 last in answerlist
struct tcp_proxy * next
 next in list

Detailed Description

List of TCP proxy fd pairs to TCP connect client to server.

Field Documentation

◆ client_s

int tcp_proxy::client_s

the fd to listen for client query

Referenced by service_tcp_listen(), service_tcp_relay(), and tcp_proxy_delete().

◆ server_s

int tcp_proxy::server_s

the fd to listen for server answer

Referenced by service_tcp_listen(), service_tcp_relay(), and tcp_proxy_delete().

◆ addr

struct sockaddr_storage tcp_proxy::addr

remote client address

Referenced by service_tcp_listen(), service_tcp_relay(), and tcp_proxy_delete().

◆ addr_len

socklen_t tcp_proxy::addr_len

length of address

Referenced by service_tcp_listen(), service_tcp_relay(), and tcp_proxy_delete().

◆ timeout

struct timeval tcp_proxy::timeout

timeout on this entry

Referenced by service_findwait(), service_tcp_listen(), and service_tcp_relay().

◆ querylist

struct tcp_send_list* tcp_proxy::querylist

list of query items to send to server

Referenced by service_findwait(), service_tcp_relay(), and tcp_proxy_delete().

◆ querylast

struct tcp_send_list* tcp_proxy::querylast

last in query list

Referenced by service_tcp_relay().

◆ answerlist

struct tcp_send_list* tcp_proxy::answerlist

list of answer items to send to client

Referenced by service_findwait(), service_tcp_relay(), and tcp_proxy_delete().

◆ answerlast

struct tcp_send_list* tcp_proxy::answerlast

last in answerlist

Referenced by service_tcp_relay().

◆ next

struct tcp_proxy* tcp_proxy::next

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