Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/toecore.c
Show First 20 Lines • Show All 325 Lines • ▼ Show 20 Lines | |||||
void | void | ||||
toe_syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th, | toe_syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th, | ||||
struct inpcb *inp, void *tod, void *todctx) | struct inpcb *inp, void *tod, void *todctx) | ||||
{ | { | ||||
struct socket *lso = inp->inp_socket; | struct socket *lso = inp->inp_socket; | ||||
INP_WLOCK_ASSERT(inp); | INP_WLOCK_ASSERT(inp); | ||||
syncache_add(inc, to, th, inp, &lso, NULL, tod, todctx); | syncache_add(inc, to, th, inp, lso, NULL, tod, todctx); | ||||
} | } | ||||
int | int | ||||
toe_syncache_expand(struct in_conninfo *inc, struct tcpopt *to, | toe_syncache_expand(struct in_conninfo *inc, struct tcpopt *to, | ||||
struct tcphdr *th, struct socket **lsop) | struct tcphdr *th, struct socket **lsop) | ||||
{ | { | ||||
INP_INFO_RLOCK_ASSERT(&V_tcbinfo); | INP_INFO_RLOCK_ASSERT(&V_tcbinfo); | ||||
▲ Show 20 Lines • Show All 228 Lines • Show Last 20 Lines |