* Append address and data, and optionally, control (ancillary) data to the * receive queue of a socket. If present, m0 must include a packet header * with total length. Returns 0 if insufficient mbufs. Does not validate space * on the receiving sockbuf. */
| 1219 | * on the receiving sockbuf. |
| 1220 | */ |
| 1221 | int |
| 1222 | sbappendaddr_nospacecheck_locked(struct sockbuf *sb, const struct sockaddr *asa, |
| 1223 | struct mbuf *m0, struct mbuf *control) |
| 1224 | { |
| 1225 | struct mbuf *ctrl_last; |
| 1226 | |
| 1227 | SOCKBUF_LOCK_ASSERT(sb); |
| 1228 | |
| 1229 | ctrl_last = (control == NULL) ? NULL : m_last(control); |
| 1230 | return (sbappendaddr_locked_internal(sb, asa, m0, control, ctrl_last)); |
| 1231 | } |
| 1232 | |
| 1233 | /* |
| 1234 | * Append address and data, and optionally, control (ancillary) data to the |
no test coverage detected