Home
last modified time | relevance | path

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

/netbsd-src/sys/netinet/
H A Dip_output.c830 int mhlen, firstlen; in ip_fragment() local
862 mhlen = sizeof(struct ip); in ip_fragment()
883 mhlen = ip_optcopy(ip, mhip) + sizeof(struct ip); in ip_fragment()
884 mhip->ip_hl = mhlen >> 2; in ip_fragment()
886 m->m_len = mhlen; in ip_fragment()
896 mhip->ip_len = htons((u_int16_t)(len + mhlen)); in ip_fragment()
904 m->m_pkthdr.len = mhlen + len; in ip_fragment()
910 mhip->ip_sum = in_cksum(m, mhlen); in ip_fragment()
917 m->m_pkthdr.csum_data |= mhlen << 16; in ip_fragment()
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dip_fil_netbsd.c1285 int mhlen, firstlen = len; in ipf_fastroute() local
1293 mhlen = sizeof (struct ip); in ipf_fastroute()
1310 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip); in ipf_fastroute()
1311 IP_HL_A(mhip, mhlen >> 2); in ipf_fastroute()
1314 m->m_len = mhlen; in ipf_fastroute()
1320 mhip->ip_len = htons((u_short)(len + mhlen)); in ipf_fastroute()
1326 m->m_pkthdr.len = mhlen + len; in ipf_fastroute()
1331 mhip->ip_sum = in_cksum(m, mhlen); in ipf_fastroute()
/netbsd-src/sys/sys/
H A Dmbuf.h287 #define MBUF_DEFINE(name, mhlen, mlen) \ argument
295 char MH_databuf[(mhlen)]; \