Lines Matching refs:setsockopt_int
973 r = setsockopt_int(fd, SOL_SOCKET, SO_KEEPALIVE, true); in socket_apply_socket_options()
979 r = setsockopt_int(fd, SOL_TCP, TCP_KEEPIDLE, s->keep_alive_time / USEC_PER_SEC); in socket_apply_socket_options()
985 … r = setsockopt_int(fd, SOL_TCP, TCP_KEEPINTVL, s->keep_alive_interval / USEC_PER_SEC); in socket_apply_socket_options()
991 r = setsockopt_int(fd, SOL_TCP, TCP_KEEPCNT, s->keep_alive_cnt); in socket_apply_socket_options()
997 r = setsockopt_int(fd, SOL_TCP, TCP_DEFER_ACCEPT, s->defer_accept / USEC_PER_SEC); in socket_apply_socket_options()
1004 r = setsockopt_int(fd, SOL_SCTP, SCTP_NODELAY, true); in socket_apply_socket_options()
1008 r = setsockopt_int(fd, SOL_TCP, TCP_NODELAY, true); in socket_apply_socket_options()
1015 r = setsockopt_int(fd, SOL_SOCKET, SO_BROADCAST, true); in socket_apply_socket_options()
1021 r = setsockopt_int(fd, SOL_SOCKET, SO_PASSCRED, true); in socket_apply_socket_options()
1027 r = setsockopt_int(fd, SOL_SOCKET, SO_PASSSEC, true); in socket_apply_socket_options()
1039 r = setsockopt_int(fd, SOL_SOCKET, in socket_apply_socket_options()
1047 r = setsockopt_int(fd, SOL_SOCKET, SO_PRIORITY, s->priority); in socket_apply_socket_options()
1067 r = setsockopt_int(fd, SOL_SOCKET, SO_MARK, s->mark); in socket_apply_socket_options()
1073 r = setsockopt_int(fd, IPPROTO_IP, IP_TOS, s->ip_tos); in socket_apply_socket_options()