517: if (len <= M_TRAILINGSPACE(m)) {
518: m_copydata(m0, off, (int) len, mtod(m, char *) + hdrlen);
519: m->m_len += len;
1290: case AF_INET:
1291: ip = mtod(m, struct ip *);
1292: #ifdef INET6
1300: ip = NULL;
1301: ip6 = mtod(m, struct ip6_hdr *);
1302: th = (struct tcphdr *)(ip6 + 1);
1316: panic("tcp_output");
1317: bcopy(mtod(tp->t_template, void *), mtod(m, void *), iphdrlen);
1318:
1429: sigp = (char *)th + sizeof(*th) + sigoff;
1430: tcp_signature(m, th, (char *)th - mtod(m, char *), sav, sigp);
1431: