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
332 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
344 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
352 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()
366 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
375 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1B_init()
395 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1B_init()
404 commands); in sctp_sf_do_5_1B_init()
465 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1B_init()
467 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1B_init()
475 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_1B_init()
520 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1C_ack() argument
528 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
535 return sctp_sf_violation_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
540 commands); in sctp_sf_do_5_1C_ack()
567 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_do_5_1C_ack()
586 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1C_ack()
589 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, in sctp_sf_do_5_1C_ack()
600 sctp_add_cmd_sf(commands, SCTP_CMD_PEER_INIT, in sctp_sf_do_5_1C_ack()
604 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
610 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1C_ack()
612 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1C_ack()
614 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1C_ack()
620 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_SHKEY, SCTP_NULL()); in sctp_sf_do_5_1C_ack()
628 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_COOKIE_ECHO, in sctp_sf_do_5_1C_ack()
702 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1D_ce() argument
714 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
721 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
731 commands); in sctp_sf_do_5_1D_ce()
740 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
773 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_1D_ce()
775 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
779 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
809 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1D_ce()
854 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_1D_ce()
855 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1D_ce()
859 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1D_ce()
862 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1D_ce()
866 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_5_1D_ce()
869 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
873 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1D_ce()
877 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1D_ce()
920 struct sctp_cmd_seq *commands) in sctp_sf_do_5_1E_ca() argument
926 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_1E_ca()
933 commands); in sctp_sf_do_5_1E_ca()
941 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_RESET, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
952 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_1E_ca()
954 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_1E_ca()
958 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_5_1E_ca()
960 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_1E_ca()
975 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
987 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1E_ca()
996 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_5_1E_ca()
1011 struct sctp_cmd_seq *commands) in sctp_sf_heartbeat() argument
1024 sctp_add_cmd_sf(commands, SCTP_CMD_RTO_PENDING, in sctp_sf_heartbeat()
1027 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_heartbeat()
1037 struct sctp_cmd_seq *commands) in sctp_sf_sendbeat_8_3() argument
1042 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_sendbeat_8_3()
1045 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_sendbeat_8_3()
1062 commands)) in sctp_sf_sendbeat_8_3()
1068 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_sendbeat_8_3()
1071 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_IDLE, in sctp_sf_sendbeat_8_3()
1073 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMER_UPDATE, in sctp_sf_sendbeat_8_3()
1085 struct sctp_cmd_seq *commands) in sctp_sf_send_reconf() argument
1090 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_send_reconf()
1093 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_send_reconf()
1101 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_send_reconf()
1103 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, SCTP_TRANSPORT(transport)); in sctp_sf_send_reconf()
1114 struct sctp_cmd_seq *commands) in sctp_sf_send_probe() argument
1126 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_send_probe()
1128 sctp_add_cmd_sf(commands, SCTP_CMD_PROBE_TIMER_UPDATE, in sctp_sf_send_probe()
1162 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_beat_8_3() argument
1170 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_beat_8_3()
1176 commands); in sctp_sf_beat_8_3()
1188 param_hdr, commands); in sctp_sf_beat_8_3()
1197 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_beat_8_3()
1237 struct sctp_cmd_seq *commands) in sctp_sf_backbeat_8_3() argument
1246 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_backbeat_8_3()
1252 commands); in sctp_sf_backbeat_8_3()
1290 return sctp_sf_send_probe(net, ep, asoc, type, link, commands); in sctp_sf_backbeat_8_3()
1310 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_ON, SCTP_TRANSPORT(link)); in sctp_sf_backbeat_8_3()
1320 struct sctp_cmd_seq *commands) in sctp_sf_send_restart_abort() argument
1353 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, SCTP_PACKET(pkt)); in sctp_sf_send_restart_abort()
1358 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_send_restart_abort()
1385 struct sctp_cmd_seq *commands) in sctp_sf_check_restart_addrs() argument
1407 commands); in sctp_sf_check_restart_addrs()
1511 struct sctp_cmd_seq *commands) in sctp_sf_do_unexpected_init() argument
1523 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_unexpected_init()
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()
1617 commands)) { in sctp_sf_do_unexpected_init()
1661 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_unexpected_init()
1662 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_unexpected_init()
1669 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_unexpected_init()
1729 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_1_siminit() argument
1734 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_1_siminit()
1784 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_2_dupinit() argument
1789 return sctp_sf_do_unexpected_init(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_2_dupinit()
1808 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_3_initack() argument
1814 return sctp_sf_ootb(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1816 return sctp_sf_discard_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_3_initack()
1853 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_a() argument
1881 if (!sctp_sf_check_restart_addrs(new_asoc, asoc, chunk, commands)) in sctp_sf_do_dupcook_a()
1893 chunk, commands); in sctp_sf_do_dupcook_a()
1901 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_dupcook_a()
1910 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1911 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1913 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_OUTQUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1918 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_a()
1920 sctp_add_cmd_sf(commands, SCTP_CMD_PURGE_ASCONF_QUEUE, SCTP_NULL()); in sctp_sf_do_dupcook_a()
1923 if (sctp_sf_do_assoc_update((struct sctp_association *)asoc, new_asoc, commands)) in sctp_sf_do_dupcook_a()
1938 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
1947 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1950 commands); in sctp_sf_do_dupcook_a()
1952 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_a()
1954 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_a()
1977 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_b() argument
1997 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_b()
2001 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, SCTP_NULL()); in sctp_sf_do_dupcook_b()
2004 if (sctp_sf_do_assoc_update((struct sctp_association *)asoc, new_asoc, commands)) in sctp_sf_do_dupcook_b()
2011 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_b()
2025 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_CHANGE, SCTP_U8(SCTP_COMM_UP)); in sctp_sf_do_dupcook_b()
2036 sctp_add_cmd_sf(commands, SCTP_CMD_ADAPTATION_IND, SCTP_NULL()); in sctp_sf_do_dupcook_b()
2039 sctp_add_cmd_sf(commands, SCTP_CMD_PEER_NO_AUTH, SCTP_NULL()); in sctp_sf_do_dupcook_b()
2061 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_c() argument
2084 struct sctp_cmd_seq *commands, in sctp_sf_do_dupcook_d() argument
2102 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_dupcook_d()
2104 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_dupcook_d()
2107 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_START, in sctp_sf_do_dupcook_d()
2151 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_dupcook_d()
2154 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2157 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2160 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_dupcook_d()
2197 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_4_dupcook() argument
2214 return sctp_sf_violation_chunklen(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2248 sctp_send_stale_cookie_err(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2250 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2253 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2261 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2274 retval = sctp_sf_do_dupcook_a(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2279 retval = sctp_sf_do_dupcook_b(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2284 retval = sctp_sf_do_dupcook_c(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2289 retval = sctp_sf_do_dupcook_d(net, ep, asoc, chunk, commands, in sctp_sf_do_5_2_4_dupcook()
2294 retval = sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_5_2_4_dupcook()
2299 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, SCTP_ASOC(new_asoc)); in sctp_sf_do_5_2_4_dupcook()
2300 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_5_2_4_dupcook()
2305 sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, in sctp_sf_do_5_2_4_dupcook()
2325 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_pending_abort() argument
2330 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2343 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2352 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2355 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2357 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_abort()
2371 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_sent_abort() argument
2376 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2389 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2398 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2401 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2404 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2408 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_abort()
2411 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_abort()
2425 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_ack_sent_abort() argument
2430 return sctp_sf_shutdown_sent_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_abort()
2453 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_err() argument
2459 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2466 commands); in sctp_sf_cookie_echoed_err()
2476 arg, commands); in sctp_sf_cookie_echoed_err()
2484 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_err()
2518 struct sctp_cmd_seq *commands) in sctp_sf_do_5_2_6_stale() argument
2528 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_5_2_6_stale()
2530 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_do_5_2_6_stale()
2567 sctp_add_cmd_sf(commands, SCTP_CMD_CLEAR_INIT_TAG, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2570 sctp_add_cmd_sf(commands, SCTP_CMD_T3_RTX_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2571 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2576 sctp_add_cmd_sf(commands, SCTP_CMD_DEL_NON_PRIMARY, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2581 sctp_add_cmd_sf(commands, SCTP_CMD_T1_RETRAN, in sctp_sf_do_5_2_6_stale()
2587 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_COUNTER_INC, SCTP_NULL()); in sctp_sf_do_5_2_6_stale()
2589 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_5_2_6_stale()
2591 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_5_2_6_stale()
2593 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_5_2_6_stale()
2596 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_5_2_6_stale()
2641 struct sctp_cmd_seq *commands) in sctp_sf_do_9_1_abort() argument
2646 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2659 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2668 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2671 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2673 return __sctp_sf_do_9_1_abort(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_1_abort()
2682 struct sctp_cmd_seq *commands) in __sctp_sf_do_9_1_abort() argument
2693 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(ECONNRESET)); in __sctp_sf_do_9_1_abort()
2695 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, SCTP_PERR(error)); in __sctp_sf_do_9_1_abort()
2713 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_abort() argument
2720 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2733 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_wait_abort()
2740 return sctp_stop_t1_and_abort(net, commands, error, ECONNREFUSED, asoc, in sctp_sf_cookie_wait_abort()
2753 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_icmp_abort() argument
2755 return sctp_stop_t1_and_abort(net, commands, SCTP_ERROR_NO_ERROR, in sctp_sf_cookie_wait_icmp_abort()
2769 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_abort() argument
2774 return sctp_sf_cookie_wait_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_abort()
2784 struct sctp_cmd_seq *commands, in sctp_stop_t1_and_abort() argument
2791 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_stop_t1_and_abort()
2794 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_stop_t1_and_abort()
2796 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, SCTP_ERROR(sk_err)); in sctp_stop_t1_and_abort()
2798 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_stop_t1_and_abort()
2843 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shutdown() argument
2852 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2857 commands); in sctp_sf_do_9_2_shutdown()
2877 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shutdown()
2888 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
2896 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown()
2902 arg, commands); in sctp_sf_do_9_2_shutdown()
2912 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shutdown()
2933 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shut_ctsn() argument
2940 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2945 commands); in sctp_sf_do_9_2_shut_ctsn()
2962 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_shut_ctsn()
2968 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_CTSN, in sctp_sf_do_9_2_shut_ctsn()
2985 struct sctp_cmd_seq *commands) in __sctp_sf_do_9_2_reshutack() argument
2993 commands); in __sctp_sf_do_9_2_reshutack()
3006 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in __sctp_sf_do_9_2_reshutack()
3009 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in __sctp_sf_do_9_2_reshutack()
3012 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in __sctp_sf_do_9_2_reshutack()
3023 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_reshutack() argument
3028 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3031 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3034 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3036 return __sctp_sf_do_9_2_reshutack(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_reshutack()
3069 struct sctp_cmd_seq *commands) in sctp_sf_do_ecn_cwr() argument
3076 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecn_cwr()
3080 commands); in sctp_sf_do_ecn_cwr()
3090 sctp_add_cmd_sf(commands, in sctp_sf_do_ecn_cwr()
3124 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_do_ecne() argument
3130 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_ecne()
3134 commands); in sctp_sf_do_ecne()
3140 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_ECNE, in sctp_sf_do_ecne()
3181 struct sctp_cmd_seq *commands) in sctp_sf_eat_data_6_2() argument
3188 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_6_2()
3190 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_6_2()
3195 commands); in sctp_sf_eat_data_6_2()
3197 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_6_2()
3212 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_6_2()
3223 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_6_2()
3250 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3270 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_6_2()
3275 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, force); in sctp_sf_eat_data_6_2()
3302 struct sctp_cmd_seq *commands) in sctp_sf_eat_data_fast_4_4() argument
3308 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_data_fast_4_4()
3310 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_data_fast_4_4()
3315 commands); in sctp_sf_eat_data_fast_4_4()
3317 error = sctp_eat_data(asoc, chunk, commands); in sctp_sf_eat_data_fast_4_4()
3328 return sctp_sf_abort_violation(net, ep, asoc, chunk, commands, in sctp_sf_eat_data_fast_4_4()
3347 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_data_fast_4_4()
3348 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_data_fast_4_4()
3349 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_data_fast_4_4()
3393 struct sctp_cmd_seq *commands) in sctp_sf_eat_sack_6_2() argument
3400 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3405 commands); in sctp_sf_eat_sack_6_2()
3411 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3420 return sctp_sf_violation_ctsn(net, ep, asoc, type, arg, commands); in sctp_sf_eat_sack_6_2()
3438 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_SACK, SCTP_CHUNK(chunk)); in sctp_sf_eat_sack_6_2()
3470 struct sctp_cmd_seq *commands) in sctp_sf_tabort_8_4_8() argument
3498 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, SCTP_PACKET(packet)); in sctp_sf_tabort_8_4_8()
3502 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_tabort_8_4_8()
3517 struct sctp_cmd_seq *commands) in sctp_sf_new_encap_port() argument
3537 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_new_encap_port()
3542 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_new_encap_port()
3559 struct sctp_cmd_seq *commands) in sctp_sf_operr_notify() argument
3565 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_operr_notify()
3570 commands); in sctp_sf_operr_notify()
3574 (void *)err, commands); in sctp_sf_operr_notify()
3576 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_OPERR, in sctp_sf_operr_notify()
3597 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_final() argument
3604 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_9_2_final()
3609 commands); in sctp_sf_do_9_2_final()
3628 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3633 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3636 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_final()
3639 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_final()
3643 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_final()
3646 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_do_9_2_final()
3679 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_ootb() argument
3699 commands); in sctp_sf_ootb()
3705 commands); in sctp_sf_ootb()
3719 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3742 return sctp_sf_shut_8_4_5(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3744 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3746 return sctp_sf_tabort_8_4_8(net, ep, asoc, type, arg, commands); in sctp_sf_ootb()
3776 struct sctp_cmd_seq *commands) in sctp_sf_shut_8_4_5() argument
3804 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_shut_8_4_5()
3813 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_shut_8_4_5()
3832 struct sctp_cmd_seq *commands) in sctp_sf_do_8_5_1_E_sa() argument
3842 commands); in sctp_sf_do_8_5_1_E_sa()
3851 return sctp_sf_shut_8_4_5(net, ep, NULL, type, arg, commands); in sctp_sf_do_8_5_1_E_sa()
3860 struct sctp_cmd_seq *commands) in sctp_sf_do_asconf() argument
3869 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf()
3871 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf()
3877 commands); in sctp_sf_do_asconf()
3887 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf()
3895 (void *)err_param, commands); in sctp_sf_do_asconf()
3959 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack)); in sctp_sf_do_asconf()
3961 sctp_sf_heartbeat(ep, asoc, type, asoc->new_transport, commands); in sctp_sf_do_asconf()
3973 struct sctp_cmd_seq *commands) in sctp_send_next_asconf() argument
3988 return sctp_sf_do_prm_asconf(net, ep, asoc, type, asconf, commands); in sctp_send_next_asconf()
4001 struct sctp_cmd_seq *commands) in sctp_sf_do_asconf_ack() argument
4011 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_asconf_ack()
4013 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf_ack()
4020 commands); in sctp_sf_do_asconf_ack()
4030 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_asconf_ack()
4038 (void *)err_param, commands); in sctp_sf_do_asconf_ack()
4059 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
4065 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
4067 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
4068 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
4070 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
4078 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_asconf_ack()
4085 type, commands); in sctp_sf_do_asconf_ack()
4091 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_asconf_ack()
4097 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_do_asconf_ack()
4098 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_asconf_ack()
4100 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_asconf_ack()
4116 struct sctp_cmd_seq *commands) in sctp_sf_do_reconf() argument
4124 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_do_reconf()
4126 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_do_reconf()
4132 commands); in sctp_sf_do_reconf()
4136 (void *)err_param, commands); in sctp_sf_do_reconf()
4163 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_do_reconf()
4167 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_do_reconf()
4193 struct sctp_cmd_seq *commands) in sctp_sf_eat_fwd_tsn() argument
4201 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn()
4203 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn()
4207 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn()
4212 commands); in sctp_sf_eat_fwd_tsn()
4232 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn()
4234 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn()
4239 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn()
4246 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_NOFORCE()); in sctp_sf_eat_fwd_tsn()
4260 struct sctp_cmd_seq *commands) in sctp_sf_eat_fwd_tsn_fast() argument
4268 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_fwd_tsn_fast()
4270 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn_fast()
4274 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_fwd_tsn_fast()
4279 commands); in sctp_sf_eat_fwd_tsn_fast()
4299 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn)); in sctp_sf_eat_fwd_tsn_fast()
4301 sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN, in sctp_sf_eat_fwd_tsn_fast()
4312 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SHUTDOWN, SCTP_NULL()); in sctp_sf_eat_fwd_tsn_fast()
4313 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_eat_fwd_tsn_fast()
4314 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_eat_fwd_tsn_fast()
4421 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_eat_auth() argument
4430 return sctp_sf_unk_chunk(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4433 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_BAD_TAG, in sctp_sf_eat_auth()
4435 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4441 commands); in sctp_sf_eat_auth()
4455 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_eat_auth()
4461 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_eat_auth()
4465 commands); in sctp_sf_eat_auth()
4483 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, in sctp_sf_eat_auth()
4518 struct sctp_cmd_seq *commands) in sctp_sf_unk_chunk() argument
4527 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4535 commands); in sctp_sf_unk_chunk()
4540 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4549 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4554 sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_unk_chunk()
4567 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_unk_chunk()
4598 struct sctp_cmd_seq *commands) in sctp_sf_discard_chunk() argument
4603 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_discard_chunk()
4611 commands); in sctp_sf_discard_chunk()
4640 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_pdiscard() argument
4643 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_sf_pdiscard()
4668 struct sctp_cmd_seq *commands) in sctp_sf_violation() argument
4673 return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); in sctp_sf_violation()
4678 commands); in sctp_sf_violation()
4691 struct sctp_cmd_seq *commands, in sctp_sf_abort_violation() argument
4731 sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_INITTAG, in sctp_sf_abort_violation()
4736 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_abort_violation()
4740 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_abort_violation()
4742 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4744 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_abort_violation()
4747 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_abort_violation()
4749 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_abort_violation()
4766 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_sf_abort_violation()
4775 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_abort_violation()
4809 struct sctp_cmd_seq *commands) in sctp_sf_violation_chunklen() argument
4813 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunklen()
4829 struct sctp_cmd_seq *commands) in sctp_sf_violation_paramlen() argument
4843 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_violation_paramlen()
4846 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_violation_paramlen()
4848 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_violation_paramlen()
4854 sctp_sf_pdiscard(net, ep, asoc, SCTP_ST_CHUNK(0), arg, commands); in sctp_sf_violation_paramlen()
4872 struct sctp_cmd_seq *commands) in sctp_sf_violation_ctsn() argument
4876 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_ctsn()
4892 struct sctp_cmd_seq *commands) in sctp_sf_violation_chunk() argument
4897 return sctp_sf_violation(net, ep, asoc, type, arg, commands); in sctp_sf_violation_chunk()
4899 return sctp_sf_abort_violation(net, ep, asoc, arg, commands, err_str, in sctp_sf_violation_chunk()
4967 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_asoc() argument
4976 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_prm_asoc()
4992 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_do_prm_asoc()
4999 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(my_asoc)); in sctp_sf_do_prm_asoc()
5004 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asoc()
5006 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_do_prm_asoc()
5079 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_send() argument
5083 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_MSG, SCTP_DATAMSG(msg)); in sctp_sf_do_prm_send()
5119 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_prm_shutdown() argument
5131 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_prm_shutdown()
5137 arg, commands); in sctp_sf_do_9_2_prm_shutdown()
5176 struct sctp_cmd_seq *commands) in sctp_sf_do_9_1_prm_abort() argument
5189 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_do_9_1_prm_abort()
5195 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_9_1_prm_abort()
5198 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_9_1_prm_abort()
5213 struct sctp_cmd_seq *commands) in sctp_sf_error_closed() argument
5215 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, SCTP_ERROR(-EINVAL)); in sctp_sf_error_closed()
5228 struct sctp_cmd_seq *commands) in sctp_sf_error_shutdown() argument
5230 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_ERROR, in sctp_sf_error_shutdown()
5255 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_prm_shutdown() argument
5257 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_shutdown()
5260 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_shutdown()
5265 sctp_add_cmd_sf(commands, SCTP_CMD_DELETE_TCB, SCTP_NULL()); in sctp_sf_cookie_wait_prm_shutdown()
5290 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_prm_shutdown() argument
5295 return sctp_sf_cookie_wait_prm_shutdown(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_shutdown()
5318 struct sctp_cmd_seq *commands) in sctp_sf_cookie_wait_prm_abort() argument
5323 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_cookie_wait_prm_abort()
5327 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_cookie_wait_prm_abort()
5329 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_cookie_wait_prm_abort()
5338 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_cookie_wait_prm_abort()
5341 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_cookie_wait_prm_abort()
5367 struct sctp_cmd_seq *commands) in sctp_sf_cookie_echoed_prm_abort() argument
5372 return sctp_sf_cookie_wait_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_cookie_echoed_prm_abort()
5393 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_pending_prm_abort() argument
5396 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_pending_prm_abort()
5399 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_pending_prm_abort()
5420 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_sent_prm_abort() argument
5423 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5427 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_shutdown_sent_prm_abort()
5430 return sctp_sf_do_9_1_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_sent_prm_abort()
5451 struct sctp_cmd_seq *commands) in sctp_sf_shutdown_ack_sent_prm_abort() argument
5456 return sctp_sf_shutdown_sent_prm_abort(net, ep, asoc, type, arg, commands); in sctp_sf_shutdown_ack_sent_prm_abort()
5487 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_requestheartbeat() argument
5490 (struct sctp_transport *)arg, commands)) in sctp_sf_do_prm_requestheartbeat()
5504 sctp_add_cmd_sf(commands, SCTP_CMD_TRANSPORT_HB_SENT, in sctp_sf_do_prm_requestheartbeat()
5519 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_asconf() argument
5523 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5524 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_prm_asconf()
5526 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_asconf()
5536 struct sctp_cmd_seq *commands) in sctp_sf_do_prm_reconf() argument
5540 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(chunk)); in sctp_sf_do_prm_reconf()
5555 struct sctp_cmd_seq *commands) in sctp_sf_ignore_primitive() argument
5579 struct sctp_cmd_seq *commands) in sctp_sf_do_no_pending_tsn() argument
5587 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(event)); in sctp_sf_do_no_pending_tsn()
5611 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_start_shutdown() argument
5627 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5630 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START, in sctp_sf_do_9_2_start_shutdown()
5637 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_start_shutdown()
5641 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_start_shutdown()
5645 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_start_shutdown()
5653 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_start_shutdown()
5655 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_start_shutdown()
5681 struct sctp_cmd_seq *commands) in sctp_sf_do_9_2_shutdown_ack() argument
5696 commands); in sctp_sf_do_9_2_shutdown_ack()
5702 arg, commands); in sctp_sf_do_9_2_shutdown_ack()
5715 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5718 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_do_9_2_shutdown_ack()
5722 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_do_9_2_shutdown_ack()
5726 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_do_9_2_shutdown_ack()
5734 sctp_add_cmd_sf(commands, SCTP_CMD_HB_TIMERS_STOP, SCTP_NULL()); in sctp_sf_do_9_2_shutdown_ack()
5736 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_do_9_2_shutdown_ack()
5754 struct sctp_cmd_seq *commands) in sctp_sf_ignore_other() argument
5782 struct sctp_cmd_seq *commands) in sctp_sf_do_6_3_3_rtx() argument
5800 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_START_ONCE, in sctp_sf_do_6_3_3_rtx()
5803 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_do_6_3_3_rtx()
5806 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_do_6_3_3_rtx()
5842 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5845 sctp_add_cmd_sf(commands, SCTP_CMD_RETRAN, SCTP_TRANSPORT(transport)); in sctp_sf_do_6_3_3_rtx()
5870 struct sctp_cmd_seq *commands) in sctp_sf_do_6_2_sack() argument
5873 sctp_add_cmd_sf(commands, SCTP_CMD_GEN_SACK, SCTP_FORCE()); in sctp_sf_do_6_2_sack()
5902 struct sctp_cmd_seq *commands) in sctp_sf_t1_init_timer_expire() argument
5919 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_init_timer_expire()
5923 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_RESTART, in sctp_sf_t1_init_timer_expire()
5926 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_init_timer_expire()
5932 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_init_timer_expire()
5934 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_init_timer_expire()
5967 struct sctp_cmd_seq *commands) in sctp_sf_t1_cookie_timer_expire() argument
5981 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, in sctp_sf_t1_cookie_timer_expire()
5984 sctp_add_cmd_sf(commands, SCTP_CMD_COOKIEECHO_RESTART, in sctp_sf_t1_cookie_timer_expire()
5987 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl)); in sctp_sf_t1_cookie_timer_expire()
5989 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t1_cookie_timer_expire()
5991 sctp_add_cmd_sf(commands, SCTP_CMD_INIT_FAILED, in sctp_sf_t1_cookie_timer_expire()
6018 struct sctp_cmd_seq *commands) in sctp_sf_t2_timer_expire() argument
6029 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t2_timer_expire()
6032 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t2_timer_expire()
6061 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t2_timer_expire()
6067 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T2, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
6070 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t2_timer_expire()
6072 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t2_timer_expire()
6089 struct sctp_cmd_seq *commands) in sctp_sf_t4_timer_expire() argument
6101 sctp_add_cmd_sf(commands, SCTP_CMD_STRIKE, in sctp_sf_t4_timer_expire()
6105 sctp_add_cmd_sf(commands, SCTP_CMD_SETUP_T4, SCTP_CHUNK(chunk)); in sctp_sf_t4_timer_expire()
6113 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_STOP, in sctp_sf_t4_timer_expire()
6115 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t4_timer_expire()
6117 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t4_timer_expire()
6136 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_sf_t4_timer_expire()
6143 sctp_add_cmd_sf(commands, SCTP_CMD_TIMER_RESTART, in sctp_sf_t4_timer_expire()
6161 struct sctp_cmd_seq *commands) in sctp_sf_t5_timer_expire() argument
6173 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_t5_timer_expire()
6174 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_sf_t5_timer_expire()
6176 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_sf_t5_timer_expire()
6198 struct sctp_cmd_seq *commands) in sctp_sf_autoclose_timer_expire() argument
6212 sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE, in sctp_sf_autoclose_timer_expire()
6218 NULL, commands); in sctp_sf_autoclose_timer_expire()
6240 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_not_impl() argument
6257 void *arg, struct sctp_cmd_seq *commands) in sctp_sf_bug() argument
6278 struct sctp_cmd_seq *commands) in sctp_sf_timer_ignore() argument
6447 struct sctp_cmd_seq *commands, in sctp_send_stale_cookie_err() argument
6464 sctp_add_cmd_sf(commands, SCTP_CMD_SEND_PKT, in sctp_send_stale_cookie_err()
6476 struct sctp_cmd_seq *commands) in sctp_eat_data() argument
6513 sctp_add_cmd_sf(commands, SCTP_CMD_ECN_CE, in sctp_eat_data()
6528 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_DUP, SCTP_U32(tsn)); in sctp_eat_data()
6548 sctp_add_cmd_sf(commands, SCTP_CMD_PART_DELIVER, SCTP_NULL()); in sctp_eat_data()
6606 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6612 sctp_add_cmd_sf(commands, SCTP_CMD_DISCARD_PACKET, SCTP_NULL()); in sctp_eat_data()
6613 sctp_add_cmd_sf(commands, SCTP_CMD_SET_SK_ERR, in sctp_eat_data()
6615 sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED, in sctp_eat_data()
6647 sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_TSN, SCTP_U32(tsn)); in sctp_eat_data()
6654 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, in sctp_eat_data()
6673 sctp_add_cmd_sf(commands, deliver, SCTP_CHUNK(chunk)); in sctp_eat_data()