Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/sctp_output.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 12,894 Lines • ▼ Show 20 Lines | if ((SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) || | ||||
} else { | } else { | ||||
SCTP_LTRACE_ERR_RET(NULL, stcb, NULL, SCTP_FROM_SCTP_OUTPUT, ECONNRESET); | SCTP_LTRACE_ERR_RET(NULL, stcb, NULL, SCTP_FROM_SCTP_OUTPUT, ECONNRESET); | ||||
error = ECONNRESET; | error = ECONNRESET; | ||||
goto out_unlocked; | goto out_unlocked; | ||||
} | } | ||||
} | } | ||||
/* Ok, we will attempt a msgsnd :> */ | /* Ok, we will attempt a msgsnd :> */ | ||||
if (p) { | if (p) { | ||||
p->td_ru.ru_msgsnd++; | RU_ATOMIC_INC(p->td_ru.ru_msgsnd); | ||||
} | } | ||||
/* Are we aborting? */ | /* Are we aborting? */ | ||||
if (sinfo_flags & SCTP_ABORT) { | if (sinfo_flags & SCTP_ABORT) { | ||||
struct mbuf *mm; | struct mbuf *mm; | ||||
ssize_t tot_demand, tot_out = 0, max_out; | ssize_t tot_demand, tot_out = 0, max_out; | ||||
SCTP_STAT_INCR(sctps_sends_with_abort); | SCTP_STAT_INCR(sctps_sends_with_abort); | ||||
if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || | if ((SCTP_GET_STATE(stcb) == SCTP_STATE_COOKIE_WAIT) || | ||||
▲ Show 20 Lines • Show All 948 Lines • Show Last 20 Lines |