Lines Matching refs: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);
96 struct sctp_cmd_seq *commands);
101 struct sctp_cmd_seq *commands,
111 struct sctp_cmd_seq *commands,
121 struct sctp_cmd_seq *commands);
129 struct sctp_cmd_seq *commands);
137 struct sctp_cmd_seq *commands);
145 struct sctp_cmd_seq *commands);
157 struct sctp_cmd_seq *commands);
163 struct sctp_cmd_seq *commands);
235 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_do_4_C() argument
241 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_4_C()
249 return sctp_sf_violation_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_4_C()
254 commands); in sctp_sf_do_4_C()
266 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_4_C()
277 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_4_C()
280 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_4_C()
283 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_4_C()
289 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_4_C()
321 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1B_init() argument
339 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
347 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
354 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
361 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
370 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
390 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1B_init()
399 commands); in sctp_sf_do_5_1B_init()
416 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
466 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1B_init()
468 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1B_init()
476 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_1B_init()
521 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1C_ack() argument
529 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
536 return sctp_sf_violation_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
541 commands); in sctp_sf_do_5_1C_ack()
568 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1C_ack()
587 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
590 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, in sctp_sf_do_5_1C_ack()
601 sctp_add_cmd_sf(commands, SCTP_CMD_PEER_INIT, in sctp_sf_do_5_1C_ack()
605 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
611 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1C_ack()
613 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1C_ack()
615 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1C_ack()
621 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_SHKEY, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
629 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_COOKIE_ECHO, in sctp_sf_do_5_1C_ack()
703 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1D_ce() argument
715 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
722 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
732 commands); in sctp_sf_do_5_1D_ce()
741 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
774 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_1D_ce()
776 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
780 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
786 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
813 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
858 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1D_ce()
859 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1D_ce()
863 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1D_ce()
866 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1D_ce()
870 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1D_ce()
873 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
877 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1D_ce()
881 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1D_ce()
924 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1E_ca() argument
930 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1E_ca()
935 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1E_ca()
942 commands); in sctp_sf_do_5_1E_ca()
950 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
958 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1E_ca()
960 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1E_ca()
964 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
966 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1E_ca()
981 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
993 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1E_ca()
1002 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1E_ca()
1017 struct sctp_cmd_seq *commands) in sctp_sf_heartbeat() argument
1030 sctp_add_cmd_sf(commands, SCTP_CMD_RTO_PENDING, in sctp_sf_heartbeat()
1033 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_heartbeat()
1043 struct sctp_cmd_seq *commands) in sctp_sf_sendbeat_8_3() argument
1048 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_sendbeat_8_3()
1051 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_sendbeat_8_3()
1068 commands)) in sctp_sf_sendbeat_8_3()
1074 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_sendbeat_8_3()
1077 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_IDLE, in sctp_sf_sendbeat_8_3()
1079 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMER_UPDATE, in sctp_sf_sendbeat_8_3()
1091 struct sctp_cmd_seq *commands) in sctp_sf_send_reconf() argument
1096 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_send_reconf()
1099 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_send_reconf()
1107 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_send_reconf()
1109 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, SCTP_TRANSPORT(transport)); in sctp_sf_send_reconf()
1120 struct sctp_cmd_seq *commands) in sctp_sf_send_probe() argument
1132 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_send_probe()
1133 sctp_add_cmd_sf(commands, SCTP_CMD_PROBE_TIMER_UPDATE, in sctp_sf_send_probe()
1167 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_beat_8_3() argument
1175 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_beat_8_3()
1181 commands); in sctp_sf_beat_8_3()
1193 param_hdr, commands); in sctp_sf_beat_8_3()
1202 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_beat_8_3()
1242 struct sctp_cmd_seq *commands) in sctp_sf_backbeat_8_3() argument
1251 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_backbeat_8_3()
1257 commands); in sctp_sf_backbeat_8_3()
1295 return sctp_sf_send_probe(net, ep, asoc, type, link, commands); in sctp_sf_backbeat_8_3()
1315 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_ON, SCTP_TRANSPORT(link)); in sctp_sf_backbeat_8_3()
1325 struct sctp_cmd_seq *commands) in sctp_sf_send_restart_abort() argument
1358 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, SCTP_PACKET(pkt)); in sctp_sf_send_restart_abort()
1363 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_send_restart_abort()
1390 struct sctp_cmd_seq *commands) in sctp_sf_check_restart_addrs() argument
1412 commands); in sctp_sf_check_restart_addrs()
1516 struct sctp_cmd_seq *commands) in sctp_sf_do_unexpected_init() argument
1535 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1539 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1545 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1548 return sctp_sf_new_encap_port(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1572 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_unexpected_init()
1582 commands); in sctp_sf_do_unexpected_init()
1600 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
1623 commands)) { in sctp_sf_do_unexpected_init()
1667 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_unexpected_init()
1668 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_unexpected_init()
1675 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_unexpected_init()
1735 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_1_siminit() argument
1740 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_1_siminit()
1790 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_2_dupinit() argument
1795 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_2_dupinit()
1814 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_3_initack() argument
1820 return sctp_sf_ootb(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1822 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1859 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_a() argument
1886 if (!sctp_sf_check_restart_addrs(new_asoc, asoc, chunk, commands)) in sctp_sf_do_dupcook_a()
1898 chunk, commands); in sctp_sf_do_dupcook_a()
1906 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_dupcook_a()
1915 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1916 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1918 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_OUTQUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1923 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1925 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_ASCONF_QUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1928 if (sctp_sf_do_assoc_update((struct sctp_association *)asoc, new_asoc, commands)) in sctp_sf_do_dupcook_a()
1943 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
1952 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1955 commands); in sctp_sf_do_dupcook_a()
1957 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_a()
1959 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1982 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_b() argument
2002 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_b()
2006 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_dupcook_b()
2009 if (sctp_sf_do_assoc_update((struct sctp_association *)asoc, new_asoc, commands)) in sctp_sf_do_dupcook_b()
2016 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_b()
2030 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_CHANGE, SCTP_U8(SCTP_COMM_UP)); in sctp_sf_do_dupcook_b()
2041 sctp_add_cmd_sf(commands, SCTP_CMD_ADAPTATION_IND, SCTP_NULL()); in sctp_sf_do_dupcook_b()
2044 sctp_add_cmd_sf(commands, SCTP_CMD_PEER_NO_AUTH, SCTP_NULL()); in sctp_sf_do_dupcook_b()
2066 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_c() argument
2089 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_d() argument
2107 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_d()
2109 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_d()
2112 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, in sctp_sf_do_dupcook_d()
2156 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_d()
2159 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2162 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2165 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2202 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_4_dupcook() argument
2219 return sctp_sf_violation_chunklen(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2253 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2255 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2258 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2265 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2278 retval = sctp_sf_do_dupcook_a(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2283 retval = sctp_sf_do_dupcook_b(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2288 retval = sctp_sf_do_dupcook_c(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2293 retval = sctp_sf_do_dupcook_d(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2298 retval = sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2303 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_2_4_dupcook()
2304 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_2_4_dupcook()
2309 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, in sctp_sf_do_5_2_4_dupcook()
2329 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_pending_abort() argument
2334 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2347 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2356 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2359 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2361 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2375 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_sent_abort() argument
2380 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2393 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2402 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2405 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2408 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2412 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2415 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2429 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_ack_sent_abort() argument
2434 return sctp_sf_shutdown_sent_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_abort()
2457 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_err() argument
2463 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2470 commands); in sctp_sf_cookie_echoed_err()
2480 arg, commands); in sctp_sf_cookie_echoed_err()
2488 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2522 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_6_stale() argument
2532 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_5_2_6_stale()
2534 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_do_5_2_6_stale()
2571 sctp_add_cmd_sf(commands, SCTP_CMD_CLEAR_INIT_TAG, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2574 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2575 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2580 sctp_add_cmd_sf(commands, SCTP_CMD_DEL_NON_PRIMARY, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2585 sctp_add_cmd_sf(commands, SCTP_CMD_T1_RETRAN, in sctp_sf_do_5_2_6_stale()
2591 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_INC, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2593 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_2_6_stale()
2595 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_2_6_stale()
2597 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_2_6_stale()
2600 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_5_2_6_stale()
2645 struct sctp_cmd_seq *commands) in sctp_sf_do_9_1_abort() argument
2650 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2663 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2672 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2675 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2677 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2686 struct sctp_cmd_seq *commands) in __sctp_sf_do_9_1_abort() argument
2697 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(ECONNRESET)); in __sctp_sf_do_9_1_abort()
2699 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, SCTP_PERR(error)); in __sctp_sf_do_9_1_abort()
2717 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_abort() argument
2724 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2737 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2744 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, asoc, in sctp_sf_cookie_wait_abort()
2757 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_icmp_abort() argument
2759 return sctp_stop_t1_and_abort(net, commands, SCTP_ERROR_NO_ERROR, in sctp_sf_cookie_wait_icmp_abort()
2773 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_abort() argument
2778 return sctp_sf_cookie_wait_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_abort()
2788 struct sctp_cmd_seq *commands, in sctp_stop_t1_and_abort() argument
2795 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_stop_t1_and_abort()
2798 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_stop_t1_and_abort()
2800 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(sk_err)); in sctp_stop_t1_and_abort()
2802 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_stop_t1_and_abort()
2847 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shutdown() argument
2856 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2861 commands); in sctp_sf_do_9_2_shutdown()
2881 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2892 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
2900 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown()
2906 arg, commands); in sctp_sf_do_9_2_shutdown()
2916 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shutdown()
2937 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shut_ctsn() argument
2944 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2949 commands); in sctp_sf_do_9_2_shut_ctsn()
2966 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2972 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shut_ctsn()
2989 struct sctp_cmd_seq *commands) in __sctp_sf_do_9_2_reshutack() argument
2997 commands); in __sctp_sf_do_9_2_reshutack()
3010 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in __sctp_sf_do_9_2_reshutack()
3013 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in __sctp_sf_do_9_2_reshutack()
3016 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in __sctp_sf_do_9_2_reshutack()
3027 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_reshutack() argument
3032 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3035 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3038 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3040 return __sctp_sf_do_9_2_reshutack(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3073 struct sctp_cmd_seq *commands) in sctp_sf_do_ecn_cwr() argument
3080 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecn_cwr()
3084 commands); in sctp_sf_do_ecn_cwr()
3094 sctp_add_cmd_sf(commands, in sctp_sf_do_ecn_cwr()
3128 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_do_ecne() argument
3134 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecne()
3138 commands); in sctp_sf_do_ecne()
3144 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_ECNE, in sctp_sf_do_ecne()
3185 struct sctp_cmd_seq *commands) in sctp_sf_eat_data_6_2() argument
3192 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_6_2()
3194 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_6_2()
3199 commands); in sctp_sf_eat_data_6_2()
3201 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_6_2()
3216 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_6_2()
3227 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_6_2()
3254 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3274 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_6_2()
3279 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3306 struct sctp_cmd_seq *commands) in sctp_sf_eat_data_fast_4_4() argument
3312 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_fast_4_4()
3314 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_fast_4_4()
3319 commands); in sctp_sf_eat_data_fast_4_4()
3321 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_fast_4_4()
3332 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_fast_4_4()
3351 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_data_fast_4_4()
3352 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_fast_4_4()
3353 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_fast_4_4()
3397 struct sctp_cmd_seq *commands) in sctp_sf_eat_sack_6_2() argument
3404 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3409 commands); in sctp_sf_eat_sack_6_2()
3415 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3424 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3442 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_SACK, SCTP_CHUNK(chunk)); in sctp_sf_eat_sack_6_2()
3474 struct sctp_cmd_seq *commands) in sctp_sf_tabort_8_4_8() argument
3502 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, SCTP_PACKET(packet)); in sctp_sf_tabort_8_4_8()
3506 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_tabort_8_4_8()
3521 struct sctp_cmd_seq *commands) in sctp_sf_new_encap_port() argument
3541 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_new_encap_port()
3546 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_new_encap_port()
3563 struct sctp_cmd_seq *commands) in sctp_sf_operr_notify() argument
3569 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_operr_notify()
3574 commands); in sctp_sf_operr_notify()
3578 (void *)err, commands); in sctp_sf_operr_notify()
3580 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_OPERR, in sctp_sf_operr_notify()
3601 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_final() argument
3608 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_final()
3613 commands); in sctp_sf_do_9_2_final()
3632 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3637 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3640 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3643 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_final()
3647 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_final()
3650 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_9_2_final()
3683 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_ootb() argument
3703 commands); in sctp_sf_ootb()
3709 commands); in sctp_sf_ootb()
3723 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3746 return sctp_sf_shut_8_4_5(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3748 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3750 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3780 struct sctp_cmd_seq *commands) in sctp_sf_shut_8_4_5() argument
3808 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_shut_8_4_5()
3817 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shut_8_4_5()
3836 struct sctp_cmd_seq *commands) in sctp_sf_do_8_5_1_E_sa() argument
3846 commands); in sctp_sf_do_8_5_1_E_sa()
3855 return sctp_sf_shut_8_4_5(net, ep, NULL, type, arg, commands); in sctp_sf_do_8_5_1_E_sa()
3864 struct sctp_cmd_seq *commands) in sctp_sf_do_asconf() argument
3873 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf()
3875 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf()
3881 commands); in sctp_sf_do_asconf()
3891 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf()
3899 (void *)err_param, commands); in sctp_sf_do_asconf()
3963 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack)); in sctp_sf_do_asconf()
3965 sctp_sf_heartbeat(ep, asoc, type, asoc->new_transport, commands); in sctp_sf_do_asconf()
3977 struct sctp_cmd_seq *commands) in sctp_send_next_asconf() argument
3992 return sctp_sf_do_prm_asconf(net, ep, asoc, type, asconf, commands); in sctp_send_next_asconf()
4005 struct sctp_cmd_seq *commands) in sctp_sf_do_asconf_ack() argument
4015 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf_ack()
4017 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf_ack()
4024 commands); in sctp_sf_do_asconf_ack()
4034 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf_ack()
4042 (void *)err_param, commands); in sctp_sf_do_asconf_ack()
4063 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
4069 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
4071 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
4072 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
4074 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
4082 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
4089 type, commands); in sctp_sf_do_asconf_ack()
4095 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
4101 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
4102 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
4104 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
4120 struct sctp_cmd_seq *commands) in sctp_sf_do_reconf() argument
4128 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_reconf()
4130 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_reconf()
4136 commands); in sctp_sf_do_reconf()
4140 (void *)err_param, commands); in sctp_sf_do_reconf()
4167 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_reconf()
4171 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_reconf()
4197 struct sctp_cmd_seq *commands) in sctp_sf_eat_fwd_tsn() argument
4205 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn()
4207 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn()
4211 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn()
4216 commands); in sctp_sf_eat_fwd_tsn()
4236 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn()
4238 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn()
4243 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn()
4250 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_NOFORCE()); in sctp_sf_eat_fwd_tsn()
4264 struct sctp_cmd_seq *commands) in sctp_sf_eat_fwd_tsn_fast() argument
4272 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn_fast()
4274 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn_fast()
4278 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn_fast()
4283 commands); in sctp_sf_eat_fwd_tsn_fast()
4303 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast()
4305 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn_fast()
4316 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_fwd_tsn_fast()
4317 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_fwd_tsn_fast()
4318 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn_fast()
4425 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_eat_auth() argument
4434 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4437 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_auth()
4439 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4445 commands); in sctp_sf_eat_auth()
4459 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_eat_auth()
4465 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4469 commands); in sctp_sf_eat_auth()
4487 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_eat_auth()
4522 struct sctp_cmd_seq *commands) in sctp_sf_unk_chunk() argument
4531 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4539 commands); in sctp_sf_unk_chunk()
4544 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4553 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4558 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4571 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4602 struct sctp_cmd_seq *commands) in sctp_sf_discard_chunk() argument
4607 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_discard_chunk()
4615 commands); in sctp_sf_discard_chunk()
4644 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_pdiscard() argument
4647 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_pdiscard()
4672 struct sctp_cmd_seq *commands) in sctp_sf_violation() argument
4677 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_violation()
4682 commands); in sctp_sf_violation()
4695 struct sctp_cmd_seq *commands, in sctp_sf_abort_violation() argument
4735 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_INITTAG, in sctp_sf_abort_violation()
4740 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_abort_violation()
4744 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_abort_violation()
4746 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4748 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_abort_violation()
4751 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4753 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_abort_violation()
4770 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_abort_violation()
4779 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_abort_violation()
4813 struct sctp_cmd_seq *commands) in sctp_sf_violation_chunklen() argument
4817 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4833 struct sctp_cmd_seq *commands) in sctp_sf_violation_paramlen() argument
4847 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_violation_paramlen()
4850 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_violation_paramlen()
4852 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_violation_paramlen()
4858 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_violation_paramlen()
4876 struct sctp_cmd_seq *commands) in sctp_sf_violation_ctsn() argument
4880 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4896 struct sctp_cmd_seq *commands) in sctp_sf_violation_chunk() argument
4900 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4968 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_asoc() argument
4977 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_prm_asoc()
4993 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_do_prm_asoc()
5000 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(my_asoc)); in sctp_sf_do_prm_asoc()
5005 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asoc()
5007 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_prm_asoc()
5080 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_send() argument
5084 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_MSG, SCTP_DATAMSG(msg)); in sctp_sf_do_prm_send()
5120 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_prm_shutdown() argument
5132 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_prm_shutdown()
5138 arg, commands); in sctp_sf_do_9_2_prm_shutdown()
5177 struct sctp_cmd_seq *commands) in sctp_sf_do_9_1_prm_abort() argument
5190 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_do_9_1_prm_abort()
5196 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_9_1_prm_abort()
5199 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_9_1_prm_abort()
5214 struct sctp_cmd_seq *commands) in sctp_sf_error_closed() argument
5216 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, SCTP_ERROR(-EINVAL)); in sctp_sf_error_closed()
5229 struct sctp_cmd_seq *commands) in sctp_sf_error_shutdown() argument
5231 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, in sctp_sf_error_shutdown()
5256 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_prm_shutdown() argument
5258 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_shutdown()
5261 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_shutdown()
5266 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_cookie_wait_prm_shutdown()
5291 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_prm_shutdown() argument
5296 return sctp_sf_cookie_wait_prm_shutdown(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_shutdown()
5319 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_prm_abort() argument
5324 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_abort()
5328 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_cookie_wait_prm_abort()
5330 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_abort()
5339 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_cookie_wait_prm_abort()
5342 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_cookie_wait_prm_abort()
5368 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_prm_abort() argument
5373 return sctp_sf_cookie_wait_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_abort()
5394 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_pending_prm_abort() argument
5397 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_pending_prm_abort()
5400 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_prm_abort()
5421 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_sent_prm_abort() argument
5424 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5428 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5431 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_prm_abort()
5452 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_ack_sent_prm_abort() argument
5457 return sctp_sf_shutdown_sent_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_prm_abort()
5488 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_requestheartbeat() argument
5491 (struct sctp_transport *)arg, commands)) in sctp_sf_do_prm_requestheartbeat()
5505 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_do_prm_requestheartbeat()
5520 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_asconf() argument
5524 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5525 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asconf()
5527 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5537 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_reconf() argument
5541 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_reconf()
5556 struct sctp_cmd_seq *commands) in sctp_sf_ignore_primitive() argument
5580 struct sctp_cmd_seq *commands) in sctp_sf_do_no_pending_tsn() argument
5588 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(event)); in sctp_sf_do_no_pending_tsn()
5612 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_start_shutdown() argument
5628 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5631 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_9_2_start_shutdown()
5638 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_start_shutdown()
5642 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_start_shutdown()
5646 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_start_shutdown()
5654 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_start_shutdown()
5656 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5682 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shutdown_ack() argument
5697 commands); in sctp_sf_do_9_2_shutdown_ack()
5703 arg, commands); in sctp_sf_do_9_2_shutdown_ack()
5716 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5719 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_shutdown_ack()
5723 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_shutdown_ack()
5727 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown_ack()
5735 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_shutdown_ack()
5737 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5755 struct sctp_cmd_seq *commands) in sctp_sf_ignore_other() argument
5783 struct sctp_cmd_seq *commands) in sctp_sf_do_6_3_3_rtx() argument
5801 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START_ONCE, in sctp_sf_do_6_3_3_rtx()
5804 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_6_3_3_rtx()
5807 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_6_3_3_rtx()
5843 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5846 sctp_add_cmd_sf(commands, SCTP_CMD_RETRAN, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5871 struct sctp_cmd_seq *commands) in sctp_sf_do_6_2_sack() argument
5874 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_do_6_2_sack()
5903 struct sctp_cmd_seq *commands) in sctp_sf_t1_init_timer_expire() argument
5920 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_init_timer_expire()
5924 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_RESTART, in sctp_sf_t1_init_timer_expire()
5927 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_init_timer_expire()
5933 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_init_timer_expire()
5935 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_init_timer_expire()
5968 struct sctp_cmd_seq *commands) in sctp_sf_t1_cookie_timer_expire() argument
5982 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_cookie_timer_expire()
5985 sctp_add_cmd_sf(commands, SCTP_CMD_COOKIEECHO_RESTART, in sctp_sf_t1_cookie_timer_expire()
5988 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_cookie_timer_expire()
5990 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_cookie_timer_expire()
5992 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_cookie_timer_expire()
6019 struct sctp_cmd_seq *commands) in sctp_sf_t2_timer_expire() argument
6030 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t2_timer_expire()
6033 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t2_timer_expire()
6062 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t2_timer_expire()
6068 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
6071 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t2_timer_expire()
6073 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
6090 struct sctp_cmd_seq *commands) in sctp_sf_t4_timer_expire() argument
6102 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t4_timer_expire()
6106 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_t4_timer_expire()
6114 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_t4_timer_expire()
6116 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t4_timer_expire()
6118 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t4_timer_expire()
6137 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_t4_timer_expire()
6144 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t4_timer_expire()
6162 struct sctp_cmd_seq *commands) in sctp_sf_t5_timer_expire() argument
6174 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t5_timer_expire()
6175 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t5_timer_expire()
6177 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t5_timer_expire()
6199 struct sctp_cmd_seq *commands) in sctp_sf_autoclose_timer_expire() argument
6213 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_autoclose_timer_expire()
6219 NULL, commands); in sctp_sf_autoclose_timer_expire()
6241 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_not_impl() argument
6258 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_bug() argument
6279 struct sctp_cmd_seq *commands) in sctp_sf_timer_ignore() argument
6448 struct sctp_cmd_seq *commands, in sctp_send_stale_cookie_err() argument
6465 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_send_stale_cookie_err()
6477 struct sctp_cmd_seq *commands) in sctp_eat_data() argument
6514 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_CE, in sctp_eat_data()
6529 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_DUP, SCTP_U32(tsn)); in sctp_eat_data()
6549 sctp_add_cmd_sf(commands, SCTP_CMD_PART_DELIVER, SCTP_NULL()); in sctp_eat_data()
6605 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6611 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_eat_data()
6612 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_eat_data()
6614 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_eat_data()
6646 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_TSN, SCTP_U32(tsn)); in sctp_eat_data()
6653 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6672 sctp_add_cmd_sf(commands, deliver, SCTP_CHUNK(chunk)); in sctp_eat_data()