Lines Matching full:asoc
206 loopback_scope = stcb->asoc.scope.loopback_scope; in sctp_sysctl_copy_out_local_addresses()
208 ipv4_local_scope = stcb->asoc.scope.ipv4_local_scope; in sctp_sysctl_copy_out_local_addresses()
209 ipv4_addr_legal = stcb->asoc.scope.ipv4_addr_legal; in sctp_sysctl_copy_out_local_addresses()
212 local_scope = stcb->asoc.scope.local_scope; in sctp_sysctl_copy_out_local_addresses()
213 site_scope = stcb->asoc.scope.site_scope; in sctp_sysctl_copy_out_local_addresses()
214 ipv6_addr_legal = stcb->asoc.scope.ipv6_addr_legal; in sctp_sysctl_copy_out_local_addresses()
402 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_sysctl_handle_assoclist()
472 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_sysctl_handle_assoclist()
477 if (stcb->asoc.primary_destination != NULL) in sctp_sysctl_handle_assoclist()
478 xstcb.primary_addr = stcb->asoc.primary_destination->ro._l_addr; in sctp_sysctl_handle_assoclist()
479 xstcb.heartbeat_interval = stcb->asoc.heart_beat_delay; in sctp_sysctl_handle_assoclist()
480 xstcb.state = (uint32_t)sctp_map_assoc_state(stcb->asoc.state); in sctp_sysctl_handle_assoclist()
482 xstcb.peers_rwnd = stcb->asoc.peers_rwnd; in sctp_sysctl_handle_assoclist()
483 xstcb.in_streams = stcb->asoc.streamincnt; in sctp_sysctl_handle_assoclist()
484 xstcb.out_streams = stcb->asoc.streamoutcnt; in sctp_sysctl_handle_assoclist()
485 xstcb.max_nr_retrans = stcb->asoc.overall_error_count; in sctp_sysctl_handle_assoclist()
488 xstcb.T1_expireries = stcb->asoc.timoinit + stcb->asoc.timocookie; in sctp_sysctl_handle_assoclist()
489 xstcb.T2_expireries = stcb->asoc.timoshutdown + stcb->asoc.timoshutdownack; in sctp_sysctl_handle_assoclist()
490 xstcb.retransmitted_tsns = stcb->asoc.marked_retrans; in sctp_sysctl_handle_assoclist()
491 xstcb.start_time.tv_sec = (uint32_t)stcb->asoc.start_time.tv_sec; in sctp_sysctl_handle_assoclist()
492 xstcb.start_time.tv_usec = (uint32_t)stcb->asoc.start_time.tv_usec; in sctp_sysctl_handle_assoclist()
493 xstcb.discontinuity_time.tv_sec = (uint32_t)stcb->asoc.discontinuity_time.tv_sec; in sctp_sysctl_handle_assoclist()
494 xstcb.discontinuity_time.tv_usec = (uint32_t)stcb->asoc.discontinuity_time.tv_usec; in sctp_sysctl_handle_assoclist()
497 xstcb.local_tag = stcb->asoc.my_vtag; in sctp_sysctl_handle_assoclist()
498 xstcb.remote_tag = stcb->asoc.peer_vtag; in sctp_sysctl_handle_assoclist()
499 xstcb.initial_tsn = stcb->asoc.init_seq_number; in sctp_sysctl_handle_assoclist()
500 xstcb.highest_tsn = stcb->asoc.sending_seq - 1; in sctp_sysctl_handle_assoclist()
501 xstcb.cumulative_tsn = stcb->asoc.last_acked_seq; in sctp_sysctl_handle_assoclist()
502 xstcb.cumulative_tsn_ack = stcb->asoc.cumulative_tsn; in sctp_sysctl_handle_assoclist()
503 xstcb.mtu = stcb->asoc.smallest_mtu; in sctp_sysctl_handle_assoclist()
504 xstcb.refcnt = stcb->asoc.refcnt; in sctp_sysctl_handle_assoclist()
510 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_sysctl_handle_assoclist()
518 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_sysctl_handle_assoclist()
521 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_sysctl_handle_assoclist()
553 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_sysctl_handle_assoclist()
559 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_sysctl_handle_assoclist()