Searched refs:tx_credit (Results 1 – 3 of 3) sorted by relevance
439 if (!wsi->role_ops->tx_credit) in lws_get_peer_write_allowance()441 return wsi->role_ops->tx_credit(wsi, LWSTXCR_US_TO_PEER, 0); in lws_get_peer_write_allowance()1291 if (wsi->role_ops && wsi->role_ops->tx_credit) in lws_wsi_tx_credit()1292 return wsi->role_ops->tx_credit(wsi, peer_to_us, add); in lws_wsi_tx_credit()
206 int (*tx_credit)(struct lws *wsi, char peer_to_us, int add); member
2867 if (wsi->role_ops->tx_credit) { in lws_serve_http_file_fragment()2869 wsi->role_ops->tx_credit(wsi, LWSTXCR_US_TO_PEER, 0); in lws_serve_http_file_fragment()