Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/tcp_input.c
Show First 20 Lines • Show All 1,276 Lines • ▼ Show 20 Lines | #endif | ||||
*/ | */ | ||||
#ifdef TCPDEBUG | #ifdef TCPDEBUG | ||||
if (so->so_options & SO_DEBUG) | if (so->so_options & SO_DEBUG) | ||||
tcp_trace(TA_INPUT, ostate, tp, | tcp_trace(TA_INPUT, ostate, tp, | ||||
(void *)tcp_saveipgen, &tcp_savetcp, 0); | (void *)tcp_saveipgen, &tcp_savetcp, 0); | ||||
#endif | #endif | ||||
TCP_PROBE3(debug__input, tp, th, m); | TCP_PROBE3(debug__input, tp, th, m); | ||||
tcp_dooptions(&to, optp, optlen, TO_SYN); | tcp_dooptions(&to, optp, optlen, TO_SYN); | ||||
if (syncache_add(&inc, &to, th, inp, &so, m, NULL, NULL)) | if (syncache_add(&inc, &to, th, inp, &so, m, NULL, NULL, iptos)) | ||||
goto tfo_socket_result; | goto tfo_socket_result; | ||||
/* | /* | ||||
* Entry added to syncache and mbuf consumed. | * Entry added to syncache and mbuf consumed. | ||||
* Only the listen socket is unlocked by syncache_add(). | * Only the listen socket is unlocked by syncache_add(). | ||||
*/ | */ | ||||
INP_INFO_WUNLOCK_ASSERT(&V_tcbinfo); | INP_INFO_WUNLOCK_ASSERT(&V_tcbinfo); | ||||
return (IPPROTO_DONE); | return (IPPROTO_DONE); | ||||
▲ Show 20 Lines • Show All 2,487 Lines • Show Last 20 Lines |