Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/kern/
H A Duipc_mbuf2.c483 if (M_TAG_ALIGN(len) + sizeof(struct m_taghdr) <= MLEN) { in m_tag_alloc_mbuf()
501 VERIFY(m->m_len <= MLEN); in m_tag_alloc_mbuf()
528 if (len + sizeof(struct m_tag) + sizeof(struct m_taghdr) > MLEN) { in m_tag_create_mbuf()
541 sizeof(struct m_taghdr) > MLEN) { in m_tag_create_mbuf()
555 if (M_TAG_ALIGN(len) <= MLEN - m->m_len) { in m_tag_create_mbuf()
561 VERIFY(m->m_len <= MLEN); in m_tag_create_mbuf()
586 if (M_TAG_ALIGN(t->m_tag_len) + sizeof(struct m_taghdr) <= MLEN) { in m_tag_free_mbuf()
1369 .mtte_len = MLEN,
1375 .mtte_len = MLEN,
1400 .mtte_len = MLEN,
H A Dkpi_mbuf.c646 return &mbuf->m_dat[MLEN] - ((char *)mbuf_datastart(mbuf)); in mbuf_maxlen()
1279 P2ROUNDDOWN(MLEN - \
1533 n->m_len = (int32_t)MIN(MLEN, len + off); in mbuf_copyback()
1598 return MHLEN + MLEN; in mbuf_get_minclsize()
H A Duipc_socket2.c1269 if (MLEN <= UINT8_MAX && asa->sa_len > MLEN) { in sbconcat_mbufs()
1988 if (CMSG_SPACE((u_int)size) > MLEN) { in sbcreatecontrol()
2016 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN) { in sbcreatecontrol_mbuf()
H A Duipc_mbuf.c2075 mbstat.m_mlen = MLEN; in mbuf_table_init()
4431 bzero(mtod(m, caddr_t), MLEN);
6189 VERIFY(len <= MLEN);
6574 m->m_data + m->m_len + n->m_len >= (uintptr_t)&m->m_dat[MLEN]) {
6691 if (len > MLEN) {
6904 VERIFY(remain <= MLEN);
7291 (n->m_flags & M_EXT) ? MCLBYTES : MLEN;
7428 } else if (m->m_len <= MLEN) {
7464 (copyhdr == 0 && m->m_len <= MLEN));
7636 n->m_len = min(MLEN, remainder);
[all …]
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.c2511 mlen = MLEN - M_LEADINGSPACE(m); in sosend()
6388 if (sopt_size > MLEN) { in soopt_getm()
6396 m->m_len = min(MLEN, sopt_size); in soopt_getm()
6408 if (sopt_size > MLEN) { in soopt_getm()
6417 m->m_len = min(MLEN, sopt_size); in soopt_getm()
H A Dkern_event.c8925 if (total_size > MLEN) {
/xnu-11417.140.69/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.c2011 if (hlen > MLEN) { in ip6_copyexthdr()
H A Dipsec.c4906 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN)) { in ipsec_copypkt()
/xnu-11417.140.69/bsd/sys/
H A Dmbuf.h951 #define MLEN _MLEN macro
953 #define MINCLSIZE (MLEN + MHLEN)
955 #define MLEN mbuf_get_mlen() /* normal mbuf data len */ macro
975 MLEN)
/xnu-11417.140.69/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-11417.140.69/bsd/netinet/
H A Dip_output.c2377 if (sopt->sopt_valsize > MLEN) { in ip_ctloutput()
/xnu-11417.140.69/bsd/netkey/
H A Dkey.c7942 if (l > MLEN) { in key_getcomb_esp()
8037 if (l > MLEN) { in key_getcomb_ah()
9979 if (n && len > MLEN) { in key_alloc_mbuf()