* 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). */
| 996 | * that is, a stream protocol (such as TCP). |
| 997 | */ |
| 998 | void |
| 999 | sbappendstream(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 |
| 1008 | void |
no test coverage detected