Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/toecore.c
Show First 20 Lines • Show All 343 Lines • ▼ Show 20 Lines | unregister_toedev(struct toedev *tod) | ||||
return (rc); | return (rc); | ||||
} | } | ||||
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, uint8_t iptos) | struct inpcb *inp, void *tod, void *todctx, uint8_t iptos) | ||||
{ | { | ||||
INP_WLOCK_ASSERT(inp); | INP_RLOCK_ASSERT(inp); | ||||
(void )syncache_add(inc, to, th, inp, inp->inp_socket, NULL, tod, | (void )syncache_add(inc, to, th, inp, inp->inp_socket, NULL, tod, | ||||
todctx, iptos); | todctx, iptos); | ||||
} | } | ||||
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) | ||||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |