Lines Matching refs:state
270 if (t->pl.state == SCTP_PL_BASE) {
272 t->pl.state = SCTP_PL_ERROR; /* Base -> Error */
278 } else if (t->pl.state == SCTP_PL_SEARCH) {
280 t->pl.state = SCTP_PL_BASE; /* Search -> Base */
291 } else if (t->pl.state == SCTP_PL_COMPLETE) {
293 t->pl.state = SCTP_PL_BASE; /* Search Complete -> Base */
303 pr_debug("%s: PLPMTUD: transport: %p, state: %d, pmtu: %d, size: %d, high: %d\n",
304 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, t->pl.probe_high);
310 pr_debug("%s: PLPMTUD: transport: %p, state: %d, pmtu: %d, size: %d, high: %d\n",
311 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, t->pl.probe_high);
315 if (t->pl.state == SCTP_PL_BASE) {
316 t->pl.state = SCTP_PL_SEARCH; /* Base -> Search */
318 } else if (t->pl.state == SCTP_PL_ERROR) {
319 t->pl.state = SCTP_PL_SEARCH; /* Error -> Search */
325 } else if (t->pl.state == SCTP_PL_SEARCH) {
337 t->pl.state = SCTP_PL_COMPLETE; /* Search -> Search Complete */
344 } else if (t->pl.state == SCTP_PL_COMPLETE) {
346 t->pl.state = SCTP_PL_SEARCH; /* Search Complete -> Search */
350 return t->pl.state == SCTP_PL_COMPLETE;
355 pr_debug("%s: PLPMTUD: transport: %p, state: %d, pmtu: %d, size: %d, ptb: %d\n",
356 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, pmtu);
361 if (t->pl.state == SCTP_PL_BASE) {
363 t->pl.state = SCTP_PL_ERROR; /* Base -> Error */
369 } else if (t->pl.state == SCTP_PL_SEARCH) {
371 t->pl.state = SCTP_PL_BASE; /* Search -> Base */
383 } else if (t->pl.state == SCTP_PL_COMPLETE) {
385 t->pl.state = SCTP_PL_BASE; /* Complete -> Base */
788 if (trans->state != SCTP_UNCONFIRMED &&
789 trans->state != SCTP_PF)
821 /* Initialize the state information for SFR-CACC */