Home
last modified time | relevance | path

Searched refs:MLEN (Results 1 – 21 of 21) sorted by relevance

/xnu-11215.41.3/bsd/kern/
H A Duipc_mbuf2.c479 if (M_TAG_ALIGN(len) + sizeof(struct m_taghdr) <= MLEN) { in m_tag_alloc_mbuf()
497 VERIFY(m->m_len <= MLEN); in m_tag_alloc_mbuf()
524 if (len + sizeof(struct m_tag) + sizeof(struct m_taghdr) > MLEN) { in m_tag_create_mbuf()
537 sizeof(struct m_taghdr) > MLEN) { in m_tag_create_mbuf()
551 if (M_TAG_ALIGN(len) <= MLEN - m->m_len) { in m_tag_create_mbuf()
557 VERIFY(m->m_len <= MLEN); in m_tag_create_mbuf()
582 if (M_TAG_ALIGN(t->m_tag_len) + sizeof(struct m_taghdr) <= MLEN) { in m_tag_free_mbuf()
1368 .mtte_len = MLEN,
1374 .mtte_len = MLEN,
1399 .mtte_len = MLEN,
H A Dkpi_mbuf.c627 return &mbuf->m_dat[MLEN] - ((char *)mbuf_datastart(mbuf)); in mbuf_maxlen()
1131 P2ROUNDDOWN(MLEN - \
1385 n->m_len = (int32_t)MIN(MLEN, len + off); in mbuf_copyback()
1450 return MHLEN + MLEN; in mbuf_get_minclsize()
H A Duipc_mbuf.c2060 mbstat.m_mlen = MLEN; in mbuf_table_init()
4430 bzero(MTOD(m, caddr_t), MLEN);
6168 VERIFY(len <= MLEN);
6296 n->m_len = MIN(n->m_len, MLEN);
6559 m->m_data + m->m_len + n->m_len >= (uintptr_t)&m->m_dat[MLEN]) {
6676 if (len > MLEN) {
6889 VERIFY(remain <= MLEN);
6947 m->m_len = MLEN;
7360 (n->m_flags & M_EXT) ? MCLBYTES : MLEN;
7498 } else if (m->m_len <= MLEN) {
[all …]
H A Duipc_socket2.c1269 if (MLEN <= UINT8_MAX && asa->sa_len > MLEN) { in sbconcat_mbufs()
1989 if (CMSG_SPACE((u_int)size) > MLEN) { in sbcreatecontrol()
2017 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN) { in sbcreatecontrol_mbuf()
H A Duipc_syscalls.c1747 mlen = MLEN - M_LEADINGSPACE(m); in mbuf_packet_from_uio()
3306 if (alloc_buflen > MLEN) { in sockargs()
3308 alloc_buflen = MLEN; /* unix domain compat. hack */ in sockargs()
3317 if (alloc_buflen > MLEN) { in sockargs()
H A Dkpi_socket.c897 if ((size_t)msg->msg_controllen > MLEN) { in sock_send_internal()
H A Duipc_socket.c2484 mlen = MLEN - M_LEADINGSPACE(m); in sosend()
6354 if (sopt_size > MLEN) { in soopt_getm()
6362 m->m_len = min(MLEN, sopt_size); in soopt_getm()
6374 if (sopt_size > MLEN) { in soopt_getm()
6383 m->m_len = min(MLEN, sopt_size); in soopt_getm()
H A Dkern_event.c8925 if (total_size > MLEN) {
/xnu-11215.41.3/bsd/netinet6/
H A Dah_core.c596 if (n && hlen > MLEN) { in ah4_calccksum()
726 if (n && totlen > MLEN) { in ah4_calccksum()
890 if (n && newoff - off > MLEN) { in ah6_calccksum()
926 if (n && newoff - off > MLEN) { in ah6_calccksum()
H A Dah_output.c441 if (ahlen > MLEN) { in ah6_output()
H A Desp_rijndael.c246 if (d && i > MLEN) { in esp_cbc_decrypt_aes()
463 if (d && i > MLEN) { in esp_cbc_encrypt_aes()
H A Desp_core.c907 if (d && i > MLEN) { in esp_cbc_decrypt()
1152 if (d && i > MLEN) { in esp_cbc_encrypt()
H A Desp_output.c659 if (extendsiz + pad <= MLEN && extendsiz + pad < 256) { in esp_output()
H A Dicmp6.c1654 if (m && len > MLEN) { in ni6_nametodns()
H A Dip6_output.c1976 if (hlen > MLEN) { in ip6_copyexthdr()
H A Dipsec.c4906 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN)) { in ipsec_copypkt()
/xnu-11215.41.3/bsd/sys/
H A Dmbuf.h935 #define MLEN _MLEN macro
937 #define MINCLSIZE (MLEN + MHLEN)
939 #define MLEN mbuf_get_mlen() /* normal mbuf data len */ macro
959 MLEN)
/xnu-11215.41.3/bsd/net/
H A Dif_pflog.c98 #define PFLOGMTU (32768 + MHLEN + MLEN)
H A Dbpf.c307 mlen = MLEN - (int)M_LEADINGSPACE(m); in bpf_copy_uio_to_mbuf_packet()
/xnu-11215.41.3/bsd/netinet/
H A Dip_output.c2347 if (sopt->sopt_valsize > MLEN) { in ip_ctloutput()
/xnu-11215.41.3/bsd/netkey/
H A Dkey.c7938 if (l > MLEN) { in key_getcomb_esp()
8033 if (l > MLEN) { in key_getcomb_ah()
9975 if (n && len > MLEN) { in key_alloc_mbuf()