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);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 …]
1234 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()
2475 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()
2779 if (alloc_buflen > MLEN) { in sockargs()2781 alloc_buflen = MLEN; /* unix domain compat. hack */ in sockargs()2790 if (alloc_buflen > MLEN) { in sockargs()
908 if ((size_t)msg->msg_controllen > MLEN) { in sock_send_internal()
8286 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()1030 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()
4622 if (remain <= (mm->m_flags & M_PKTHDR ? MHLEN : MLEN)) { in ipsec_copypkt()4694 #define IPSEC_TAG_SIZE (MLEN - sizeof(struct m_tag))
1622 if (m && len > MLEN) { in ni6_nametodns()
1957 if (hlen > MLEN) { in ip6_copyexthdr()
857 #define MLEN _MLEN macro859 #define MINCLSIZE (MLEN + MHLEN)861 #define MLEN mbuf_get_mlen() /* normal mbuf data len */ macro881 MLEN)
97 #define PFLOGMTU (32768 + MHLEN + MLEN)
2273 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()
7794 if (l > MLEN) { in key_getcomb_esp()7889 if (l > MLEN) { in key_getcomb_ah()9829 if (n && len > MLEN) { in key_alloc_mbuf()