Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/kern/
H A Duipc_mbuf2.c351 if (len + sizeof(struct m_tag) + sizeof(struct m_taghdr) > MLEN) { in m_tag_create()
364 sizeof(struct m_taghdr) > MLEN) { in m_tag_create()
378 if (M_TAG_ALIGN(len) <= MLEN - m->m_len) { in m_tag_create()
383 VERIFY(m->m_len <= MLEN); in m_tag_create()
414 if (M_TAG_ALIGN(len) + sizeof(struct m_taghdr) <= MLEN) { in m_tag_alloc()
431 VERIFY(m->m_len <= MLEN); in m_tag_alloc()
464 if (M_TAG_ALIGN(t->m_tag_len) + sizeof(struct m_taghdr) <= MLEN) { in m_tag_free()
H A Dkpi_mbuf.c625 return &mbuf->m_dat[MLEN] - ((char *)mbuf_datastart(mbuf)); in mbuf_maxlen()
1129 P2ROUNDDOWN(MLEN - sizeof (struct m_taghdr) - \
1380 n->m_len = (int32_t)MIN(MLEN, len + off); in mbuf_copyback()
1445 return MHLEN + MLEN; in mbuf_get_minclsize()
H A Duipc_mbuf.c1424 mbstat.m_mlen = MLEN; in mbuf_table_init()
3730 bzero(MTOD(m, caddr_t), MLEN);
5041 VERIFY(len <= MLEN);
5163 n->m_len = MIN(n->m_len, MLEN);
5398 m->m_data + m->m_len + n->m_len >= &m->m_dat[MLEN]) {
5517 if (len > MLEN) {
5523 n->m_data >= &n->m_dat[MLEN]) {
5535 len < &n->m_dat[MLEN] - n->m_data && n->m_next != NULL) {
5556 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
5611 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);
[all …]
H A Duipc_socket2.c1234 if (asa->sa_len > MLEN) { in sbconcat_mbufs()
1928 if (CMSG_SPACE((u_int)size) > MLEN) { in sbcreatecontrol()
1956 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN) { in sbcreatecontrol_mbuf()
H A Duipc_socket.c2475 mlen = MLEN - M_LEADINGSPACE(m); in sosend()
2860 mlen = MLEN - M_LEADINGSPACE(m); in sosend_list()
6420 if (sopt_size > MLEN) { in soopt_getm()
6428 m->m_len = min(MLEN, sopt_size); in soopt_getm()
6440 if (sopt_size > MLEN) { in soopt_getm()
6449 m->m_len = min(MLEN, sopt_size); in soopt_getm()
H A Duipc_syscalls.c2779 if (alloc_buflen > MLEN) { in sockargs()
2781 alloc_buflen = MLEN; /* unix domain compat. hack */ in sockargs()
2790 if (alloc_buflen > MLEN) { in sockargs()
H A Dkpi_socket.c908 if ((size_t)msg->msg_controllen > MLEN) { in sock_send_internal()
H A Dkern_event.c8286 if (total_size > MLEN) { in kev_post_msg_internal()
/xnu-8020.140.41/bsd/netinet6/
H A Desp_rijndael.c245 if (d && i > MLEN) { in esp_cbc_decrypt_aes()
461 if (d && i > MLEN) { in esp_cbc_encrypt_aes()
807 if (d && i > MLEN) { in esp_gcm_encrypt_aes()
1030 if (d && i > MLEN) { in esp_gcm_decrypt_aes()
H A Dah_core.c1293 if (n && hlen > MLEN) { in ah4_calccksum()
1414 if (n && totlen > MLEN) { in ah4_calccksum()
1571 if (n && newoff - off > MLEN) { in ah6_calccksum()
1607 if (n && newoff - off > MLEN) { in ah6_calccksum()
H A Desp_core.c831 if (d && i > MLEN) { in esp_cbc_decrypt()
1076 if (d && i > MLEN) { in esp_cbc_encrypt()
H A Dah_output.c441 if (ahlen > MLEN) { in ah6_output()
H A Desp_output.c655 if (extendsiz + pad <= MLEN && extendsiz + pad < 256) { in esp_output()
H A Dipsec.c4622 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN)) { in ipsec_copypkt()
4694 #define IPSEC_TAG_SIZE (MLEN - sizeof(struct m_tag))
H A Dicmp6.c1622 if (m && len > MLEN) { in ni6_nametodns()
H A Dip6_output.c1957 if (hlen > MLEN) { in ip6_copyexthdr()
/xnu-8020.140.41/bsd/sys/
H A Dmbuf.h857 #define MLEN _MLEN macro
859 #define MINCLSIZE (MLEN + MHLEN)
861 #define MLEN mbuf_get_mlen() /* normal mbuf data len */ macro
881 MLEN)
/xnu-8020.140.41/bsd/net/
H A Dif_pflog.c97 #define PFLOGMTU (32768 + MHLEN + MLEN)
/xnu-8020.140.41/bsd/netinet/
H A Dip_output.c2273 if (sopt->sopt_valsize > MLEN) { in ip_ctloutput()
2723 if (m->m_data + m->m_len + sizeof(struct in_addr) >= &m->m_dat[MLEN]) { in ip_pcbopts()
/xnu-8020.140.41/bsd/netkey/
H A Dkey.c7794 if (l > MLEN) { in key_getcomb_esp()
7889 if (l > MLEN) { in key_getcomb_ah()
9829 if (n && len > MLEN) { in key_alloc_mbuf()