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

/freebsd-9.3-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-9.3-release/sys/netinet/
H A Dip_output.c782 int mhlen = sizeof (struct ip); local
800 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
802 mhip->ip_hl = mhlen >> 2;
804 m->m_len = mhlen;
812 mhip->ip_len = htons((u_short)(len + mhlen));
820 m->m_pkthdr.len = mhlen + len;
829 mhip->ip_sum = in_cksum(m, mhlen);
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c1071 int mhlen, firstlen = len; local
1079 mhlen = sizeof (struct ip);
1095 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
1096 IP_HL_A(mhip, mhlen >> 2);
1098 m->m_len = mhlen;
1104 mhip->ip_len = htons((u_short)(len + mhlen));
1111 m->m_pkthdr.len = mhlen + len;
1115 mhip->ip_sum = in_cksum(m, mhlen);

Completed in 101 milliseconds