Searched refs:tcpi (Results 1 – 1 of 1) sorted by relevance
565 struct tcp_connection_info tcpi; in fdevent_is_tcp_half_closed() local566 socklen_t tlen = sizeof(tcpi); in fdevent_is_tcp_half_closed()568 && tcpi.tcpi_state == TCPS_CLOSE_WAIT); in fdevent_is_tcp_half_closed()571 struct tcp_info tcpi; in fdevent_is_tcp_half_closed()572 socklen_t tlen = sizeof(tcpi); in fdevent_is_tcp_half_closed()573 return (0 == getsockopt(fd, IPPROTO_TCP, TCP_INFO, &tcpi, &tlen) in fdevent_is_tcp_half_closed()574 && tcpi.tcpi_state == TCPS_CLOSE_WAIT); in fdevent_is_tcp_half_closed()577 struct tcp_info tcpi; in fdevent_is_tcp_half_closed()578 socklen_t tlen = sizeof(tcpi);/*SOL_TCP == IPPROTO_TCP*/ in fdevent_is_tcp_half_closed()579 return (0 == getsockopt(fd, SOL_TCP, TCP_INFO, &tcpi, &tlen) in fdevent_is_tcp_half_closed()[all …]