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

/xnu-2782.1.97/bsd/kern/
H A Duipc_mbuf2.c383 if (len + sizeof (struct m_tag) + sizeof (struct m_taghdr) > MLEN)
395 sizeof (struct m_taghdr) > MLEN) {
409 if (M_TAG_ALIGN(len) <= MLEN - m->m_len) {
414 VERIFY(m->m_len <= MLEN);
442 if (M_TAG_ALIGN(len) + sizeof (struct m_taghdr) <= MLEN) {
458 VERIFY(m->m_len <= MLEN);
494 if (M_TAG_ALIGN(t->m_tag_len) + sizeof (struct m_taghdr) <= MLEN) {
H A Dkpi_mbuf.c468 return &mbuf->m_dat[MLEN] - ((char*)mbuf_datastart(mbuf));
967 P2ROUNDDOWN(MLEN - sizeof (struct m_taghdr) - \
1196 n->m_len = MIN(MLEN, len + off);
1255 return (MHLEN + MLEN);
H A Duipc_mbuf.c1301 mbstat.m_mlen = MLEN;
1641 printf("%s: MLEN %d, MHLEN %d\n", __func__,
3334 bzero(MTOD(m, caddr_t), MLEN); local
4478 return (&m->m_dat[MLEN] - (m->m_data + m->m_len));
4613 n->m_len = MIN(n->m_len, MLEN);
4833 m->m_data + m->m_len + n->m_len >= &m->m_dat[MLEN]) {
4942 n->m_data + len < &n->m_dat[MLEN] && n->m_next) {
4960 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
5010 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
5141 m->m_len = MLEN;
[all...]
H A Duipc_socket2.c1076 if (asa->sa_len > MLEN)
1938 if (CMSG_SPACE((u_int)size) > MLEN)
1964 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN) {
H A Duipc_syscalls.c2429 if (alloc_buflen > MLEN) {
2431 alloc_buflen = MLEN; /* unix domain compat. hack */
2438 if (alloc_buflen > MLEN) {
H A Dkpi_socket.c801 if ((size_t)msg->msg_controllen > MLEN) {
H A Duipc_socket.c2018 mlen = MLEN;
5204 if (sopt_size > MLEN) {
5212 m->m_len = min(MLEN, sopt_size);
5224 if (sopt_size > MLEN) {
5233 m->m_len = min(MLEN, sopt_size);
H A Dkern_event.c3221 if (total_size > MLEN) {
/xnu-2782.1.97/bsd/netinet6/
H A Desp_rijndael.c236 if (d && i > MLEN) {
431 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 Dipsec.c4338 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN))
4389 * Tags are allocated as mbufs for now, since our minimum size is MLEN, we
4400 #define IPSEC_TAG_SIZE (MLEN - sizeof(struct m_tag))
H A Dicmp6.c1574 if (m && len > MLEN) {
H A Dip6_output.c1669 if (hlen > MLEN) {
/xnu-2782.1.97/bsd/net/
H A Dif_pflog.c97 #define PFLOGMTU (32768 + MHLEN + MLEN)
/xnu-2782.1.97/bsd/sys/
H A Dmbuf.h692 (m)->m_data += (MLEN - (len)) &~ (sizeof (long) - 1); \
1099 #define MLEN mbuf_get_mlen() /* normal data len */ macro
/xnu-2782.1.97/bsd/netinet/
H A Dip_output.c2351 if (sopt->sopt_valsize > MLEN) {
2810 if (m->m_data + m->m_len + sizeof (struct in_addr) >= &m->m_dat[MLEN])
/xnu-2782.1.97/bsd/netkey/
H A Dkey.c7698 if (l > MLEN)
7783 if (l > MLEN)
7829 if (l > MLEN)
9629 if (n && len > MLEN)

Completed in 266 milliseconds