Searched refs:mhlen (Results 1 – 2 of 2) sorted by relevance
855 int mhlen, firstlen = len; local863 mhlen = sizeof (struct ip);879 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);880 IP_HL_A(mhip, mhlen >> 2);882 m->m_len = mhlen;888 mhip->ip_len = htons((u_short)(len + mhlen));895 m->m_pkthdr.len = mhlen + len;899 mhip->ip_sum = in_cksum(m, mhlen);
975 int mhlen = sizeof (struct ip); in ip_fragment() local1005 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip); in ip_fragment()1007 mhip->ip_hl = mhlen >> 2; in ip_fragment()1009 m->m_len = mhlen; in ip_fragment()1016 mhip->ip_len = htons((u_short)(len + mhlen)); in ip_fragment()1024 m->m_pkthdr.len = mhlen + len; in ip_fragment()1031 mhip->ip_sum = in_cksum(m, mhlen); in ip_fragment()