* 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. */
| 917 | * are discarded and mbufs are compacted where possible. |
| 918 | */ |
| 919 | void |
| 920 | sbappend(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 | /* |
no test coverage detected