MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sbavail

Function sbavail

freebsd/sys/sockbuf.h:198–206  ·  view source on GitHub ↗

* Return how much data is available to be taken out of socket * buffer right now. */

Source from the content-addressed store, hash-verified

196 * buffer right now.
197 */
198static inline u_int
199sbavail(struct sockbuf *sb)
200{
201
202#if 0
203 SOCKBUF_LOCK_ASSERT(sb);
204#endif
205 return (sb->sb_acc);
206}
207
208/*
209 * Return how much data sits there in the socket buffer

Callers 15

tcp_output.cFile · 0.50
tcp_do_segmentFunction · 0.50
tcp_default_fb_initFunction · 0.50
skippacketFunction · 0.50
sohashttpgetFunction · 0.50
soparsehttpversFunction · 0.50
soishttpconnectedFunction · 0.50
tcp_usr_sendFunction · 0.50
rack_timer_startFunction · 0.50
rack_timeout_tlpFunction · 0.50
rack_timeout_persistFunction · 0.50
rack_check_bottom_dragFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected