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

Function sbappend

freebsd/kern/uipc_sockbuf.c:919–926  ·  view source on GitHub ↗

* Append mbuf chain m to the last record in the socket buffer sb. The * additional space associated the mbuf chain is recorded in sb. Empty mbufs * are discarded and mbufs are compacted where possible. */

Source from the content-addressed store, hash-verified

917 * are discarded and mbufs are compacted where possible.
918 */
919void
920sbappend(struct sockbuf *sb, struct mbuf *m, int flags)
921{
922
923 SOCKBUF_LOCK(sb);
924 sbappend_locked(sb, m, flags);
925 SOCKBUF_UNLOCK(sb);
926}
927
928#ifdef KERN_TLS
929/*

Callers 2

ng_btsocket_rfcomm_sendFunction · 0.85

Calls 1

sbappend_lockedFunction · 0.85

Tested by

no test coverage detected