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

/freebsd-10-stable/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-stable/sys/netinet/
H A Dip_output.c791 int mhlen = sizeof (struct ip); local
821 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
823 mhip->ip_hl = mhlen >> 2;
825 m->m_len = mhlen;
832 mhip->ip_len = htons((u_short)(len + mhlen));
840 m->m_pkthdr.len = mhlen + len;
847 mhip->ip_sum = in_cksum(m, mhlen);
/freebsd-10-stable/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c862 int mhlen, firstlen = len; local
870 mhlen = sizeof (struct ip);
886 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
887 IP_HL_A(mhip, mhlen >> 2);
889 m->m_len = mhlen;
895 mhip->ip_len = htons((u_short)(len + mhlen));
902 m->m_pkthdr.len = mhlen + len;
906 mhip->ip_sum = in_cksum(m, mhlen);

Completed in 63 milliseconds