unbound 0.1
unbound_socket Struct Reference

Data Fields

struct sockaddr * addr
 the address of the socket
socklen_t addrlen
 length of the address
int s
 socket descriptor returned by socket() syscall
int fam
 address family (AF_INET/AF_INET6)
struct acl_addr * acl
 ACL on the socket (listening interface).
struct rbtree_type * allow_proxy_tree
 allow proxy tree, addr tree if the IP is allowed proxy-protocol.

Field Documentation

◆ addr

◆ addrlen

socklen_t unbound_socket::addrlen

◆ s

int unbound_socket::s

socket descriptor returned by socket() syscall

Referenced by make_sock(), ports_create_if(), and verbose_print_unbound_socket().

◆ fam

int unbound_socket::fam

address family (AF_INET/AF_INET6)

Referenced by make_sock(), and verbose_print_unbound_socket().

◆ acl

struct acl_addr* unbound_socket::acl

ACL on the socket (listening interface).

Referenced by make_sock(), setup_acl_for_ports(), and verbose_print_unbound_socket().

◆ allow_proxy_tree

struct rbtree_type* unbound_socket::allow_proxy_tree

allow proxy tree, addr tree if the IP is allowed proxy-protocol.

Referenced by allow_proxy_check_incoming_proxy(), and ports_create_if().


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