Searched refs:linger (Results 1 – 14 of 14) sorted by relevance
147 struct linger opt; in GetSocketLinger()175 struct linger opt; in SetSocketLinger()191 struct linger { in SetSocketLinger()
3032 struct linger *linger = (struct linger *)optval; in lwip_getsockopt_impl() local3034 conn_linger = sock->conn->linger; in lwip_getsockopt_impl()3036 linger->l_onoff = 1; in lwip_getsockopt_impl()3037 linger->l_linger = (int)conn_linger; in lwip_getsockopt_impl()3039 linger->l_onoff = 0; in lwip_getsockopt_impl()3040 linger->l_linger = 0; in lwip_getsockopt_impl()3431 const struct linger *linger = (const struct linger *)optval; in lwip_setsockopt_impl() local3433 if (linger->l_onoff) { in lwip_setsockopt_impl()3434 int lingersec = linger->l_linger; in lwip_setsockopt_impl()3442 sock->conn->linger = (s16_t)lingersec; in lwip_setsockopt_impl()[all …]
782 conn->linger = -1;985 if ((conn->linger >= 0) && (conn->pcb.tcp->unsent || conn->pcb.tcp->unacked)) {986 if ((conn->linger == 0)) {990 } else if (conn->linger > 0) {996 (conn->linger * 1000)) {1039 if (conn->linger >= 0) {1041 close_timeout = conn->linger * 1000U;
141 struct linger { struct490 typedef struct linger LINGER;491 typedef struct linger *PLINGER;492 typedef struct linger *LPLINGER;
175 struct linger { struct2707 typedef struct linger LINGER;2708 typedef struct linger *PLINGER;2709 typedef struct linger FAR *LPLINGER;
274 s16_t linger; member
235 struct linger { struct
61 struct linger LingerData;
46 struct linger LingerData;
2689 BufferSize = sizeof(struct linger); in WSPGetSockOpt()2861 if (optlen < sizeof(struct linger)) in WSPSetSockOpt()2868 sizeof(struct linger)); in WSPSetSockOpt()
268 struct linger li; in SetLinger()
1503 linger, member
6947 struct linger ling; in test_WSARecv()9873 struct linger ling; in test_completion_port()
1059 on the linger settings.