Searched refs:M_TRAILINGSPACE (Results 1 – 14 of 14) sorted by relevance
274 d->m_len = (int)M_TRAILINGSPACE(d); in esp_cbc_decrypt_aes()490 d->m_len = (int)M_TRAILINGSPACE(d); in esp_cbc_encrypt_aes()836 d->m_len = (int)M_TRAILINGSPACE(d); in esp_gcm_encrypt_aes()1059 d->m_len = (int)M_TRAILINGSPACE(d); in esp_gcm_decrypt_aes()
670 if (!(n->m_flags & M_EXT) && extendsiz < M_TRAILINGSPACE(n)) { in esp_output()842 if (!(n->m_flags & M_EXT) && siz < M_TRAILINGSPACE(n)) { /* XXX */ in esp_output()
859 d->m_len = (int)((M_TRAILINGSPACE(d) / blocklen) * blocklen); in esp_cbc_decrypt()1104 d->m_len = (int)((M_TRAILINGSPACE(d) / blocklen) * blocklen); in esp_cbc_encrypt()
1566 lenlim = (int)M_TRAILINGSPACE(n); in ni6_input()1641 ep = mtod(m, char *) + M_TRAILINGSPACE(m); in ni6_nametodns()2810 maxlen = M_TRAILINGSPACE(m); in icmp6_redirect_output()2987 if (8 - extra <= M_TRAILINGSPACE(m0)) { in icmp6_redirect_output()
2166 if (M_TRAILINGSPACE(mopt) < JUMBOOPTLEN) { in ip6_insert_jumboopt()2259 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr()
265 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown()
426 return M_TRAILINGSPACE(mbuf); in mbuf_trailingspace()
6117 tspace = M_TRAILINGSPACE(m);6142 n->m_len = MIN(M_TRAILINGSPACE(n), off + len);6527 space = M_TRAILINGSPACE(m);
1672 m->m_len <= M_TRAILINGSPACE(n) && in sbcompress()
360 icmplen = min(icmplen, (u_int)M_TRAILINGSPACE(m) - in icmp_error()
1212 len = MIN((int)M_TRAILINGSPACE(mb), (int)(tot - progress)); in mptcp_uiotombuf()
514 curr_trailing = (uint32_t)M_TRAILINGSPACE(currm); in copy_pkt_csum_packed()1961 M_TRAILINGSPACE(curr_m) >= plen - thlen) { in flow_rx_agg_host()
903 #define M_TRAILINGSPACE(m) \ macro
3304 if (sizeof(struct sadb_msg) > m->m_len + M_TRAILINGSPACE(m)) { in key_spdflush()8818 sizeof(struct sadb_msg) > m->m_len + M_TRAILINGSPACE(m)) { in key_flush()9839 n->m_len = (int)M_TRAILINGSPACE(n); in key_alloc_mbuf()