Lines Matching refs:commands
70 sctp_cmd_seq_t *commands);
78 sctp_cmd_seq_t *commands,
85 sctp_cmd_seq_t *commands);
91 sctp_cmd_seq_t *commands);
97 sctp_cmd_seq_t *commands);
101 sctp_cmd_seq_t *commands,
111 sctp_cmd_seq_t *commands,
121 sctp_cmd_seq_t *commands);
129 sctp_cmd_seq_t *commands);
137 sctp_cmd_seq_t *commands);
145 sctp_cmd_seq_t *commands);
158 sctp_cmd_seq_t *commands);
222 sctp_cmd_seq_t *commands) in sctp_sf_do_4_C() argument
228 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_4_C()
236 return sctp_sf_violation_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_4_C()
241 commands); in sctp_sf_do_4_C()
253 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_4_C()
264 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_4_C()
267 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_4_C()
270 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_4_C()
276 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_4_C()
308 sctp_cmd_seq_t *commands) in sctp_sf_do_5_1B_init() argument
328 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
335 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
342 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
350 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
359 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
379 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1B_init()
388 commands); in sctp_sf_do_5_1B_init()
449 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1B_init()
451 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1B_init()
459 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_1B_init()
504 sctp_cmd_seq_t *commands) in sctp_sf_do_5_1C_ack() argument
512 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
519 return sctp_sf_violation_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
524 commands); in sctp_sf_do_5_1C_ack()
551 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1C_ack()
570 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
573 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, in sctp_sf_do_5_1C_ack()
584 sctp_add_cmd_sf(commands, SCTP_CMD_PEER_INIT, in sctp_sf_do_5_1C_ack()
588 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
594 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1C_ack()
596 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1C_ack()
598 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1C_ack()
604 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_SHKEY, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
612 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_COOKIE_ECHO, in sctp_sf_do_5_1C_ack()
653 sctp_cmd_seq_t *commands) in sctp_sf_do_5_1D_ce() argument
669 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
678 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
687 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
720 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_1D_ce()
722 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
726 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
767 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
782 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
820 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1D_ce()
821 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1D_ce()
825 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1D_ce()
828 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1D_ce()
832 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1D_ce()
835 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
839 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1D_ce()
879 sctp_cmd_seq_t *commands) in sctp_sf_do_5_1E_ca() argument
885 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1E_ca()
892 commands); in sctp_sf_do_5_1E_ca()
900 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
908 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1E_ca()
910 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1E_ca()
914 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
916 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1E_ca()
931 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
943 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1E_ca()
957 sctp_cmd_seq_t *commands) in sctp_sf_heartbeat() argument
970 sctp_add_cmd_sf(commands, SCTP_CMD_RTO_PENDING, in sctp_sf_heartbeat()
973 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_heartbeat()
983 sctp_cmd_seq_t *commands) in sctp_sf_sendbeat_8_3() argument
988 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_sendbeat_8_3()
991 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_sendbeat_8_3()
1008 commands)) in sctp_sf_sendbeat_8_3()
1014 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_sendbeat_8_3()
1017 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_IDLE, in sctp_sf_sendbeat_8_3()
1019 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMER_UPDATE, in sctp_sf_sendbeat_8_3()
1054 sctp_cmd_seq_t *commands) in sctp_sf_beat_8_3() argument
1062 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_beat_8_3()
1067 commands); in sctp_sf_beat_8_3()
1079 param_hdr, commands); in sctp_sf_beat_8_3()
1088 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_beat_8_3()
1128 sctp_cmd_seq_t *commands) in sctp_sf_backbeat_8_3() argument
1137 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_backbeat_8_3()
1143 commands); in sctp_sf_backbeat_8_3()
1192 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_ON, SCTP_TRANSPORT(link)); in sctp_sf_backbeat_8_3()
1202 sctp_cmd_seq_t *commands) in sctp_sf_send_restart_abort() argument
1235 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, SCTP_PACKET(pkt)); in sctp_sf_send_restart_abort()
1240 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_send_restart_abort()
1267 sctp_cmd_seq_t *commands) in sctp_sf_check_restart_addrs() argument
1289 commands); in sctp_sf_check_restart_addrs()
1392 void *arg, sctp_cmd_seq_t *commands) in sctp_sf_do_unexpected_init() argument
1413 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1419 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1427 commands); in sctp_sf_do_unexpected_init()
1450 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_unexpected_init()
1460 commands); in sctp_sf_do_unexpected_init()
1495 commands)) { in sctp_sf_do_unexpected_init()
1539 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_unexpected_init()
1540 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_unexpected_init()
1547 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_unexpected_init()
1606 sctp_cmd_seq_t *commands) in sctp_sf_do_5_2_1_siminit() argument
1611 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_1_siminit()
1660 sctp_cmd_seq_t *commands) in sctp_sf_do_5_2_2_dupinit() argument
1665 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_2_dupinit()
1682 void *arg, sctp_cmd_seq_t *commands) in sctp_sf_do_5_2_3_initack() argument
1688 return sctp_sf_ootb(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1690 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1702 sctp_cmd_seq_t *commands, in sctp_sf_do_dupcook_a() argument
1724 if (!sctp_sf_check_restart_addrs(new_asoc, asoc, chunk, commands)) { in sctp_sf_do_dupcook_a()
1737 chunk, commands); in sctp_sf_do_dupcook_a()
1745 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_dupcook_a()
1754 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1755 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1757 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_OUTQUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1762 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1764 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_ASCONF_QUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1779 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_dupcook_a()
1780 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
1788 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1791 commands); in sctp_sf_do_dupcook_a()
1793 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_a()
1795 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1817 sctp_cmd_seq_t *commands, in sctp_sf_do_dupcook_b() argument
1832 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_dupcook_b()
1833 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_b()
1836 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_dupcook_b()
1842 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_b()
1856 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_CHANGE, SCTP_U8(SCTP_COMM_UP)); in sctp_sf_do_dupcook_b()
1867 sctp_add_cmd_sf(commands, SCTP_CMD_ADAPTATION_IND, SCTP_NULL()); in sctp_sf_do_dupcook_b()
1888 sctp_cmd_seq_t *commands, in sctp_sf_do_dupcook_c() argument
1910 sctp_cmd_seq_t *commands, in sctp_sf_do_dupcook_d() argument
1925 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_d()
1927 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_d()
1930 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, in sctp_sf_do_dupcook_d()
1966 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_d()
1969 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
1972 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2006 sctp_cmd_seq_t *commands) in sctp_sf_do_5_2_4_dupcook() argument
2022 commands); in sctp_sf_do_5_2_4_dupcook()
2055 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2057 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2060 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2071 retval = sctp_sf_do_dupcook_a(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2076 retval = sctp_sf_do_dupcook_b(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2081 retval = sctp_sf_do_dupcook_c(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2086 retval = sctp_sf_do_dupcook_d(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2091 retval = sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2096 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_2_4_dupcook()
2097 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_2_4_dupcook()
2102 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, in sctp_sf_do_5_2_4_dupcook()
2122 sctp_cmd_seq_t *commands) in sctp_sf_shutdown_pending_abort() argument
2127 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2140 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2149 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2151 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2164 sctp_cmd_seq_t *commands) in sctp_sf_shutdown_sent_abort() argument
2169 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2182 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2191 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2194 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2198 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2201 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2215 sctp_cmd_seq_t *commands) in sctp_sf_shutdown_ack_sent_abort() argument
2220 return sctp_sf_shutdown_sent_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_abort()
2242 sctp_cmd_seq_t *commands) in sctp_sf_cookie_echoed_err() argument
2248 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2255 commands); in sctp_sf_cookie_echoed_err()
2265 arg, commands); in sctp_sf_cookie_echoed_err()
2273 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2306 sctp_cmd_seq_t *commands) in sctp_sf_do_5_2_6_stale() argument
2317 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_5_2_6_stale()
2319 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_do_5_2_6_stale()
2356 sctp_add_cmd_sf(commands, SCTP_CMD_CLEAR_INIT_TAG, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2359 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2360 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2365 sctp_add_cmd_sf(commands, SCTP_CMD_DEL_NON_PRIMARY, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2370 sctp_add_cmd_sf(commands, SCTP_CMD_T1_RETRAN, in sctp_sf_do_5_2_6_stale()
2376 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_INC, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2378 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_2_6_stale()
2380 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_2_6_stale()
2382 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_2_6_stale()
2385 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_5_2_6_stale()
2429 sctp_cmd_seq_t *commands) in sctp_sf_do_9_1_abort() argument
2434 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2447 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2456 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2458 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2466 sctp_cmd_seq_t *commands) in __sctp_sf_do_9_1_abort() argument
2479 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in __sctp_sf_do_9_1_abort()
2484 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(ECONNRESET)); in __sctp_sf_do_9_1_abort()
2486 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, SCTP_PERR(error)); in __sctp_sf_do_9_1_abort()
2503 sctp_cmd_seq_t *commands) in sctp_sf_cookie_wait_abort() argument
2510 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2523 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2530 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, asoc, in sctp_sf_cookie_wait_abort()
2542 sctp_cmd_seq_t *commands) in sctp_sf_cookie_wait_icmp_abort() argument
2544 return sctp_stop_t1_and_abort(net, commands, SCTP_ERROR_NO_ERROR, in sctp_sf_cookie_wait_icmp_abort()
2557 sctp_cmd_seq_t *commands) in sctp_sf_cookie_echoed_abort() argument
2562 return sctp_sf_cookie_wait_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_abort()
2571 sctp_cmd_seq_t *commands, in sctp_stop_t1_and_abort() argument
2578 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_stop_t1_and_abort()
2581 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_stop_t1_and_abort()
2583 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(sk_err)); in sctp_stop_t1_and_abort()
2585 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_stop_t1_and_abort()
2629 sctp_cmd_seq_t *commands) in sctp_sf_do_9_2_shutdown() argument
2638 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2644 commands); in sctp_sf_do_9_2_shutdown()
2664 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2675 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
2683 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown()
2689 arg, commands); in sctp_sf_do_9_2_shutdown()
2699 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shutdown()
2719 sctp_cmd_seq_t *commands) in sctp_sf_do_9_2_shut_ctsn() argument
2726 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2732 commands); in sctp_sf_do_9_2_shut_ctsn()
2749 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2755 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shut_ctsn()
2773 sctp_cmd_seq_t *commands) in sctp_sf_do_9_2_reshutack() argument
2781 commands); in sctp_sf_do_9_2_reshutack()
2794 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_reshutack()
2797 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_reshutack()
2800 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_reshutack()
2837 sctp_cmd_seq_t *commands) in sctp_sf_do_ecn_cwr() argument
2844 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecn_cwr()
2848 commands); in sctp_sf_do_ecn_cwr()
2858 sctp_add_cmd_sf(commands, in sctp_sf_do_ecn_cwr()
2893 sctp_cmd_seq_t *commands) in sctp_sf_do_ecne() argument
2899 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecne()
2903 commands); in sctp_sf_do_ecne()
2909 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_ECNE, in sctp_sf_do_ecne()
2950 sctp_cmd_seq_t *commands) in sctp_sf_eat_data_6_2() argument
2957 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_6_2()
2959 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_6_2()
2964 commands); in sctp_sf_eat_data_6_2()
2966 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_6_2()
2981 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_6_2()
2991 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_6_2()
3018 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3038 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_6_2()
3043 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3072 sctp_cmd_seq_t *commands) in sctp_sf_eat_data_fast_4_4() argument
3078 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_fast_4_4()
3080 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_fast_4_4()
3085 commands); in sctp_sf_eat_data_fast_4_4()
3087 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_fast_4_4()
3098 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_fast_4_4()
3116 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_data_fast_4_4()
3117 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_fast_4_4()
3118 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_fast_4_4()
3163 sctp_cmd_seq_t *commands) in sctp_sf_eat_sack_6_2() argument
3170 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3175 commands); in sctp_sf_eat_sack_6_2()
3181 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3203 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3206 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_SACK, SCTP_CHUNK(chunk)); in sctp_sf_eat_sack_6_2()
3237 sctp_cmd_seq_t *commands) in sctp_sf_tabort_8_4_8() argument
3264 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_tabort_8_4_8()
3269 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_tabort_8_4_8()
3289 sctp_cmd_seq_t *commands) in sctp_sf_operr_notify() argument
3295 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_operr_notify()
3300 commands); in sctp_sf_operr_notify()
3304 (void *)err, commands); in sctp_sf_operr_notify()
3306 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_OPERR, in sctp_sf_operr_notify()
3327 sctp_cmd_seq_t *commands) in sctp_sf_do_9_2_final() argument
3334 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_final()
3339 commands); in sctp_sf_do_9_2_final()
3358 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3363 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3366 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3369 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_final()
3373 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_final()
3376 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_9_2_final()
3410 sctp_cmd_seq_t *commands) in sctp_sf_ootb() argument
3427 commands); in sctp_sf_ootb()
3433 commands); in sctp_sf_ootb()
3447 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3470 return sctp_sf_shut_8_4_5(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3472 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3474 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3503 sctp_cmd_seq_t *commands) in sctp_sf_shut_8_4_5() argument
3530 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_shut_8_4_5()
3539 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shut_8_4_5()
3545 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shut_8_4_5()
3567 sctp_cmd_seq_t *commands) in sctp_sf_do_8_5_1_E_sa() argument
3574 commands); in sctp_sf_do_8_5_1_E_sa()
3583 return sctp_sf_shut_8_4_5(net, ep, NULL, type, arg, commands); in sctp_sf_do_8_5_1_E_sa()
3591 sctp_cmd_seq_t *commands) in sctp_sf_do_asconf() argument
3600 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf()
3602 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf()
3612 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf()
3617 commands); in sctp_sf_do_asconf()
3625 (void *)err_param, commands); in sctp_sf_do_asconf()
3689 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack)); in sctp_sf_do_asconf()
3691 sctp_sf_heartbeat(ep, asoc, type, asoc->new_transport, commands); in sctp_sf_do_asconf()
3707 sctp_cmd_seq_t *commands) in sctp_sf_do_asconf_ack() argument
3717 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf_ack()
3719 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf_ack()
3729 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf_ack()
3734 commands); in sctp_sf_do_asconf_ack()
3742 (void *)err_param, commands); in sctp_sf_do_asconf_ack()
3763 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
3769 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
3771 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
3772 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
3774 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
3782 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
3790 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_NEXT_ASCONF, in sctp_sf_do_asconf_ack()
3799 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
3805 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
3806 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
3808 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
3837 sctp_cmd_seq_t *commands) in sctp_sf_eat_fwd_tsn() argument
3846 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn()
3848 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn()
3854 commands); in sctp_sf_eat_fwd_tsn()
3877 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn()
3879 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn()
3884 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn()
3891 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_NOFORCE()); in sctp_sf_eat_fwd_tsn()
3905 sctp_cmd_seq_t *commands) in sctp_sf_eat_fwd_tsn_fast() argument
3914 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn_fast()
3916 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn_fast()
3922 commands); in sctp_sf_eat_fwd_tsn_fast()
3945 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast()
3947 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn_fast()
3958 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_fwd_tsn_fast()
3959 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_fwd_tsn_fast()
3960 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn_fast()
4067 sctp_cmd_seq_t *commands) in sctp_sf_eat_auth() argument
4076 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4079 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_auth()
4081 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4087 commands); in sctp_sf_eat_auth()
4101 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_eat_auth()
4107 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4111 commands); in sctp_sf_eat_auth()
4129 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_eat_auth()
4164 sctp_cmd_seq_t *commands) in sctp_sf_unk_chunk() argument
4173 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4181 commands); in sctp_sf_unk_chunk()
4186 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4195 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4200 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4213 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4244 sctp_cmd_seq_t *commands) in sctp_sf_discard_chunk() argument
4254 commands); in sctp_sf_discard_chunk()
4284 sctp_cmd_seq_t *commands) in sctp_sf_pdiscard() argument
4287 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_pdiscard()
4312 sctp_cmd_seq_t *commands) in sctp_sf_violation() argument
4319 commands); in sctp_sf_violation()
4332 sctp_cmd_seq_t *commands, in sctp_sf_abort_violation() argument
4373 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_INITTAG, in sctp_sf_abort_violation()
4378 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_abort_violation()
4382 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_abort_violation()
4384 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4386 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_abort_violation()
4389 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4391 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_abort_violation()
4408 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_abort_violation()
4417 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_abort_violation()
4451 sctp_cmd_seq_t *commands) in sctp_sf_violation_chunklen() argument
4455 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4471 sctp_cmd_seq_t *commands) in sctp_sf_violation_paramlen() argument
4485 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_violation_paramlen()
4488 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_violation_paramlen()
4490 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_violation_paramlen()
4496 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_violation_paramlen()
4514 sctp_cmd_seq_t *commands) in sctp_sf_violation_ctsn() argument
4518 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4534 sctp_cmd_seq_t *commands) in sctp_sf_violation_chunk() argument
4539 return sctp_sf_violation(net, ep, asoc, type, arg, commands); in sctp_sf_violation_chunk()
4541 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4609 sctp_cmd_seq_t *commands) in sctp_sf_do_prm_asoc() argument
4618 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_prm_asoc()
4634 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_do_prm_asoc()
4641 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(my_asoc)); in sctp_sf_do_prm_asoc()
4646 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asoc()
4648 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_prm_asoc()
4721 sctp_cmd_seq_t *commands) in sctp_sf_do_prm_send() argument
4725 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_MSG, SCTP_DATAMSG(msg)); in sctp_sf_do_prm_send()
4761 sctp_cmd_seq_t *commands) in sctp_sf_do_9_2_prm_shutdown() argument
4773 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_prm_shutdown()
4779 arg, commands); in sctp_sf_do_9_2_prm_shutdown()
4817 sctp_cmd_seq_t *commands) in sctp_sf_do_9_1_prm_abort() argument
4833 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_do_9_1_prm_abort()
4839 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_9_1_prm_abort()
4842 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_9_1_prm_abort()
4857 sctp_cmd_seq_t *commands) in sctp_sf_error_closed() argument
4859 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, SCTP_ERROR(-EINVAL)); in sctp_sf_error_closed()
4871 sctp_cmd_seq_t *commands) in sctp_sf_error_shutdown() argument
4873 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, in sctp_sf_error_shutdown()
4898 sctp_cmd_seq_t *commands) in sctp_sf_cookie_wait_prm_shutdown() argument
4900 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_shutdown()
4903 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_shutdown()
4908 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_cookie_wait_prm_shutdown()
4932 void *arg, sctp_cmd_seq_t *commands) in sctp_sf_cookie_echoed_prm_shutdown() argument
4937 return sctp_sf_cookie_wait_prm_shutdown(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_shutdown()
4960 sctp_cmd_seq_t *commands) in sctp_sf_cookie_wait_prm_abort() argument
4966 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_abort()
4971 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_cookie_wait_prm_abort()
4973 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_abort()
4982 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_cookie_wait_prm_abort()
4985 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_cookie_wait_prm_abort()
5011 sctp_cmd_seq_t *commands) in sctp_sf_cookie_echoed_prm_abort() argument
5016 return sctp_sf_cookie_wait_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_abort()
5037 sctp_cmd_seq_t *commands) in sctp_sf_shutdown_pending_prm_abort() argument
5040 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_pending_prm_abort()
5043 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_prm_abort()
5064 sctp_cmd_seq_t *commands) in sctp_sf_shutdown_sent_prm_abort() argument
5067 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5071 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5074 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_prm_abort()
5095 sctp_cmd_seq_t *commands) in sctp_sf_shutdown_ack_sent_prm_abort() argument
5100 return sctp_sf_shutdown_sent_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_prm_abort()
5131 sctp_cmd_seq_t *commands) in sctp_sf_do_prm_requestheartbeat() argument
5134 (struct sctp_transport *)arg, commands)) in sctp_sf_do_prm_requestheartbeat()
5148 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_do_prm_requestheartbeat()
5163 sctp_cmd_seq_t *commands) in sctp_sf_do_prm_asconf() argument
5167 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5168 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asconf()
5170 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5185 sctp_cmd_seq_t *commands) in sctp_sf_ignore_primitive() argument
5209 sctp_cmd_seq_t *commands) in sctp_sf_do_no_pending_tsn() argument
5217 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(event)); in sctp_sf_do_no_pending_tsn()
5241 sctp_cmd_seq_t *commands) in sctp_sf_do_9_2_start_shutdown() argument
5257 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5260 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_9_2_start_shutdown()
5267 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_start_shutdown()
5271 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_start_shutdown()
5275 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_start_shutdown()
5283 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_start_shutdown()
5285 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5311 sctp_cmd_seq_t *commands) in sctp_sf_do_9_2_shutdown_ack() argument
5325 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown_ack()
5330 commands); in sctp_sf_do_9_2_shutdown_ack()
5343 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5346 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_shutdown_ack()
5350 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_shutdown_ack()
5354 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown_ack()
5362 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_shutdown_ack()
5364 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5382 sctp_cmd_seq_t *commands) in sctp_sf_ignore_other() argument
5410 sctp_cmd_seq_t *commands) in sctp_sf_do_6_3_3_rtx() argument
5427 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START_ONCE, in sctp_sf_do_6_3_3_rtx()
5430 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_6_3_3_rtx()
5433 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_6_3_3_rtx()
5469 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5472 sctp_add_cmd_sf(commands, SCTP_CMD_RETRAN, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5497 sctp_cmd_seq_t *commands) in sctp_sf_do_6_2_sack() argument
5500 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_do_6_2_sack()
5528 sctp_cmd_seq_t *commands) in sctp_sf_t1_init_timer_expire() argument
5545 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_init_timer_expire()
5549 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_RESTART, in sctp_sf_t1_init_timer_expire()
5552 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_init_timer_expire()
5558 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_init_timer_expire()
5560 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_init_timer_expire()
5592 sctp_cmd_seq_t *commands) in sctp_sf_t1_cookie_timer_expire() argument
5606 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_cookie_timer_expire()
5609 sctp_add_cmd_sf(commands, SCTP_CMD_COOKIEECHO_RESTART, in sctp_sf_t1_cookie_timer_expire()
5612 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_cookie_timer_expire()
5614 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_cookie_timer_expire()
5616 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_cookie_timer_expire()
5642 sctp_cmd_seq_t *commands) in sctp_sf_t2_timer_expire() argument
5653 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t2_timer_expire()
5656 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t2_timer_expire()
5685 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t2_timer_expire()
5691 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
5694 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t2_timer_expire()
5696 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
5713 sctp_cmd_seq_t *commands) in sctp_sf_t4_timer_expire() argument
5725 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t4_timer_expire()
5729 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_t4_timer_expire()
5737 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_t4_timer_expire()
5739 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t4_timer_expire()
5741 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t4_timer_expire()
5760 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_t4_timer_expire()
5767 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t4_timer_expire()
5784 sctp_cmd_seq_t *commands) in sctp_sf_t5_timer_expire() argument
5796 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t5_timer_expire()
5797 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t5_timer_expire()
5799 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t5_timer_expire()
5821 sctp_cmd_seq_t *commands) in sctp_sf_autoclose_timer_expire() argument
5835 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_autoclose_timer_expire()
5841 arg, commands); in sctp_sf_autoclose_timer_expire()
5863 sctp_cmd_seq_t *commands) in sctp_sf_not_impl() argument
5881 sctp_cmd_seq_t *commands) in sctp_sf_bug() argument
5902 sctp_cmd_seq_t *commands) in sctp_sf_timer_ignore() argument
6067 sctp_cmd_seq_t *commands, in sctp_send_stale_cookie_err() argument
6084 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_send_stale_cookie_err()
6096 sctp_cmd_seq_t *commands) in sctp_eat_data() argument
6138 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_CE, in sctp_eat_data()
6153 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_DUP, SCTP_U32(tsn)); in sctp_eat_data()
6173 sctp_add_cmd_sf(commands, SCTP_CMD_PART_DELIVER, SCTP_NULL()); in sctp_eat_data()
6229 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6235 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_eat_data()
6236 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_eat_data()
6238 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_eat_data()
6272 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_TSN, SCTP_U32(tsn)); in sctp_eat_data()
6279 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6300 sctp_add_cmd_sf(commands, deliver, SCTP_CHUNK(chunk)); in sctp_eat_data()