Searched refs:MLEN (Results 1 – 20 of 20) sorted by relevance
351 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()
625 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()
1424 mbstat.m_mlen = MLEN; in mbuf_table_init()3730 bzero(MTOD(m, caddr_t), MLEN);5069 VERIFY(len <= MLEN);5191 n->m_len = MIN(n->m_len, MLEN);5426 m->m_data + m->m_len + n->m_len >= &m->m_dat[MLEN]) {5545 if (len > MLEN) {5551 n->m_data >= &n->m_dat[MLEN]) {5563 len < &n->m_dat[MLEN] - n->m_data && n->m_next != NULL) {5584 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);5639 space = &m->m_dat[MLEN] - (m->m_data + m->m_len);[all …]
1236 if (asa->sa_len > MLEN) { in sbconcat_mbufs()1930 if (CMSG_SPACE((u_int)size) > MLEN) { in sbcreatecontrol()1958 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN) { in sbcreatecontrol_mbuf()
2495 mlen = MLEN - M_LEADINGSPACE(m); in sosend()2895 mlen = MLEN - M_LEADINGSPACE(m); in sosend_list()6508 if (sopt_size > MLEN) { in soopt_getm()6516 m->m_len = min(MLEN, sopt_size); in soopt_getm()6528 if (sopt_size > MLEN) { in soopt_getm()6537 m->m_len = min(MLEN, sopt_size); in soopt_getm()
2820 if (alloc_buflen > MLEN) { in sockargs()2822 alloc_buflen = MLEN; /* unix domain compat. hack */ in sockargs()2831 if (alloc_buflen > MLEN) { in sockargs()
899 if ((size_t)msg->msg_controllen > MLEN) { in sock_send_internal()
8325 if (total_size > MLEN) { in kev_post_msg_internal()
245 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()1031 if (d && i > MLEN) { in esp_gcm_decrypt_aes()
1293 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()
831 if (d && i > MLEN) { in esp_cbc_decrypt()1076 if (d && i > MLEN) { in esp_cbc_encrypt()
441 if (ahlen > MLEN) { in ah6_output()
655 if (extendsiz + pad <= MLEN && extendsiz + pad < 256) { in esp_output()
4641 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN)) { in ipsec_copypkt()4705 #define IPSEC_TAG_SIZE (MLEN - sizeof(struct m_tag))
1651 if (m && len > MLEN) { in ni6_nametodns()
1953 if (hlen > MLEN) { in ip6_copyexthdr()
859 #define MLEN _MLEN macro861 #define MINCLSIZE (MLEN + MHLEN)863 #define MLEN mbuf_get_mlen() /* normal mbuf data len */ macro883 MLEN)
97 #define PFLOGMTU (32768 + MHLEN + MLEN)
2282 if (sopt->sopt_valsize > MLEN) { in ip_ctloutput()2732 if (m->m_data + m->m_len + sizeof(struct in_addr) >= &m->m_dat[MLEN]) { in ip_pcbopts()
7976 if (l > MLEN) { in key_getcomb_esp()8071 if (l > MLEN) { in key_getcomb_ah()10001 if (n && len > MLEN) { in key_alloc_mbuf()