Lines Matching full:commands
58 struct sctp_cmd_seq *commands);
67 struct sctp_cmd_seq *commands,
75 struct sctp_cmd_seq *commands);
82 struct sctp_cmd_seq *commands);
89 struct sctp_cmd_seq *commands);
94 struct sctp_cmd_seq *commands,
104 struct sctp_cmd_seq *commands,
114 struct sctp_cmd_seq *commands);
122 struct sctp_cmd_seq *commands);
130 struct sctp_cmd_seq *commands);
138 struct sctp_cmd_seq *commands);
150 struct sctp_cmd_seq *commands);
222 void *arg, struct sctp_cmd_seq *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 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1B_init() argument
319 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
331 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
338 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
345 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
353 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
362 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
382 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1B_init()
391 commands); in sctp_sf_do_5_1B_init()
452 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1B_init()
454 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1B_init()
462 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_1B_init()
507 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1C_ack() argument
515 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
522 return sctp_sf_violation_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
527 commands); in sctp_sf_do_5_1C_ack()
554 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1C_ack()
573 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
576 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, in sctp_sf_do_5_1C_ack()
587 sctp_add_cmd_sf(commands, SCTP_CMD_PEER_INIT, in sctp_sf_do_5_1C_ack()
591 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
597 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1C_ack()
599 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1C_ack()
601 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1C_ack()
607 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_SHKEY, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
615 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_COOKIE_ECHO, in sctp_sf_do_5_1C_ack()
689 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1D_ce() argument
705 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
714 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
723 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
756 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_1D_ce()
758 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
762 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
767 /* Delay state machine commands until later. in sctp_sf_do_5_1D_ce()
792 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
832 /* Add all the state machine commands now since we've created in sctp_sf_do_5_1D_ce()
837 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1D_ce()
838 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1D_ce()
842 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1D_ce()
845 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1D_ce()
849 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1D_ce()
852 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
856 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1D_ce()
860 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1D_ce()
903 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1E_ca() argument
909 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1E_ca()
916 commands); in sctp_sf_do_5_1E_ca()
924 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
935 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1E_ca()
937 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1E_ca()
941 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
943 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1E_ca()
958 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
970 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1E_ca()
979 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1E_ca()
994 struct sctp_cmd_seq *commands) in sctp_sf_heartbeat() argument
1007 sctp_add_cmd_sf(commands, SCTP_CMD_RTO_PENDING, in sctp_sf_heartbeat()
1010 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_heartbeat()
1020 struct sctp_cmd_seq *commands) in sctp_sf_sendbeat_8_3() argument
1025 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_sendbeat_8_3()
1028 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_sendbeat_8_3()
1045 commands)) in sctp_sf_sendbeat_8_3()
1051 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_sendbeat_8_3()
1054 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_IDLE, in sctp_sf_sendbeat_8_3()
1056 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMER_UPDATE, in sctp_sf_sendbeat_8_3()
1068 struct sctp_cmd_seq *commands) in sctp_sf_send_reconf() argument
1073 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_send_reconf()
1076 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_send_reconf()
1084 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_send_reconf()
1086 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, SCTP_TRANSPORT(transport)); in sctp_sf_send_reconf()
1119 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_beat_8_3() argument
1127 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_beat_8_3()
1133 commands); in sctp_sf_beat_8_3()
1145 param_hdr, commands); in sctp_sf_beat_8_3()
1154 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_beat_8_3()
1194 struct sctp_cmd_seq *commands) in sctp_sf_backbeat_8_3() argument
1203 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_backbeat_8_3()
1209 commands); in sctp_sf_backbeat_8_3()
1256 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_ON, SCTP_TRANSPORT(link)); in sctp_sf_backbeat_8_3()
1266 struct sctp_cmd_seq *commands) in sctp_sf_send_restart_abort() argument
1299 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, SCTP_PACKET(pkt)); in sctp_sf_send_restart_abort()
1304 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_send_restart_abort()
1331 struct sctp_cmd_seq *commands) in sctp_sf_check_restart_addrs() argument
1353 commands); in sctp_sf_check_restart_addrs()
1457 struct sctp_cmd_seq *commands) in sctp_sf_do_unexpected_init() argument
1469 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1481 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1487 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1495 commands); in sctp_sf_do_unexpected_init()
1518 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_unexpected_init()
1528 commands); in sctp_sf_do_unexpected_init()
1563 commands)) { in sctp_sf_do_unexpected_init()
1607 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_unexpected_init()
1608 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_unexpected_init()
1615 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_unexpected_init()
1675 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_1_siminit() argument
1680 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_1_siminit()
1730 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_2_dupinit() argument
1735 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_2_dupinit()
1754 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_3_initack() argument
1760 return sctp_sf_ootb(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1762 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1775 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_a() argument
1803 if (!sctp_sf_check_restart_addrs(new_asoc, asoc, chunk, commands)) in sctp_sf_do_dupcook_a()
1815 chunk, commands); in sctp_sf_do_dupcook_a()
1823 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_dupcook_a()
1832 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1833 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1835 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_OUTQUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1840 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1842 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_ASCONF_QUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1857 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_dupcook_a()
1858 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
1867 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1870 commands); in sctp_sf_do_dupcook_a()
1872 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_a()
1874 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1897 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_b() argument
1918 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_dupcook_b()
1919 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_b()
1922 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_dupcook_b()
1928 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_b()
1942 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_CHANGE, SCTP_U8(SCTP_COMM_UP)); in sctp_sf_do_dupcook_b()
1953 sctp_add_cmd_sf(commands, SCTP_CMD_ADAPTATION_IND, SCTP_NULL()); in sctp_sf_do_dupcook_b()
1956 sctp_add_cmd_sf(commands, SCTP_CMD_PEER_NO_AUTH, SCTP_NULL()); in sctp_sf_do_dupcook_b()
1978 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_c() argument
2001 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_d() argument
2019 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_d()
2021 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_d()
2024 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, in sctp_sf_do_dupcook_d()
2068 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_d()
2071 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2074 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2077 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2114 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_4_dupcook() argument
2130 commands); in sctp_sf_do_5_2_4_dupcook()
2163 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2165 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2168 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2176 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2189 retval = sctp_sf_do_dupcook_a(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2194 retval = sctp_sf_do_dupcook_b(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2199 retval = sctp_sf_do_dupcook_c(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2204 retval = sctp_sf_do_dupcook_d(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2209 retval = sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2214 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_2_4_dupcook()
2215 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_2_4_dupcook()
2220 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, in sctp_sf_do_5_2_4_dupcook()
2240 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_pending_abort() argument
2245 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2258 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2267 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2270 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2272 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2286 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_sent_abort() argument
2291 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2304 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2313 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2316 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2319 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2323 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2326 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2340 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_ack_sent_abort() argument
2345 return sctp_sf_shutdown_sent_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_abort()
2368 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_err() argument
2374 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2381 commands); in sctp_sf_cookie_echoed_err()
2391 arg, commands); in sctp_sf_cookie_echoed_err()
2399 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2433 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_6_stale() argument
2443 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_5_2_6_stale()
2445 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_do_5_2_6_stale()
2482 sctp_add_cmd_sf(commands, SCTP_CMD_CLEAR_INIT_TAG, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2485 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2486 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2491 sctp_add_cmd_sf(commands, SCTP_CMD_DEL_NON_PRIMARY, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2496 sctp_add_cmd_sf(commands, SCTP_CMD_T1_RETRAN, in sctp_sf_do_5_2_6_stale()
2502 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_INC, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2504 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_2_6_stale()
2506 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_2_6_stale()
2508 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_2_6_stale()
2511 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_5_2_6_stale()
2556 struct sctp_cmd_seq *commands) in sctp_sf_do_9_1_abort() argument
2561 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2574 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2583 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2586 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2588 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2597 struct sctp_cmd_seq *commands) in __sctp_sf_do_9_1_abort() argument
2608 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(ECONNRESET)); in __sctp_sf_do_9_1_abort()
2610 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, SCTP_PERR(error)); in __sctp_sf_do_9_1_abort()
2628 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_abort() argument
2635 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2648 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2655 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, asoc, in sctp_sf_cookie_wait_abort()
2668 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_icmp_abort() argument
2670 return sctp_stop_t1_and_abort(net, commands, SCTP_ERROR_NO_ERROR, in sctp_sf_cookie_wait_icmp_abort()
2684 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_abort() argument
2689 return sctp_sf_cookie_wait_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_abort()
2699 struct sctp_cmd_seq *commands, in sctp_stop_t1_and_abort() argument
2706 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_stop_t1_and_abort()
2709 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_stop_t1_and_abort()
2711 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(sk_err)); in sctp_stop_t1_and_abort()
2713 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_stop_t1_and_abort()
2758 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shutdown() argument
2767 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2772 commands); in sctp_sf_do_9_2_shutdown()
2792 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2803 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
2811 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown()
2817 arg, commands); in sctp_sf_do_9_2_shutdown()
2827 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shutdown()
2848 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shut_ctsn() argument
2855 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2860 commands); in sctp_sf_do_9_2_shut_ctsn()
2877 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2883 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shut_ctsn()
2902 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_reshutack() argument
2910 commands); in sctp_sf_do_9_2_reshutack()
2923 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_reshutack()
2926 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_reshutack()
2929 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_reshutack()
2966 struct sctp_cmd_seq *commands) in sctp_sf_do_ecn_cwr() argument
2973 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecn_cwr()
2977 commands); in sctp_sf_do_ecn_cwr()
2987 sctp_add_cmd_sf(commands, in sctp_sf_do_ecn_cwr()
3021 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_do_ecne() argument
3027 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecne()
3031 commands); in sctp_sf_do_ecne()
3037 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_ECNE, in sctp_sf_do_ecne()
3078 struct sctp_cmd_seq *commands) in sctp_sf_eat_data_6_2() argument
3085 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_6_2()
3087 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_6_2()
3092 commands); in sctp_sf_eat_data_6_2()
3094 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_6_2()
3109 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_6_2()
3120 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_6_2()
3147 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3167 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_6_2()
3172 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3199 struct sctp_cmd_seq *commands) in sctp_sf_eat_data_fast_4_4() argument
3205 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_fast_4_4()
3207 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_fast_4_4()
3212 commands); in sctp_sf_eat_data_fast_4_4()
3214 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_fast_4_4()
3225 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_fast_4_4()
3244 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_data_fast_4_4()
3245 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_fast_4_4()
3246 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_fast_4_4()
3290 struct sctp_cmd_seq *commands) in sctp_sf_eat_sack_6_2() argument
3297 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3302 commands); in sctp_sf_eat_sack_6_2()
3308 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3317 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3335 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_SACK, SCTP_CHUNK(chunk)); in sctp_sf_eat_sack_6_2()
3367 struct sctp_cmd_seq *commands) in sctp_sf_tabort_8_4_8() argument
3395 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_tabort_8_4_8()
3400 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_tabort_8_4_8()
3417 struct sctp_cmd_seq *commands) in sctp_sf_operr_notify() argument
3423 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_operr_notify()
3428 commands); in sctp_sf_operr_notify()
3432 (void *)err, commands); in sctp_sf_operr_notify()
3434 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_OPERR, in sctp_sf_operr_notify()
3455 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_final() argument
3462 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_final()
3467 commands); in sctp_sf_do_9_2_final()
3483 /* Do all the commands now (after allocation), so that we in sctp_sf_do_9_2_final()
3486 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3491 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3494 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3497 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_final()
3501 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_final()
3504 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_9_2_final()
3537 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_ootb() argument
3554 commands); in sctp_sf_ootb()
3560 commands); in sctp_sf_ootb()
3574 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3597 return sctp_sf_shut_8_4_5(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3599 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3601 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3618 * (endpoint, asoc, type, arg, commands)
3631 struct sctp_cmd_seq *commands) in sctp_sf_shut_8_4_5() argument
3659 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_shut_8_4_5()
3668 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shut_8_4_5()
3674 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shut_8_4_5()
3693 struct sctp_cmd_seq *commands) in sctp_sf_do_8_5_1_E_sa() argument
3700 commands); in sctp_sf_do_8_5_1_E_sa()
3709 return sctp_sf_shut_8_4_5(net, ep, NULL, type, arg, commands); in sctp_sf_do_8_5_1_E_sa()
3718 struct sctp_cmd_seq *commands) in sctp_sf_do_asconf() argument
3727 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf()
3729 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf()
3741 commands); in sctp_sf_do_asconf()
3746 commands); in sctp_sf_do_asconf()
3754 (void *)err_param, commands); in sctp_sf_do_asconf()
3818 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack)); in sctp_sf_do_asconf()
3820 sctp_sf_heartbeat(ep, asoc, type, asoc->new_transport, commands); in sctp_sf_do_asconf()
3832 struct sctp_cmd_seq *commands) in sctp_send_next_asconf() argument
3847 return sctp_sf_do_prm_asconf(net, ep, asoc, type, asconf, commands); in sctp_send_next_asconf()
3860 struct sctp_cmd_seq *commands) in sctp_sf_do_asconf_ack() argument
3870 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf_ack()
3872 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf_ack()
3884 commands); in sctp_sf_do_asconf_ack()
3890 commands); in sctp_sf_do_asconf_ack()
3898 (void *)err_param, commands); in sctp_sf_do_asconf_ack()
3919 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
3925 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
3927 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
3928 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
3930 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
3938 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
3945 type, commands); in sctp_sf_do_asconf_ack()
3951 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
3957 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
3958 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
3960 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
3976 struct sctp_cmd_seq *commands) in sctp_sf_do_reconf() argument
3984 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_reconf()
3986 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_reconf()
3992 commands); in sctp_sf_do_reconf()
3996 (void *)err_param, commands); in sctp_sf_do_reconf()
4023 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_reconf()
4027 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_reconf()
4053 struct sctp_cmd_seq *commands) in sctp_sf_eat_fwd_tsn() argument
4061 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn()
4063 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn()
4067 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn()
4072 commands); in sctp_sf_eat_fwd_tsn()
4092 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn()
4094 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn()
4099 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn()
4106 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_NOFORCE()); in sctp_sf_eat_fwd_tsn()
4120 struct sctp_cmd_seq *commands) in sctp_sf_eat_fwd_tsn_fast() argument
4128 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn_fast()
4130 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn_fast()
4134 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn_fast()
4139 commands); in sctp_sf_eat_fwd_tsn_fast()
4159 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast()
4161 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn_fast()
4172 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_fwd_tsn_fast()
4173 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_fwd_tsn_fast()
4174 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn_fast()
4281 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_eat_auth() argument
4290 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4293 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_auth()
4295 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4301 commands); in sctp_sf_eat_auth()
4315 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_eat_auth()
4321 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4325 commands); in sctp_sf_eat_auth()
4343 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_eat_auth()
4378 struct sctp_cmd_seq *commands) in sctp_sf_unk_chunk() argument
4387 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4395 commands); in sctp_sf_unk_chunk()
4400 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4409 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4414 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4427 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4458 struct sctp_cmd_seq *commands) in sctp_sf_discard_chunk() argument
4468 commands); in sctp_sf_discard_chunk()
4497 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_pdiscard() argument
4500 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_pdiscard()
4525 struct sctp_cmd_seq *commands) in sctp_sf_violation() argument
4532 commands); in sctp_sf_violation()
4545 struct sctp_cmd_seq *commands, in sctp_sf_abort_violation() argument
4585 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_INITTAG, in sctp_sf_abort_violation()
4590 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_abort_violation()
4594 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_abort_violation()
4596 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4598 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_abort_violation()
4601 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4603 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_abort_violation()
4620 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_abort_violation()
4629 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_abort_violation()
4663 struct sctp_cmd_seq *commands) in sctp_sf_violation_chunklen() argument
4667 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4683 struct sctp_cmd_seq *commands) in sctp_sf_violation_paramlen() argument
4697 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_violation_paramlen()
4700 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_violation_paramlen()
4702 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_violation_paramlen()
4708 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_violation_paramlen()
4726 struct sctp_cmd_seq *commands) in sctp_sf_violation_ctsn() argument
4730 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4746 struct sctp_cmd_seq *commands) in sctp_sf_violation_chunk() argument
4751 return sctp_sf_violation(net, ep, asoc, type, arg, commands); in sctp_sf_violation_chunk()
4753 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4821 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_asoc() argument
4830 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_prm_asoc()
4846 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_do_prm_asoc()
4853 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(my_asoc)); in sctp_sf_do_prm_asoc()
4858 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asoc()
4860 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_prm_asoc()
4933 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_send() argument
4937 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_MSG, SCTP_DATAMSG(msg)); in sctp_sf_do_prm_send()
4973 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_prm_shutdown() argument
4985 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_prm_shutdown()
4991 arg, commands); in sctp_sf_do_9_2_prm_shutdown()
5030 struct sctp_cmd_seq *commands) in sctp_sf_do_9_1_prm_abort() argument
5043 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_do_9_1_prm_abort()
5049 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_9_1_prm_abort()
5052 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_9_1_prm_abort()
5067 struct sctp_cmd_seq *commands) in sctp_sf_error_closed() argument
5069 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, SCTP_ERROR(-EINVAL)); in sctp_sf_error_closed()
5082 struct sctp_cmd_seq *commands) in sctp_sf_error_shutdown() argument
5084 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, in sctp_sf_error_shutdown()
5109 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_prm_shutdown() argument
5111 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_shutdown()
5114 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_shutdown()
5119 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_cookie_wait_prm_shutdown()
5144 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_prm_shutdown() argument
5149 return sctp_sf_cookie_wait_prm_shutdown(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_shutdown()
5172 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_prm_abort() argument
5177 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_abort()
5181 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_cookie_wait_prm_abort()
5183 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_abort()
5192 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_cookie_wait_prm_abort()
5195 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_cookie_wait_prm_abort()
5221 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_prm_abort() argument
5226 return sctp_sf_cookie_wait_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_abort()
5247 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_pending_prm_abort() argument
5250 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_pending_prm_abort()
5253 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_prm_abort()
5274 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_sent_prm_abort() argument
5277 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5281 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5284 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_prm_abort()
5305 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_ack_sent_prm_abort() argument
5310 return sctp_sf_shutdown_sent_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_prm_abort()
5341 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_requestheartbeat() argument
5344 (struct sctp_transport *)arg, commands)) in sctp_sf_do_prm_requestheartbeat()
5358 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_do_prm_requestheartbeat()
5373 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_asconf() argument
5377 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5378 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asconf()
5380 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5390 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_reconf() argument
5394 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_reconf()
5409 struct sctp_cmd_seq *commands) in sctp_sf_ignore_primitive() argument
5433 struct sctp_cmd_seq *commands) in sctp_sf_do_no_pending_tsn() argument
5441 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(event)); in sctp_sf_do_no_pending_tsn()
5465 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_start_shutdown() argument
5481 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5484 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_9_2_start_shutdown()
5491 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_start_shutdown()
5495 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_start_shutdown()
5499 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_start_shutdown()
5507 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_start_shutdown()
5509 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5535 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shutdown_ack() argument
5550 commands); in sctp_sf_do_9_2_shutdown_ack()
5556 arg, commands); in sctp_sf_do_9_2_shutdown_ack()
5569 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5572 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_shutdown_ack()
5576 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_shutdown_ack()
5580 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown_ack()
5588 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_shutdown_ack()
5590 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5608 struct sctp_cmd_seq *commands) in sctp_sf_ignore_other() argument
5636 struct sctp_cmd_seq *commands) in sctp_sf_do_6_3_3_rtx() argument
5654 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START_ONCE, in sctp_sf_do_6_3_3_rtx()
5657 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_6_3_3_rtx()
5660 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_6_3_3_rtx()
5696 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5699 sctp_add_cmd_sf(commands, SCTP_CMD_RETRAN, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5724 struct sctp_cmd_seq *commands) in sctp_sf_do_6_2_sack() argument
5727 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_do_6_2_sack()
5756 struct sctp_cmd_seq *commands) in sctp_sf_t1_init_timer_expire() argument
5773 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_init_timer_expire()
5777 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_RESTART, in sctp_sf_t1_init_timer_expire()
5780 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_init_timer_expire()
5786 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_init_timer_expire()
5788 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_init_timer_expire()
5821 struct sctp_cmd_seq *commands) in sctp_sf_t1_cookie_timer_expire() argument
5835 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_cookie_timer_expire()
5838 sctp_add_cmd_sf(commands, SCTP_CMD_COOKIEECHO_RESTART, in sctp_sf_t1_cookie_timer_expire()
5841 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_cookie_timer_expire()
5843 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_cookie_timer_expire()
5845 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_cookie_timer_expire()
5872 struct sctp_cmd_seq *commands) in sctp_sf_t2_timer_expire() argument
5883 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t2_timer_expire()
5886 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t2_timer_expire()
5915 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t2_timer_expire()
5921 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
5924 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t2_timer_expire()
5926 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
5943 struct sctp_cmd_seq *commands) in sctp_sf_t4_timer_expire() argument
5955 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t4_timer_expire()
5959 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_t4_timer_expire()
5967 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_t4_timer_expire()
5969 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t4_timer_expire()
5971 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t4_timer_expire()
5990 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_t4_timer_expire()
5997 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t4_timer_expire()
6015 struct sctp_cmd_seq *commands) in sctp_sf_t5_timer_expire() argument
6027 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t5_timer_expire()
6028 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t5_timer_expire()
6030 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t5_timer_expire()
6052 struct sctp_cmd_seq *commands) in sctp_sf_autoclose_timer_expire() argument
6066 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_autoclose_timer_expire()
6072 NULL, commands); in sctp_sf_autoclose_timer_expire()
6094 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_not_impl() argument
6111 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_bug() argument
6132 struct sctp_cmd_seq *commands) in sctp_sf_timer_ignore() argument
6298 struct sctp_cmd_seq *commands, in sctp_send_stale_cookie_err() argument
6315 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_send_stale_cookie_err()
6327 struct sctp_cmd_seq *commands) in sctp_eat_data() argument
6364 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_CE, in sctp_eat_data()
6379 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_DUP, SCTP_U32(tsn)); in sctp_eat_data()
6399 sctp_add_cmd_sf(commands, SCTP_CMD_PART_DELIVER, SCTP_NULL()); in sctp_eat_data()
6457 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6463 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_eat_data()
6464 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_eat_data()
6466 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_eat_data()
6498 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_TSN, SCTP_U32(tsn)); in sctp_eat_data()
6505 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6524 sctp_add_cmd_sf(commands, deliver, SCTP_CHUNK(chunk)); in sctp_eat_data()