HomeSort by relevance Sort by last modified time
    Searched full:mhlen (Results 1 - 5 of 5) sorted by null

  /external/qemu/slirp/
ip_output.c 124 int mhlen, firstlen = len; local
132 mhlen = sizeof (struct ip);
147 * mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
148 * mhip->ip_hl = mhlen >> 2;
151 m->m_len = mhlen;
159 mhip->ip_len = htons((u_int16_t)(len + mhlen));
168 mhip->ip_sum = cksum(m, mhlen);
tcp_output.c 272 * max_linkhdr + sizeof (struct tcpiphdr) + optlen <= MHLEN
359 /* if (len <= MHLEN - hdrlen - max_linkhdr) { */
  /external/qemu/slirp-android/
ip_output.c 124 int mhlen, firstlen = len; local
132 mhlen = sizeof (struct ip);
147 * mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
148 * mhip->ip_hl = mhlen >> 2;
151 m->m_len = mhlen;
159 mhip->ip_len = htons((u_int16_t)(len + mhlen));
168 mhip->ip_sum = cksum(m, mhlen);
tcp_output.c 272 * max_linkhdr + sizeof (struct tcpiphdr) + optlen <= MHLEN
359 /* if (len <= MHLEN - hdrlen - max_linkhdr) { */
  /external/tcpdump/
print-mobility.c 175 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);

Completed in 57 milliseconds