Lines Matching refs:t

231 void sctp_generate_t3_rtx_event(struct timer_list *t)  in sctp_generate_t3_rtx_event()  argument
234 from_timer(transport, t, T3_rtx_timer); in sctp_generate_t3_rtx_event()
308 static void sctp_generate_t1_cookie_event(struct timer_list *t) in sctp_generate_t1_cookie_event() argument
311 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T1_COOKIE]); in sctp_generate_t1_cookie_event()
316 static void sctp_generate_t1_init_event(struct timer_list *t) in sctp_generate_t1_init_event() argument
319 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T1_INIT]); in sctp_generate_t1_init_event()
324 static void sctp_generate_t2_shutdown_event(struct timer_list *t) in sctp_generate_t2_shutdown_event() argument
327 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN]); in sctp_generate_t2_shutdown_event()
332 static void sctp_generate_t4_rto_event(struct timer_list *t) in sctp_generate_t4_rto_event() argument
335 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_T4_RTO]); in sctp_generate_t4_rto_event()
340 static void sctp_generate_t5_shutdown_guard_event(struct timer_list *t) in sctp_generate_t5_shutdown_guard_event() argument
343 from_timer(asoc, t, in sctp_generate_t5_shutdown_guard_event()
351 static void sctp_generate_autoclose_event(struct timer_list *t) in sctp_generate_autoclose_event() argument
354 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_AUTOCLOSE]); in sctp_generate_autoclose_event()
362 void sctp_generate_heartbeat_event(struct timer_list *t) in sctp_generate_heartbeat_event() argument
364 struct sctp_transport *transport = from_timer(transport, t, hb_timer); in sctp_generate_heartbeat_event()
407 void sctp_generate_proto_unreach_event(struct timer_list *t) in sctp_generate_proto_unreach_event() argument
410 from_timer(transport, t, proto_unreach_timer); in sctp_generate_proto_unreach_event()
442 void sctp_generate_reconf_event(struct timer_list *t) in sctp_generate_reconf_event() argument
445 from_timer(transport, t, reconf_timer); in sctp_generate_reconf_event()
479 void sctp_generate_probe_event(struct timer_list *t) in sctp_generate_probe_event() argument
481 struct sctp_transport *transport = from_timer(transport, t, probe_timer); in sctp_generate_probe_event()
511 static void sctp_generate_sack_event(struct timer_list *t) in sctp_generate_sack_event() argument
514 from_timer(asoc, t, timers[SCTP_EVENT_TIMEOUT_SACK]); in sctp_generate_sack_event()
718 struct sctp_transport *t; in sctp_cmd_hb_timers_start() local
724 list_for_each_entry(t, &asoc->peer.transport_addr_list, transports) in sctp_cmd_hb_timers_start()
725 sctp_transport_reset_hb_timer(t); in sctp_cmd_hb_timers_start()
731 struct sctp_transport *t; in sctp_cmd_hb_timers_stop() local
735 list_for_each_entry(t, &asoc->peer.transport_addr_list, in sctp_cmd_hb_timers_stop()
737 if (del_timer(&t->hb_timer)) in sctp_cmd_hb_timers_stop()
738 sctp_transport_put(t); in sctp_cmd_hb_timers_stop()
746 struct sctp_transport *t; in sctp_cmd_t3_rtx_timers_stop() local
748 list_for_each_entry(t, &asoc->peer.transport_addr_list, in sctp_cmd_t3_rtx_timers_stop()
750 if (del_timer(&t->T3_rtx_timer)) in sctp_cmd_t3_rtx_timers_stop()
751 sctp_transport_put(t); in sctp_cmd_t3_rtx_timers_stop()
759 struct sctp_transport *t, in sctp_cmd_transport_on() argument
769 t->error_count = 0; in sctp_cmd_transport_on()
779 if (t->asoc->state < SCTP_STATE_SHUTDOWN_PENDING) in sctp_cmd_transport_on()
780 t->asoc->overall_error_count = 0; in sctp_cmd_transport_on()
785 t->hb_sent = 0; in sctp_cmd_transport_on()
790 if ((t->state == SCTP_INACTIVE) || (t->state == SCTP_UNCONFIRMED)) { in sctp_cmd_transport_on()
792 sctp_assoc_control_transport(asoc, t, SCTP_TRANSPORT_UP, in sctp_cmd_transport_on()
796 if (t->state == SCTP_PF) in sctp_cmd_transport_on()
797 sctp_assoc_control_transport(asoc, t, SCTP_TRANSPORT_UP, in sctp_cmd_transport_on()
803 if (t->dst) in sctp_cmd_transport_on()
804 sctp_transport_dst_confirm(t); in sctp_cmd_transport_on()
813 if (t->rto_pending == 0) in sctp_cmd_transport_on()
814 t->rto_pending = 1; in sctp_cmd_transport_on()
817 sctp_transport_update_rto(t, (jiffies - hbinfo->sent_at)); in sctp_cmd_transport_on()
820 sctp_transport_reset_hb_timer(t); in sctp_cmd_transport_on()
823 sctp_transport_immediate_rtx(t); in sctp_cmd_transport_on()
852 struct sctp_transport *t; in sctp_cmd_setup_t2() local
855 t = chunk->transport; in sctp_cmd_setup_t2()
857 t = sctp_assoc_choose_alter_transport(asoc, in sctp_cmd_setup_t2()
859 chunk->transport = t; in sctp_cmd_setup_t2()
861 asoc->shutdown_last_sent_to = t; in sctp_cmd_setup_t2()
862 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto; in sctp_cmd_setup_t2()
957 struct sctp_transport *t; in sctp_cmd_setup_t4() local
959 t = sctp_assoc_choose_alter_transport(asoc, chunk->transport); in sctp_cmd_setup_t4()
960 asoc->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = t->rto; in sctp_cmd_setup_t4()
961 chunk->transport = t; in sctp_cmd_setup_t4()
1019 struct sctp_transport *t; in sctp_cmd_del_non_primary() local
1024 t = list_entry(pos, struct sctp_transport, transports); in sctp_cmd_del_non_primary()
1025 if (!sctp_cmp_addr_exact(&t->ipaddr, in sctp_cmd_del_non_primary()
1027 sctp_assoc_rm_peer(asoc, t); in sctp_cmd_del_non_primary()
1083 struct sctp_transport *t; in sctp_cmd_t1_timer_update() local
1085 t = asoc->init_last_sent_to; in sctp_cmd_t1_timer_update()
1088 if (t->init_sent_count > (asoc->init_cycle + 1)) { in sctp_cmd_t1_timer_update()
1284 struct sctp_transport *t; in sctp_cmd_interpreter() local
1566 t = sctp_assoc_choose_alter_transport(asoc, in sctp_cmd_interpreter()
1568 asoc->init_last_sent_to = t; in sctp_cmd_interpreter()
1569 chunk->transport = t; in sctp_cmd_interpreter()
1570 t->init_sent_count++; in sctp_cmd_interpreter()
1572 sctp_assoc_set_primary(asoc, t); in sctp_cmd_interpreter()
1604 list_for_each_entry(t, &asoc->peer.transport_addr_list, in sctp_cmd_interpreter()
1606 sctp_retransmit_mark(&asoc->outqueue, t, in sctp_cmd_interpreter()
1631 list_for_each_entry(t, &asoc->peer.transport_addr_list, in sctp_cmd_interpreter()
1633 t->init_sent_count = 0; in sctp_cmd_interpreter()
1653 t = cmd->obj.transport; in sctp_cmd_interpreter()
1654 sctp_transport_lower_cwnd(t, SCTP_LOWER_CWND_INACTIVE); in sctp_cmd_interpreter()
1658 t = cmd->obj.transport; in sctp_cmd_interpreter()
1660 t, 1); in sctp_cmd_interpreter()
1661 t->hb_sent = 1; in sctp_cmd_interpreter()
1665 t = cmd->obj.transport; in sctp_cmd_interpreter()
1666 sctp_cmd_transport_on(commands, asoc, t, chunk); in sctp_cmd_interpreter()
1674 t = cmd->obj.transport; in sctp_cmd_interpreter()
1675 sctp_transport_reset_hb_timer(t); in sctp_cmd_interpreter()
1683 t = cmd->obj.transport; in sctp_cmd_interpreter()
1684 sctp_transport_reset_probe_timer(t); in sctp_cmd_interpreter()
1716 t = cmd->obj.transport; in sctp_cmd_interpreter()
1717 t->rto_pending = 1; in sctp_cmd_interpreter()
1747 t = asoc->peer.retran_path; in sctp_cmd_interpreter()
1751 asoc->peer.retran_path = t; in sctp_cmd_interpreter()