Lines Matching refs:m_len
1690 if (m->m_len < hlen + sizeof(struct udphdr)) { in ip_output_list()
1859 m->m_len = mhlen; in ip_fragment()
1989 if ((sw_csum & CSUM_DELAY_IP) || (hoff + sizeof(*ip)) > m->m_len || in in_finalize_cksum()
2078 if (offset + sizeof(csum) > m->m_len) { in in_finalize_cksum()
2118 if (offset + sizeof(csum) > m->m_len) { in in_finalize_cksum()
2147 optlen = opt->m_len - sizeof(p->ipopt_dst); in ip_insertoptions()
2161 m->m_len -= sizeof(struct ip); in ip_insertoptions()
2165 m->m_len = optlen + sizeof(struct ip); in ip_insertoptions()
2170 m->m_len += optlen; in ip_insertoptions()
2283 m->m_len = (int32_t)sopt->sopt_valsize; in ip_ctloutput()
2285 m->m_len, m->m_len); in ip_ctloutput()
2454 len = m->m_len; in ip_ctloutput()
2562 inp->inp_options->m_len); in ip_ctloutput()
2704 if (m == (struct mbuf *)0 || m->m_len == 0) { in ip_pcbopts()
2714 if (m->m_len % sizeof(int32_t)) { in ip_pcbopts()
2723 if (m->m_data + m->m_len + sizeof(struct in_addr) >= &m->m_dat[MLEN]) { in ip_pcbopts()
2726 cnt = m->m_len; in ip_pcbopts()
2727 m->m_len += sizeof(struct in_addr); in ip_pcbopts()
2768 m->m_len -= sizeof(struct in_addr); in ip_pcbopts()
2788 if (m->m_len > MAX_IPOPTLEN + sizeof(struct in_addr)) { in ip_pcbopts()
2949 if (copym != NULL && ((copym->m_flags & M_EXT) || copym->m_len < hlen)) { in ip_mloopback()