Home
last modified time | relevance | path

Searched full:asoc (Results 1 – 25 of 70) sorted by relevance

123

/freebsd/sys/netinet/
H A Dsctp_ss_functions.c50 sctp_ss_default_init(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_ss_default_init() argument
56 asoc->ss_data.locked_on_sending = NULL; in sctp_ss_default_init()
57 asoc->ss_data.last_out_stream = NULL; in sctp_ss_default_init()
58 TAILQ_INIT(&asoc->ss_data.out.wheel); in sctp_ss_default_init()
64 for (i = 0; i < asoc->streamoutcnt; i++) { in sctp_ss_default_init()
65 stcb->asoc.ss_functions.sctp_ss_add_to_stream(stcb, asoc, in sctp_ss_default_init()
66 &asoc->strmout[i], in sctp_ss_default_init()
73 sctp_ss_default_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_clear() argument
78 while (!TAILQ_EMPTY(&asoc->ss_data.out.wheel)) { in sctp_ss_default_clear()
81 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_default_clear()
[all …]
H A Dsctp_indata.c65 struct sctp_association *asoc,
69 sctp_set_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_set_rwnd() argument
71 asoc->my_rwnd = sctp_calc_rwnd(stcb, asoc); in sctp_set_rwnd()
76 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_calc_rwnd() argument
90 KASSERT(asoc->cnt_on_reasm_queue > 0 || asoc->size_on_reasm_queue == 0, in sctp_calc_rwnd()
91 ("size_on_reasm_queue is %u", asoc->size_on_reasm_queue)); in sctp_calc_rwnd()
92 KASSERT(asoc->cnt_on_all_streams > 0 || asoc->size_on_all_streams == 0, in sctp_calc_rwnd()
93 ("size_on_all_streams is %u", asoc->size_on_all_streams)); in sctp_calc_rwnd()
94 if (stcb->asoc.sb_cc == 0 && in sctp_calc_rwnd()
95 asoc->cnt_on_reasm_queue == 0 && in sctp_calc_rwnd()
[all …]
H A Dsctp_timer.c55 sctp_audit_retranmission_queue(struct sctp_association *asoc) in sctp_audit_retranmission_queue() argument
60 asoc->sent_queue_retran_cnt, in sctp_audit_retranmission_queue()
61 asoc->sent_queue_cnt); in sctp_audit_retranmission_queue()
62 asoc->sent_queue_retran_cnt = 0; in sctp_audit_retranmission_queue()
63 asoc->sent_queue_cnt = 0; in sctp_audit_retranmission_queue()
64 TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) { in sctp_audit_retranmission_queue()
66 sctp_ucount_incr(asoc->sent_queue_retran_cnt); in sctp_audit_retranmission_queue()
68 asoc->sent_queue_cnt++; in sctp_audit_retranmission_queue()
70 TAILQ_FOREACH(chk, &asoc->control_send_queue, sctp_next) { in sctp_audit_retranmission_queue()
72 sctp_ucount_incr(asoc->sent_queue_retran_cnt); in sctp_audit_retranmission_queue()
[all …]
H A Dsctp_var.h51 stcb->asoc.sctp_features |= feature; \
58 stcb->asoc.sctp_features &= ~feature; \
65 ((stcb->asoc.sctp_features & feature) == feature)) || \
70 ((stcb->asoc.sctp_features & feature) == 0)) || \
83 #define sctp_sbspace(asoc, sb) ((long) ((sctp_maxspace(sb) > (asoc)->sb_cc) ? (sctp_maxspace(sb) - … argument
148 if (((_stcb)->asoc.free_chunk_cnt > SCTP_BASE_SYSCTL(sctp_asoc_free_resc_limit)) || \
153 TAILQ_INSERT_TAIL(&(_stcb)->asoc.free_chunks, (_chk), sctp_next); \
154 (_stcb)->asoc.free_chunk_cnt++; \
164 if (TAILQ_EMPTY(&(_stcb)->asoc.free_chunks)) { \
172 (_chk) = TAILQ_FIRST(&(_stcb)->asoc.free_chunks); \
[all …]
H A Dsctp_input.c66 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_stop_all_cookie_timers()
177 struct sctp_association *asoc; in sctp_is_there_unsent_data() local
186 asoc = &stcb->asoc; in sctp_is_there_unsent_data()
188 if (!stcb->asoc.ss_functions.sctp_ss_is_empty(stcb, asoc)) { in sctp_is_there_unsent_data()
190 for (i = 0; i < stcb->asoc.streamoutcnt; i++) { in sctp_is_there_unsent_data()
192 sp = TAILQ_FIRST(&stcb->asoc.strmout[i].outqueue); in sctp_is_there_unsent_data()
212 atomic_subtract_int(&stcb->asoc.stream_queue_cnt, 1); in sctp_is_there_unsent_data()
213 TAILQ_REMOVE(&stcb->asoc.strmout[i].outqueue, sp, next); in sctp_is_there_unsent_data()
214 stcb->asoc.ss_functions.sctp_ss_remove_from_stream(stcb, asoc, &asoc->strmout[i], sp); in sctp_is_there_unsent_data()
224 if (!TAILQ_EMPTY(&stcb->asoc.strmout[i].outqueue)) { in sctp_is_there_unsent_data()
[all …]
H A Dsctp_output.c2412 LIST_FOREACH(laddr, &stcb->asoc.sctp_restricted_addrs, sctp_nxt_addr) { in sctp_is_addr_restricted()
2687 starting_point = stcb->asoc.last_used_address; in sctp_choose_boundspecific_stcb()
2689 if (stcb->asoc.last_used_address == NULL) { in sctp_choose_boundspecific_stcb()
2691 stcb->asoc.last_used_address = LIST_FIRST(&inp->sctp_addr_list); in sctp_choose_boundspecific_stcb()
2694 for (laddr = stcb->asoc.last_used_address; laddr; in sctp_choose_boundspecific_stcb()
2715 stcb->asoc.last_used_address = laddr; in sctp_choose_boundspecific_stcb()
2720 stcb->asoc.last_used_address = NULL; in sctp_choose_boundspecific_stcb()
2724 stcb->asoc.last_used_address = starting_point; in sctp_choose_boundspecific_stcb()
2727 if (stcb->asoc.last_used_address == NULL) { in sctp_choose_boundspecific_stcb()
2729 stcb->asoc.last_used_address = LIST_FIRST(&inp->sctp_addr_list); in sctp_choose_boundspecific_stcb()
[all …]
H A Dsctputil.c78 sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; in sctp_sblog()
102 sctp_clog.x.close.state = (uint16_t)stcb->asoc.state; in sctp_log_closing()
166 sctp_clog.x.nagle.total_flight = stcb->asoc.total_flight; in sctp_log_nagle_event()
167 sctp_clog.x.nagle.total_in_queue = stcb->asoc.total_output_queue_size; in sctp_log_nagle_event()
168 sctp_clog.x.nagle.count_in_queue = stcb->asoc.chunks_on_out_queue; in sctp_log_nagle_event()
169 sctp_clog.x.nagle.count_in_flight = stcb->asoc.total_flight_count; in sctp_log_nagle_event()
318 if (stcb->asoc.send_queue_cnt > 255) in sctp_log_cwnd()
321 sctp_clog.x.cwnd.cnt_in_send = stcb->asoc.send_queue_cnt; in sctp_log_cwnd()
322 if (stcb->asoc.stream_queue_cnt > 255) in sctp_log_cwnd()
325 sctp_clog.x.cwnd.cnt_in_str = stcb->asoc.stream_queue_cnt; in sctp_log_cwnd()
[all …]
H A Dsctp_pcb.c709 loopback_scope = stcb->asoc.scope.loopback_scope; in sctp_does_stcb_own_this_addr()
711 ipv4_local_scope = stcb->asoc.scope.ipv4_local_scope; in sctp_does_stcb_own_this_addr()
712 ipv4_addr_legal = stcb->asoc.scope.ipv4_addr_legal; in sctp_does_stcb_own_this_addr()
715 local_scope = stcb->asoc.scope.local_scope; in sctp_does_stcb_own_this_addr()
716 site_scope = stcb->asoc.scope.site_scope; in sctp_does_stcb_own_this_addr()
717 ipv6_addr_legal = stcb->asoc.scope.ipv6_addr_legal; in sctp_does_stcb_own_this_addr()
721 vrf = sctp_find_vrf(stcb->asoc.vrf_id); in sctp_does_stcb_own_this_addr()
1043 if (stcb->asoc.state & SCTP_STATE_ABOUT_TO_BE_FREED) { in sctp_tcb_special_locate()
1054 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_tcb_special_locate()
1158 atomic_add_int(&locked_tcb->asoc.refcnt, 1); in sctp_findassociation_ep_addr()
[all …]
H A Dsctp_cc_functions.c79 assoc = &stcb->asoc; in sctp_set_initial_cc_param()
93 if ((stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV1) || in sctp_set_initial_cc_param()
94 (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV2)) { in sctp_set_initial_cc_param()
104 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_set_initial_cc_param()
114 struct sctp_association *asoc) in sctp_cwnd_update_after_fr() argument
124 if ((asoc->sctp_cmt_on_off == SCTP_CMT_RPV1) || in sctp_cwnd_update_after_fr()
125 (asoc->sctp_cmt_on_off == SCTP_CMT_RPV2)) { in sctp_cwnd_update_after_fr()
126 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_cwnd_update_after_fr()
142 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_cwnd_update_after_fr()
143 if ((asoc->fast_retran_loss_recovery == 0) || in sctp_cwnd_update_after_fr()
[all …]
H A Dsctp_usrreq.c108 struct sctp_association *asoc; in sctp_pathmtu_adjustment() local
112 asoc = &stcb->asoc; in sctp_pathmtu_adjustment()
113 KASSERT(mtu < asoc->smallest_mtu, in sctp_pathmtu_adjustment()
115 asoc->smallest_mtu, mtu)); in sctp_pathmtu_adjustment()
116 asoc->smallest_mtu = mtu; in sctp_pathmtu_adjustment()
122 if (asoc->idata_supported) { in sctp_pathmtu_adjustment()
123 if (sctp_auth_is_required_chunk(SCTP_IDATA, asoc->peer_auth_chunks)) { in sctp_pathmtu_adjustment()
124 overhead += sctp_get_auth_chunk_len(asoc->peer_hmac_id); in sctp_pathmtu_adjustment()
127 if (sctp_auth_is_required_chunk(SCTP_DATA, asoc->peer_auth_chunks)) { in sctp_pathmtu_adjustment()
128 overhead += sctp_get_auth_chunk_len(asoc->peer_hmac_id); in sctp_pathmtu_adjustment()
[all …]
H A Dsctp_auth.c549 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_acquire()
566 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_release()
1147 if (keyid == stcb->asoc.authinfo.assoc_keyid) { in sctp_clear_cachedkeys()
1148 sctp_free_key(stcb->asoc.authinfo.assoc_key); in sctp_clear_cachedkeys()
1149 stcb->asoc.authinfo.assoc_key = NULL; in sctp_clear_cachedkeys()
1151 if (keyid == stcb->asoc.authinfo.recv_keyid) { in sctp_clear_cachedkeys()
1152 sctp_free_key(stcb->asoc.authinfo.recv_key); in sctp_clear_cachedkeys()
1153 stcb->asoc.authinfo.recv_key = NULL; in sctp_clear_cachedkeys()
1191 if (keyid == stcb->asoc.authinfo.active_keyid) in sctp_delete_sharedkey()
1195 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, keyid); in sctp_delete_sharedkey()
[all …]
H A Dsctp_asconf.c54 * An ASCONF parameter queue exists per asoc which holds the pending address
252 } else if (sctp_add_remote_addr(stcb, sa, &net, stcb->asoc.port, in sctp_process_asconf_add_ip()
292 TAILQ_FOREACH_SAFE(net, &stcb->asoc.nets, sctp_next, nnet) { in sctp_asconf_del_remote_addrs_except()
426 * note if result == -2, the address doesn't exist in the asoc but in sctp_process_asconf_delete_ip()
431 /* only one address in the asoc */ in sctp_process_asconf_delete_ip()
540 if ((stcb->asoc.primary_destination->dest_state & SCTP_ADDR_REACHABLE) && in sctp_process_asconf_set_primary()
541 ((stcb->asoc.primary_destination->dest_state & SCTP_ADDR_PF) == 0) && in sctp_process_asconf_set_primary()
542 (stcb->asoc.alternate != NULL)) { in sctp_process_asconf_set_primary()
543 sctp_free_remote_addr(stcb->asoc.alternate); in sctp_process_asconf_set_primary()
544 stcb->asoc.alternate = NULL; in sctp_process_asconf_set_primary()
[all …]
H A Dsctp_sysctl.c206 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()
[all …]
H A Dsctputil.h60 #define sctp_get_associd(stcb) ((sctp_assoc_t)stcb->asoc.assoc_id)
237 #define sctp_free_spbufspace(stcb, asoc, sp) \ argument
240 if ((asoc)->total_output_queue_size >= sp->length) { \
241 atomic_subtract_int(&(asoc)->total_output_queue_size, sp->length); \
243 (asoc)->total_output_queue_size = 0; \
254 atomic_add_int(&stcb->asoc.total_output_queue_size,sz); \
314 void sctp_print_mapping_array(struct sctp_association *asoc);
H A Dsctp_structs.h444 struct sctp_association *asoc; /* bp to asoc this belongs to */ member
703 struct sctp_association *asoc,
707 struct sctp_association *asoc);
734 void (*sctp_ss_init) (struct sctp_tcb *stcb, struct sctp_association *asoc);
735 void (*sctp_ss_clear) (struct sctp_tcb *stcb, struct sctp_association *asoc,
738 void (*sctp_ss_add_to_stream) (struct sctp_tcb *stcb, struct sctp_association *asoc,
740 bool (*sctp_ss_is_empty) (struct sctp_tcb *stcb, struct sctp_association *asoc);
741 void (*sctp_ss_remove_from_stream) (struct sctp_tcb *stcb, struct sctp_association *asoc,
744 struct sctp_nets *net, struct sctp_association *asoc);
746 struct sctp_association *asoc, struct sctp_stream_out *strq, int moved_how_much);
[all …]
/freebsd/cddl/lib/libdtrace/
H A Dsctp.d127 sctps_num_raddrs = p == NULL ? -1 : p->asoc.numnets;
128 sctps_raddrs = p == NULL ? NULL : (uintptr_t)(p->asoc.nets.tqh_first);
140 p->asoc.primary_destination == NULL ? "<unknown>" :
141 p->asoc.primary_destination->ro._s_addr == NULL ? "<unknown>" :
142 p->asoc.primary_destination->ro._s_addr->address.sa.sa_family == AF_INET ?
143 inet_ntoa(&p->asoc.primary_destination->ro._s_addr->address.sin.sin_addr.s_addr) :
144 p->asoc.primary_destination->ro._s_addr->address.sa.sa_family == AF_INET6 ?
145 inet_ntoa6(&p->asoc.primary_destination->ro._s_addr->address.sin6.sin6_addr) :
148 p->asoc.primary_destination == NULL ? "<unknown>" :
149 p->asoc.primary_destination->ro._l_addr.sa.sa_family == AF_INET ?
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Datmel-wm8904.txt1 Atmel ASoC driver with wm8904 audio codec complex
4 - compatible: "atmel,asoc-wm8904"
39 compatible = "atmel,asoc-wm8904";
H A Deukrea-tlv320.txt5 - compatible : "eukrea,asoc-tlv320"
21 compatible = "eukrea,asoc-tlv320";
H A Dfsl-asoc-card.txt1 Freescale Generic ASoC Sound Card with ASRC support
3 The Freescale Generic ASoC Sound Card can be used, ideally, for all Freescale
6 The idea of this generic sound card is a bit like ASoC Simple Card. However,
H A Dmt8195-mt6359-rt1011-rt5682.yaml7 title: Mediatek MT8195 with MT6359, RT1011 and RT5682 ASoC sound card driver
25 description: The phandle of MT8195 ASoC platform.
H A Dloongson,ls-audio-card.yaml7 title: Loongson 7axxx/2kxxx ASoC audio sound card driver
14 7axxx/2kxxx platform. The sound card is an ASoC component
H A Dmt8192-mt6359-rt1015-rt5682.yaml7 title: Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver
25 description: The phandle of MT8192 ASoC platform.
H A Dmt8195-mt6359-rt1019-rt5682.yaml7 title: Mediatek MT8195 with MT6359, RT1019 and RT5682 ASoC sound card driver
25 description: The phandle of MT8195 ASoC platform.
H A Dmt8195-mt6359.yaml7 title: MediaTek MT8195 ASoC sound card driver
28 description: The phandle of MT8195 ASoC platform.
H A Dmt8186-mt6366-da7219-max98357.yaml7 title: Mediatek MT8186 with MT6366, DA7219 and MAX98357 ASoC sound card driver
22 description: The phandle of MT8186 ASoC platform.

123