- t2ex
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf.c - 57.8KB - 1,910 lines
808: n->m_len = 0;
809: n->m_len = M_TRAILINGSPACE(n);
810: n->m_len = min(n->m_len, len);
- More results from uipc_mbuf.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf2.c - 12.9KB - 420 lines
172: */
173: if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen &&
174: !sharedcluster) {
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_socket2.c - 45.7KB - 1,544 lines
1267: m->m_len <= MCLBYTES / 4 && /* XXX Don't copy too much */
1268: m->m_len <= M_TRAILINGSPACE(n) &&
1269: n->m_type == m->m_type) {
- bsd_source/t2ex/network/net/src_bsd/net/rtsock.c - 49.8KB - 1,393 lines
941: */
942: if (data_len > M_TRAILINGSPACE(m)) {
943: struct mbuf *n = m_get(M_NOWAIT, MT_DATA);
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_input.c - 167.0KB - 4,503 lines
1401:
1402: if (M_TRAILINGSPACE(tcp_saveti) < sizeof(struct tcphdr)) {
1403: m_freem(tcp_saveti);
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_output.c - 62.9KB - 1,704 lines
516:
517: if (len <= M_TRAILINGSPACE(m)) {
518: m_copydata(m0, off, (int) len, mtod(m, char *) + hdrlen);