Home
last modified time | relevance | path

Searched refs:sndbuf (Results 1 – 1 of 1) sorted by relevance

/unit/src/
H A Dnxt_port_socket.c44 nxt_int_t sndbuf, rcvbuf, size; in nxt_port_socket_init() local
58 sndbuf = nxt_socket_getsockopt(task, snd, SOL_SOCKET, SO_SNDBUF); in nxt_port_socket_init()
59 if (nxt_slow_path(sndbuf < 0)) { in nxt_port_socket_init()
74 if ((size_t) sndbuf < max_size) { in nxt_port_socket_init()
85 sndbuf = nxt_socket_getsockopt(task, snd, SOL_SOCKET, SO_SNDBUF); in nxt_port_socket_init()
86 if (nxt_slow_path(sndbuf < 0)) { in nxt_port_socket_init()
90 size = sndbuf * 4; in nxt_port_socket_init()
103 port->max_size = nxt_min(max_size, (size_t) sndbuf); in nxt_port_socket_init()