Home
last modified time | relevance | path

Searched refs:primary_destination (Results 1 – 11 of 11) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_timer.c853 if (net != stcb->asoc.primary_destination) { in sctp_t3rxt_timer()
953 if ((stcb->asoc.primary_destination == net) && (alt != net)) { in sctp_t3rxt_timer()
1028 sctp_backoff_on_timeout(stcb, stcb->asoc.primary_destination, 1, 0, 0); in sctp_t1init_timer()
1036 alt = sctp_find_alternate_net(stcb, stcb->asoc.primary_destination, 0); in sctp_t1init_timer()
1037 if (alt != stcb->asoc.primary_destination) { in sctp_t1init_timer()
1038 sctp_move_chunks_from_net(stcb, stcb->asoc.primary_destination); in sctp_t1init_timer()
1039 stcb->asoc.primary_destination = alt; in sctp_t1init_timer()
1584 net = stcb->asoc.primary_destination; in sctp_autoclose_timer()
H A Dsctp_asconf.c543 if ((stcb->asoc.primary_destination->dest_state & SCTP_ADDR_REACHABLE) && in sctp_process_asconf_set_primary()
544 (!(stcb->asoc.primary_destination->dest_state & SCTP_ADDR_PF)) && in sctp_process_asconf_set_primary()
571 (stcb->asoc.primary_destination->dest_state & in sctp_process_asconf_set_primary()
579 stcb->asoc.primary_destination); in sctp_process_asconf_set_primary()
1008 SCTPDBG_ADDR(SCTP_DEBUG_ASCONF1, &stcb->asoc.primary_destination->ro._l_addr.sa); in sctp_assoc_immediate_retrans()
1164 if (net == stcb->asoc.primary_destination) { in sctp_path_check_and_react()
2014 stcb, stcb->asoc.primary_destination); in sctp_addr_mgmt_assoc()
2314 stcb->asoc.primary_destination); in sctp_set_primary_ip_address_sa()
2853 stcb->asoc.primary_destination); in sctp_process_initack_addresses()
H A Dsctp_pcb.c3440 netp = asoc->asoc.primary_destination; in sctp_inpcb_free()
4094 if (stcb->asoc.primary_destination == 0) { in sctp_add_remote_addr()
4095 stcb->asoc.primary_destination = net; in sctp_add_remote_addr()
4100 stcb->asoc.primary_destination = net; in sctp_add_remote_addr()
4104 if ((net != stcb->asoc.primary_destination) && in sctp_add_remote_addr()
4105 (stcb->asoc.primary_destination)) { in sctp_add_remote_addr()
4406 if (net == asoc->primary_destination) { in sctp_remove_net()
5374 stcb->asoc.primary_destination = net; in sctp_select_primary_destination()
6567 stcb->asoc.primary_destination = NULL; in sctp_load_addresses_from_init()
6676 stcb->asoc.primary_destination = net; in sctp_set_primary_addr()
[all …]
H A Dsctp_input.c551 asoc->primary_destination, SCTP_FROM_SCTP_INPUT + SCTP_LOC_3); in sctp_process_init_ack()
619 stcb->asoc.primary_destination = r_net; in sctp_handle_heartbeat_ack()
670 if (r_net == stcb->asoc.primary_destination) { in sctp_handle_heartbeat_ack()
691 stcb->asoc.primary_destination); in sctp_handle_heartbeat_ack()
1337 if (stcb->asoc.primary_destination->dest_state & in sctp_handle_init_ack()
1345 stcb->asoc.primary_destination->dest_state &= in sctp_handle_init_ack()
1348 stcb, 0, (void *)stcb->asoc.primary_destination, SCTP_SO_NOT_LOCKED); in sctp_handle_init_ack()
1459 sctp_send_shutdown_ack(stcb, stcb->asoc.primary_destination); in sctp_process_cookie_existing()
2867 stcb->asoc.primary_destination); in sctp_handle_cookie_ack()
2869 sctp_send_asconf(stcb, stcb->asoc.primary_destination, in sctp_handle_cookie_ack()
H A Dsctp_output.c4631 net = stcb->asoc.primary_destination; in sctp_send_initiate()
5581 net = asoc->primary_destination; in sctp_send_initiate_ack()
6611 net = stcb->asoc.primary_destination; in sctp_sendall_iterator()
7972 chk->whoTo = asoc->primary_destination; in sctp_med_chunk_output()
8048 if (asoc->primary_destination != net) { in sctp_med_chunk_output()
8268 if (asoc->primary_destination != net) { in sctp_med_chunk_output()
9320 net = stcb->asoc.primary_destination; in sctp_send_asconf_ack()
9332 net = stcb->asoc.primary_destination; in sctp_send_asconf_ack()
10902 net = stcb->asoc.primary_destination; in sctp_send_abort_tcb()
12784 net = stcb->asoc.primary_destination; in sctp_lower_sosend()
[all …]
H A Dsctputil.c3351 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_peer_addr_change()
3482 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_send_failed()
3580 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_send_failed2()
3627 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_adaptation_layer()
3680 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_partial_delivery_indication()
3749 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_shutdown_event()
3797 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_sender_dry_event()
3852 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_stream_reset_add()
3902 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_stream_reset_tsn()
3966 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_stream_reset()
[all …]
H A Dsctp_sysctl.c449 if (stcb->asoc.primary_destination != NULL) in sctp_sysctl_handle_assoclist()
450 xstcb.primary_addr = stcb->asoc.primary_destination->ro._l_addr; in sctp_sysctl_handle_assoclist()
H A Dsctp_indata.c2592 ((stcb->asoc.alternate) ? stcb->asoc.alternate : stcb->asoc.primary_destination)); in sctp_sack_check()
4165 if (net == stcb->asoc.primary_destination) { in sctp_express_handle_sack()
4327 netp = asoc->primary_destination; in sctp_express_handle_sack()
4344 netp = asoc->primary_destination; in sctp_express_handle_sack()
4909 if (net == stcb->asoc.primary_destination) { in sctp_handle_sack()
5004 netp = asoc->primary_destination; in sctp_handle_sack()
5022 netp = asoc->primary_destination; in sctp_handle_sack()
H A Dsctp_structs.h856 struct sctp_nets *primary_destination; member
H A Dsctp_usrreq.c746 netp = stcb->asoc.primary_destination; in sctp_disconnect()
930 netp = stcb->asoc.primary_destination; in sctp_shutdown()
1473 sctp_timer_start(SCTP_TIMER_TYPE_INIT, inp, stcb, stcb->asoc.primary_destination); in sctp_do_connect_x()
2626 net = stcb->asoc.primary_destination;
2651 switch (stcb->asoc.primary_destination->ro._l_addr.sa.sa_family) {
2817 addr = &stcb->asoc.primary_destination->ro._l_addr;
4928 stcb->asoc.primary_destination,
5808 if (net != stcb->asoc.primary_destination) {
7300 store = stcb->asoc.primary_destination->ro._l_addr;
H A Dsctp_auth.c1751 control = sctp_build_readq_entry(stcb, stcb->asoc.primary_destination, in sctp_notify_authentication()