Searched refs:MLEN (Results 1 - 23 of 23) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Duipc_mbuf2.c382 if (len + sizeof (struct m_tag) + sizeof (struct m_taghdr) > MLEN)
394 sizeof (struct m_taghdr) > MLEN) {
408 if (M_TAG_ALIGN(len) <= MLEN - m->m_len) {
413 VERIFY(m->m_len <= MLEN);
441 if (M_TAG_ALIGN(len) + sizeof (struct m_taghdr) <= MLEN) {
457 VERIFY(m->m_len <= MLEN);
500 if (M_TAG_ALIGN(t->m_tag_len) + sizeof (struct m_taghdr) <= MLEN) {
H A Dkpi_mbuf.c466 return &mbuf->m_dat[MLEN] - ((char*)mbuf_datastart(mbuf));
1050 n->m_len = MIN(MLEN, len + off);
1109 return (MHLEN + MLEN);
H A Duipc_mbuf.c1250 mbstat.m_mlen = MLEN;
3255 bzero(MTOD(m, caddr_t), MLEN); local
4337 return (&m->m_dat[MLEN] - (m->m_data + m->m_len));
4649 m->m_data + m->m_len + n->m_len >= &m->m_dat[MLEN]) {
4758 n->m_data + len < &n->m_dat[MLEN] && n->m_next) {
4776 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
4826 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
4957 m->m_len = MLEN;
5345 (n->m_flags & M_EXT) ? MCLBYTES : MLEN;
5470 } else if (m->m_len <= MLEN) {
[all...]
H A Duipc_socket2.c1039 if (asa->sa_len > MLEN)
1467 if (CMSG_SPACE((u_int)size) > MLEN)
1493 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN){
H A Duipc_socket.c1724 mlen = MLEN;
3706 if (sopt_size > MLEN) {
3714 m->m_len = min(MLEN, sopt_size);
3726 if (sopt_size > MLEN) {
3735 m->m_len = min(MLEN, sopt_size);
H A Duipc_syscalls.c1856 if (alloc_buflen > MLEN) {
1858 alloc_buflen = MLEN; /* unix domain compat. hack */
1865 if (alloc_buflen > MLEN) {
H A Dkpi_socket.c841 if ((size_t)msg->msg_controllen > MLEN) return EINVAL;
H A Dkern_event.c2868 if (total_size > MLEN) {
/darwin-on-arm/xnu/bsd/netinet6/
H A Desp_rijndael.c236 if (d && i > MLEN) {
417 if (d && i > MLEN) {
H A Desp_output.c583 * MLEN limitation comes from the trailer attachment
590 if (extendsiz + pad <= MLEN && extendsiz + pad < 256)
595 if (extendsiz > MLEN || extendsiz >= 256)
H A Dah_core.c1313 if (n && hlen > MLEN) {
1429 if (n && totlen > MLEN) {
1580 if (n && newoff - off > MLEN) {
1615 if (n && newoff - off > MLEN) {
H A Dah_output.c440 if (ahlen > MLEN) {
H A Desp_core.c673 if (d && i > MLEN) {
906 if (d && i > MLEN) {
H A Dip6_input.c1847 if (n && elen >= MLEN) {
H A Dipsec.c4182 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN))
4233 * Tags are allocated as mbufs for now, since our minimum size is MLEN, we
4244 #define IPSEC_TAG_SIZE (MLEN - sizeof(struct m_tag))
H A Dicmp6.c1615 if (m && len > MLEN) {
H A Dip6_output.c1567 if (hlen > MLEN) {
/darwin-on-arm/xnu/bsd/net/
H A Dppp_deflate.c289 if (maxolen + state->hdrlen > MLEN)
349 if (maxolen - olen > MLEN)
H A Dif_pflog.c97 #define PFLOGMTU (32768 + MHLEN + MLEN)
H A Dbsd_comp.c536 if (maxolen - olen > MLEN) \
578 if (maxolen + db->hdrlen > MLEN)
/darwin-on-arm/xnu/bsd/sys/
H A Dmbuf.h468 (m)->m_data += (MLEN - (len)) &~ (sizeof (long) - 1); \
865 #define MLEN mbuf_get_mlen() /* normal data len */ macro
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_output.c2312 if (sopt->sopt_valsize > MLEN) {
2779 if (m->m_data + m->m_len + sizeof(struct in_addr) >= &m->m_dat[MLEN])
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.c6977 if (l > MLEN)
7062 if (l > MLEN)
7108 if (l > MLEN)
8871 if (n && len > MLEN)

Completed in 307 milliseconds