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

Function tcp_offload_alloc_tls_session

freebsd/netinet/tcp_offload.c:200–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200int
201tcp_offload_alloc_tls_session(struct tcpcb *tp, struct ktls_session *tls,
202 int direction)
203{
204 struct toedev *tod = tp->tod;
205
206 KASSERT(tod != NULL, ("%s: tp->tod is NULL, tp %p", __func__, tp));
207 INP_WLOCK_ASSERT(tp->t_inpcb);
208
209 return (tod->tod_alloc_tls_session(tod, tp, tls, direction));
210}
211
212void
213tcp_offload_detach(struct tcpcb *tp)

Callers 1

ktls_try_toeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected