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

Function sbappendstream

freebsd/kern/uipc_sockbuf.c:998–1005  ·  view source on GitHub ↗

* This version of sbappend() should only be used when the caller absolutely * knows that there will never be more than one record in the socket buffer, * that is, a stream protocol (such as TCP). */

Source from the content-addressed store, hash-verified

996 * that is, a stream protocol (such as TCP).
997 */
998void
999sbappendstream(struct sockbuf *sb, struct mbuf *m, int flags)
1000{
1001
1002 SOCKBUF_LOCK(sb);
1003 sbappendstream_locked(sb, m, flags);
1004 SOCKBUF_UNLOCK(sb);
1005}
1006
1007#ifdef SOCKBUF_DEBUG
1008void

Callers 1

tcp_usr_sendFunction · 0.85

Calls 1

sbappendstream_lockedFunction · 0.85

Tested by

no test coverage detected