Searched refs:SO_LINGER (Results 1 – 8 of 8) sorted by relevance
132 #define SO_LINGER 0x00000080 /* linger on close if data present */ macro
113 if (so_options & SO_LINGER) { in db_print_sooptions()
1198 if ((so->so_options & SO_LINGER) != 0 && so->so_linger != 0) {3015 case SO_LINGER:3028 so->so_options |= SO_LINGER;3030 so->so_options &= ~SO_LINGER;3246 case SO_LINGER:3248 l.l_onoff = so->so_options & SO_LINGER;
138 #define SO_LINGER 0x00000080 /* linger on close if data present */ macro
360 return SO_LINGER; in so_opt_convert()
207 if ((so->so_options & SO_LINGER) && so->so_linger == 0) in tcp_usr_attach()2669 } else if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_disconnect()
536 if (((so->so_options & SO_LINGER) && (so->so_linger == 0)) || in sctp_close()703 if (((so->so_options & SO_LINGER) && in sctp_disconnect()
3632 if (setsockopt(r->connection->fd, SOL_SOCKET, SO_LINGER, in ngx_http_free_request()