Searched refs:mhlen (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/contrib/tcpdump/
H A Dprint-mobility.c175 int mhlen, hlen, type; local
195 mhlen = ep - bp;
198 mhlen = (int)((mh->ip6m_len + 1) << 3);
300 return(mhlen);
304 mobility_opt_print(&bp[hlen], mhlen - hlen);
306 return(mhlen);
310 return(mhlen);
/freebsd-10.0-release/sys/netinet/
H A Dip_output.c790 int mhlen = sizeof (struct ip); local
808 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
810 mhip->ip_hl = mhlen >> 2;
812 m->m_len = mhlen;
819 mhip->ip_len = htons((u_short)(len + mhlen));
827 m->m_pkthdr.len = mhlen + len;
836 mhip->ip_sum = in_cksum(m, mhlen);
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c870 int mhlen, firstlen = len; local
878 mhlen = sizeof (struct ip);
894 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
895 IP_HL_A(mhip, mhlen >> 2);
897 m->m_len = mhlen;
903 mhip->ip_len = htons((u_short)(len + mhlen));
910 m->m_pkthdr.len = mhlen + len;
914 mhip->ip_sum = in_cksum(m, mhlen);

Completed in 185 milliseconds