| /src/sys/netinet/ |
| ip_output.c | 842 int mhlen, firstlen; local in function:ip_fragment 874 mhlen = sizeof(struct ip); 895 mhlen = ip_optcopy(ip, mhip) + sizeof(struct ip); 896 mhip->ip_hl = mhlen >> 2; 898 m->m_len = mhlen; 908 mhip->ip_len = htons((u_int16_t)(len + mhlen)); 916 m->m_pkthdr.len = mhlen + len; 922 mhip->ip_sum = in_cksum(m, mhlen); 929 m->m_pkthdr.csum_data |= mhlen << 16;
|
| ip_output.c | 842 int mhlen, firstlen; local in function:ip_fragment 874 mhlen = sizeof(struct ip); 895 mhlen = ip_optcopy(ip, mhip) + sizeof(struct ip); 896 mhip->ip_hl = mhlen >> 2; 898 m->m_len = mhlen; 908 mhip->ip_len = htons((u_int16_t)(len + mhlen)); 916 m->m_pkthdr.len = mhlen + len; 922 mhip->ip_sum = in_cksum(m, mhlen); 929 m->m_pkthdr.csum_data |= mhlen << 16;
|
| ip_output.c | 842 int mhlen, firstlen; local in function:ip_fragment 874 mhlen = sizeof(struct ip); 895 mhlen = ip_optcopy(ip, mhip) + sizeof(struct ip); 896 mhip->ip_hl = mhlen >> 2; 898 m->m_len = mhlen; 908 mhip->ip_len = htons((u_int16_t)(len + mhlen)); 916 m->m_pkthdr.len = mhlen + len; 922 mhip->ip_sum = in_cksum(m, mhlen); 929 m->m_pkthdr.csum_data |= mhlen << 16;
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_fil_netbsd.c | 766 if (sizeof(*tcp2) + hlen > MHLEN) { 938 avail = MHLEN; 1285 int mhlen, firstlen = len; local in function:ipf_fastroute 1293 mhlen = sizeof (struct ip); 1310 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip); 1311 IP_HL_A(mhip, mhlen >> 2); 1314 m->m_len = mhlen; 1320 mhip->ip_len = htons((u_short)(len + mhlen)); 1326 m->m_pkthdr.len = mhlen + len; 1331 mhip->ip_sum = in_cksum(m, mhlen); [all...] |
| ip_fil_netbsd.c | 766 if (sizeof(*tcp2) + hlen > MHLEN) { 938 avail = MHLEN; 1285 int mhlen, firstlen = len; local in function:ipf_fastroute 1293 mhlen = sizeof (struct ip); 1310 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip); 1311 IP_HL_A(mhip, mhlen >> 2); 1314 m->m_len = mhlen; 1320 mhip->ip_len = htons((u_short)(len + mhlen)); 1326 m->m_pkthdr.len = mhlen + len; 1331 mhip->ip_sum = in_cksum(m, mhlen); [all...] |
| ip_fil_netbsd.c | 766 if (sizeof(*tcp2) + hlen > MHLEN) { 938 avail = MHLEN; 1285 int mhlen, firstlen = len; local in function:ipf_fastroute 1293 mhlen = sizeof (struct ip); 1310 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip); 1311 IP_HL_A(mhip, mhlen >> 2); 1314 m->m_len = mhlen; 1320 mhip->ip_len = htons((u_short)(len + mhlen)); 1326 m->m_pkthdr.len = mhlen + len; 1331 mhip->ip_sum = in_cksum(m, mhlen); [all...] |
| /src/sys/sys/ |
| mbuf.h | 285 * Don't change this without understanding how MHLEN/MLEN are defined. 287 #define MBUF_DEFINE(name, mhlen, mlen) \ 295 char MH_databuf[(mhlen)]; \ 317 * Dummy mbuf structure to calculate the right values for MLEN/MHLEN, taking 325 #define MHLEN ((int)(MSIZE - offsetof(struct _mbuf_dummy, m_pktdat))) 327 #define MINCLSIZE (MHLEN+MLEN+1) /* smallest amount to put in cluster */ 332 MBUF_DEFINE(mbuf, MHLEN, MLEN); 511 ((m)->m_flags & M_PKTHDR) ? MHLEN : MLEN) 723 extern int max_datalen; /* MHLEN - max_hdr */
|
| mbuf.h | 285 * Don't change this without understanding how MHLEN/MLEN are defined. 287 #define MBUF_DEFINE(name, mhlen, mlen) \ 295 char MH_databuf[(mhlen)]; \ 317 * Dummy mbuf structure to calculate the right values for MLEN/MHLEN, taking 325 #define MHLEN ((int)(MSIZE - offsetof(struct _mbuf_dummy, m_pktdat))) 327 #define MINCLSIZE (MHLEN+MLEN+1) /* smallest amount to put in cluster */ 332 MBUF_DEFINE(mbuf, MHLEN, MLEN); 511 ((m)->m_flags & M_PKTHDR) ? MHLEN : MLEN) 723 extern int max_datalen; /* MHLEN - max_hdr */
|
| mbuf.h | 285 * Don't change this without understanding how MHLEN/MLEN are defined. 287 #define MBUF_DEFINE(name, mhlen, mlen) \ 295 char MH_databuf[(mhlen)]; \ 317 * Dummy mbuf structure to calculate the right values for MLEN/MHLEN, taking 325 #define MHLEN ((int)(MSIZE - offsetof(struct _mbuf_dummy, m_pktdat))) 327 #define MINCLSIZE (MHLEN+MLEN+1) /* smallest amount to put in cluster */ 332 MBUF_DEFINE(mbuf, MHLEN, MLEN); 511 ((m)->m_flags & M_PKTHDR) ? MHLEN : MLEN) 723 extern int max_datalen; /* MHLEN - max_hdr */
|