Lines Matching defs:mbuf
27 * The routines calculate the signature of a SMB message in an mbuf chain.
233 struct mbuf *mbuf = mbc->chain;
289 while (mbuf != NULL && (offset >= mbuf->m_len)) {
290 offset -= mbuf->m_len;
291 mbuf = mbuf->m_next;
293 if (mbuf != NULL && (size = (mbuf->m_len - offset)) > 0) {
294 rc = smb_md5_update(ctx, &mbuf->m_data[offset], size);
298 mbuf = mbuf->m_next;
300 while (mbuf != NULL) {
301 rc = smb_md5_update(ctx, mbuf->m_data, mbuf->m_len);
304 mbuf = mbuf->m_next;
317 * Calculates MAC signature for the request mbuf chain
373 * Calculates MAC signature for the secondary transaction mbuf chain
407 * Calculates MAC signature for the given mbuf chain,
408 * and write it to the signature field in the mbuf.