MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ktls_seq

Function ktls_seq

freebsd/kern/uipc_ktls.c:1460–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1458}
1459
1460void
1461ktls_seq(struct sockbuf *sb, struct mbuf *m)
1462{
1463
1464 for (; m != NULL; m = m->m_next) {
1465 KASSERT((m->m_flags & M_EXTPG) != 0,
1466 ("ktls_seq: mapped mbuf %p", m));
1467
1468 m->m_epg_seqno = sb->sb_tls_seqno;
1469 sb->sb_tls_seqno++;
1470 }
1471}
1472
1473/*
1474 * Add TLS framing (headers and trailers) to a chain of mbufs. Each

Callers 1

sbappendstream_lockedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected