/freebsd-10.0-release/sys/netinet/ |
H A D | sctp_timer.c | 56 sctp_audit_retranmission_queue(struct sctp_association *asoc) argument 61 asoc->sent_queue_retran_cnt, 62 asoc->sent_queue_cnt); 63 asoc->sent_queue_retran_cnt = 0; 64 asoc->sent_queue_cnt = 0; 65 TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) { 67 sctp_ucount_incr(asoc->sent_queue_retran_cnt); 69 asoc->sent_queue_cnt++; 71 TAILQ_FOREACH(chk, &asoc->control_send_queue, sctp_next) { 73 sctp_ucount_incr(asoc 436 struct sctp_association *asoc; local 1525 struct sctp_association *asoc; local [all...] |
H A D | sctp_indata.c | 60 sctp_set_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 62 asoc->my_rwnd = sctp_calc_rwnd(stcb, asoc); 67 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 80 if (stcb->asoc.sb_cc == 0 && 81 asoc->size_on_reasm_queue == 0 && 82 asoc->size_on_all_streams == 0) { 88 calc = (uint32_t) sctp_sbspace(&stcb->asoc, &stcb->sctp_socket->so_rcv); 94 calc = sctp_sbspace_sub(calc, (uint32_t) (asoc->size_on_reasm_queue + 95 asoc 316 sctp_mark_non_revokable(struct sctp_association *asoc, uint32_t tsn) argument 368 sctp_service_reassembly(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 544 sctp_queue_data_to_stream(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_queued_to_read *control, int *abort_flag) argument 742 sctp_is_all_msg_on_reasm(struct sctp_association *asoc, uint32_t * t_size) argument 772 sctp_deliver_reasm_check(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 844 sctp_queue_data_for_reasm(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk *chk, int *abort_flag) argument 1371 sctp_does_tsn_belong_to_reasm(struct sctp_association *asoc, uint32_t TSN_seq) argument 1425 sctp_process_a_data_chunk(struct sctp_tcb *stcb, struct sctp_association *asoc, struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length, struct sctp_nets *net, uint32_t * high_tsn, int *abort_flag, int *break_flag, int last_chunk) argument 2212 struct sctp_association *asoc; local 2369 struct sctp_association *asoc; local 2457 sctp_service_queues(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 2526 struct sctp_association *asoc; local 3033 sctp_handle_segments(struct mbuf *m, int *offset, struct sctp_tcb *stcb, struct sctp_association *asoc, uint32_t last_tsn, uint32_t * biggest_tsn_acked, uint32_t * biggest_newly_acked_tsn, uint32_t * this_sack_lowest_newack, int num_seg, int num_nr_seg, int *rto_ok) argument 3097 sctp_check_for_revoked(struct sctp_tcb *stcb, struct sctp_association *asoc, uint32_t cumack, uint32_t biggest_tsn_acked) argument 3156 sctp_strike_gap_ack_chunks(struct sctp_tcb *stcb, struct sctp_association *asoc, uint32_t biggest_tsn_acked, uint32_t biggest_tsn_newly_acked, uint32_t this_sack_lowest_newack, int accum_moved) argument 3599 sctp_try_advance_peer_ack_point(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 3688 sctp_fs_audit(struct sctp_association *asoc) argument 3736 sctp_window_probe_recovery(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk *tp1) argument 3775 struct sctp_association *asoc; local 4329 struct sctp_association *asoc; local 5214 struct sctp_association *asoc; local 5271 sctp_flush_reassm_for_str_seq(struct sctp_tcb *stcb, struct sctp_association *asoc, uint16_t stream, uint16_t seq) argument 5360 struct sctp_association *asoc; local [all...] |
H A D | sctp_var.h | 53 stcb->asoc.sctp_features |= feature; \ 60 stcb->asoc.sctp_features &= ~feature; \ 67 ((stcb->asoc.sctp_features & feature) == feature)) || \ 72 ((stcb->asoc.sctp_features & feature) == 0)) || \ 85 #define sctp_sbspace(asoc, sb) ((long) ((sctp_maxspace(sb) > (asoc)->sb_cc) ? (sctp_maxspace(sb) - (asoc)->sb_cc) : 0)) 142 if (((_stcb)->asoc.free_chunk_cnt > SCTP_BASE_SYSCTL(sctp_asoc_free_resc_limit)) || \ 147 TAILQ_INSERT_TAIL(&(_stcb)->asoc.free_chunks, (_chk), sctp_next); \ 148 (_stcb)->asoc [all...] |
H A D | sctp_input.c | 66 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { 189 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_ACK_SENT)) { 221 struct sctp_association *asoc; local 229 asoc = &stcb->asoc; 231 if (!stcb->asoc.ss_functions.sctp_ss_is_empty(stcb, asoc)) { 233 for (i = 0; i < stcb->asoc.streamoutcnt; i++) { 235 sp = TAILQ_FIRST(&stcb->asoc.strmout[i].outqueue); 255 atomic_subtract_int(&stcb->asoc 280 struct sctp_association *asoc; local 434 struct sctp_association *asoc; local 867 struct sctp_association *asoc; local 974 struct sctp_association *asoc; local 1140 struct sctp_association *asoc; local 1456 struct sctp_association *asoc; local 2045 struct sctp_association *asoc; local 2910 struct sctp_association *asoc; local 3185 struct sctp_association *asoc; local 3531 struct sctp_association *asoc; local 3576 struct sctp_association *asoc; local 3606 struct sctp_association *asoc = &stcb->asoc; local 3754 struct sctp_association *asoc = &stcb->asoc; local 3806 struct sctp_association *asoc = &stcb->asoc; local 3866 struct sctp_association *asoc = &stcb->asoc; local 3945 struct sctp_association *asoc = &stcb->asoc; local 4030 struct sctp_association *asoc = &stcb->asoc; local 4424 struct sctp_association *asoc; local [all...] |
H A D | sctp_ss_functions.c | 50 sctp_ss_default_init(struct sctp_tcb *stcb, struct sctp_association *asoc, argument 55 TAILQ_INIT(&asoc->ss_data.out_wheel); 61 for (i = 0; i < stcb->asoc.streamoutcnt; i++) { 62 stcb->asoc.ss_functions.sctp_ss_add_to_stream(stcb, &stcb->asoc, 63 &stcb->asoc.strmout[i], 70 sctp_ss_default_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, argument 76 while (!TAILQ_EMPTY(&asoc->ss_data.out_wheel)) { 77 struct sctp_stream_out *strq = TAILQ_FIRST(&asoc->ss_data.out_wheel); 79 TAILQ_REMOVE(&asoc 99 sctp_ss_default_add(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED, int holds_lock) argument 120 sctp_ss_default_is_empty(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc) argument 130 sctp_ss_default_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED, int holds_lock) argument 168 sctp_ss_default_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc) argument 248 sctp_ss_rr_add(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED, int holds_lock) argument 286 sctp_ss_rrp_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net SCTP_UNUSED, struct sctp_association *asoc) argument 293 sctp_ss_rrp_packet_done(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc) argument 342 sctp_ss_prio_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, int clear_values, int holds_lock) argument 380 sctp_ss_prio_add(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED, int holds_lock) argument 414 sctp_ss_prio_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED, int holds_lock) argument 450 sctp_ss_prio_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc) argument 507 sctp_ss_prio_set_value(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, uint16_t value) argument 524 sctp_ss_fb_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, int clear_values, int holds_lock) argument 561 sctp_ss_fb_add(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED, int holds_lock) argument 582 sctp_ss_fb_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp SCTP_UNUSED, int holds_lock) argument 618 sctp_ss_fb_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc) argument 651 sctp_ss_fb_scheduled(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net SCTP_UNUSED, struct sctp_association *asoc, struct sctp_stream_out *strq, int moved_how_much SCTP_UNUSED) argument 683 sctp_ss_fcfs_init(struct sctp_tcb *stcb, struct sctp_association *asoc, int holds_lock) argument 717 sctp_ss_fcfs_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, int clear_values, int holds_lock) argument 742 sctp_ss_fcfs_add(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq SCTP_UNUSED, struct sctp_stream_queue_pending *sp, int holds_lock) argument 760 sctp_ss_fcfs_is_empty(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc) argument 770 sctp_ss_fcfs_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq SCTP_UNUSED, struct sctp_stream_queue_pending *sp, int holds_lock) argument 790 sctp_ss_fcfs_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, struct sctp_association *asoc) argument [all...] |
H A D | sctp_pcb.c | 844 loopback_scope = stcb->asoc.scope.loopback_scope; 846 ipv4_local_scope = stcb->asoc.scope.ipv4_local_scope; 847 ipv4_addr_legal = stcb->asoc.scope.ipv4_addr_legal; 850 local_scope = stcb->asoc.scope.local_scope; 851 site_scope = stcb->asoc.scope.site_scope; 852 ipv6_addr_legal = stcb->asoc.scope.ipv6_addr_legal; 856 vrf = sctp_find_vrf(stcb->asoc.vrf_id); 1138 if (stcb->asoc.state & SCTP_STATE_ABOUT_TO_BE_FREED) { 1149 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { 1255 atomic_add_int(&locked_tcb->asoc 3235 struct sctp_tcb *asoc, *nasoc; local 3656 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), asoc); local 4137 struct sctp_association *asoc; local 4373 struct sctp_association *asoc; local 4439 struct sctp_association *asoc; local 4603 struct sctp_association *asoc; local 6749 struct sctp_association *asoc; local [all...] |
H A D | sctp_output.c | 2387 LIST_FOREACH(laddr, &stcb->asoc.sctp_restricted_addrs, sctp_nxt_addr) { 2623 starting_point = stcb->asoc.last_used_address; 2625 if (stcb->asoc.last_used_address == NULL) { 2627 stcb->asoc.last_used_address = LIST_FIRST(&inp->sctp_addr_list); 2630 for (laddr = stcb->asoc.last_used_address; laddr; 2651 stcb->asoc.last_used_address = laddr; 2656 stcb->asoc.last_used_address = NULL; 2660 stcb->asoc.last_used_address = starting_point; 2663 if (stcb->asoc.last_used_address == NULL) { 2665 stcb->asoc 5176 sctp_are_there_new_addresses(struct sctp_association *asoc, struct mbuf *in_initpkt, int offset, struct sockaddr *src) argument 5348 struct sctp_association *asoc; local 5961 sctp_prune_prsctp(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_sndrcvinfo *srcv, int dataout) argument 6042 sctp_get_frag_point(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 6417 struct sctp_association *asoc; local 6734 sctp_toss_old_cookies(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 6754 struct sctp_association *asoc; local 6782 sctp_clean_up_datalist(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk **data_list, int bundle_at, struct sctp_nets *net) argument 6874 sctp_clean_up_ctl(struct sctp_tcb *stcb, struct sctp_association *asoc, int so_locked SCTP_UNUSED ) argument 6993 struct sctp_association *asoc; local 7495 struct sctp_association *asoc; local 7576 sctp_fix_ecn_echo(struct sctp_association *asoc) argument 7590 struct sctp_association *asoc; local 7616 sctp_med_chunk_output(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_association *asoc, int *num_out, int *reason_code, int control_only, int from_where, struct timeval *now, int *now_filled, int frag_point, int so_locked SCTP_UNUSED ) argument 9240 sctp_chunk_retransmission(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_association *asoc, int *cnt_out, struct timeval *now, int *now_filled, int *fr_done, int so_locked SCTP_UNUSED ) argument 9752 sctp_timer_validation(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_association *asoc) argument 9799 struct sctp_association *asoc; local 10079 send_forward_tsn(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 10270 struct sctp_association *asoc; local 11184 struct sctp_association *asoc; local 11248 struct sctp_association *asoc; local 11395 struct sctp_association *asoc; local 11702 struct sctp_association *asoc; local 11936 sctp_copy_it_in(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_sndrcvinfo *srcv, struct uio *uio, struct sctp_nets *net, int max_send_len, int user_marks_eor, int *error) argument 12101 struct sctp_association *asoc; local [all...] |
H A D | sctputil.c | 72 sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; 94 sctp_clog.x.close.state = (uint16_t) stcb->asoc.state; 152 sctp_clog.x.nagle.total_flight = stcb->asoc.total_flight; 153 sctp_clog.x.nagle.total_in_queue = stcb->asoc.total_output_queue_size; 154 sctp_clog.x.nagle.count_in_queue = stcb->asoc.chunks_on_out_queue; 155 sctp_clog.x.nagle.count_in_flight = stcb->asoc.total_flight_count; 280 if (stcb->asoc.send_queue_cnt > 255) 283 sctp_clog.x.cwnd.cnt_in_send = stcb->asoc.send_queue_cnt; 284 if (stcb->asoc.stream_queue_cnt > 255) 287 sctp_clog.x.cwnd.cnt_in_str = stcb->asoc 490 sctp_log_block(uint8_t from, struct sctp_association *asoc, int sendlen) argument 722 struct sctp_association *asoc; local 884 struct sctp_association *asoc; local 1118 sctp_print_mapping_array(struct sctp_association *asoc) argument 1153 sctp_expand_mapping_array(struct sctp_association *asoc, uint32_t needed) argument 2307 sctp_mtu_size_reset(struct sctp_inpcb *inp, struct sctp_association *asoc, uint32_t mtu) argument 2344 sctp_calculate_rto(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_nets *net, struct timeval *told, int safe, int rtt_from_sack) argument 3706 struct sctp_association *asoc; local 4651 sctp_free_bufspace(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk *tp1, int chk_cnt) argument [all...] |
H A D | sctp_asconf.c | 56 * An ASCONF parameter queue exists per asoc which holds the pending address 283 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { 414 * note if result == -2, the address doesn't exist in the asoc but 419 /* only one address in the asoc */ 527 if ((stcb->asoc.primary_destination->dest_state & SCTP_ADDR_REACHABLE) && 528 (!(stcb->asoc.primary_destination->dest_state & SCTP_ADDR_PF)) && 529 (stcb->asoc.alternate)) { 530 sctp_free_remote_addr(stcb->asoc.alternate); 531 stcb->asoc.alternate = NULL; 555 (stcb->asoc 595 struct sctp_association *asoc; local 1661 struct sctp_association *asoc; local [all...] |
H A D | sctp_auth.c | 569 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); 590 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); 1206 if (keyid == stcb->asoc.authinfo.assoc_keyid) { 1207 sctp_free_key(stcb->asoc.authinfo.assoc_key); 1208 stcb->asoc.authinfo.assoc_key = NULL; 1210 if (keyid == stcb->asoc.authinfo.recv_keyid) { 1211 sctp_free_key(stcb->asoc.authinfo.recv_key); 1212 stcb->asoc.authinfo.recv_key = NULL; 1250 if (keyid == stcb->asoc.authinfo.active_keyid) 1254 skey = sctp_find_sharedkey(&stcb->asoc [all...] |
H A D | sctp_usrreq.c | 106 stcb->asoc.smallest_mtu = nxtsz; 109 if (sctp_auth_is_required_chunk(SCTP_DATA, stcb->asoc.peer_auth_chunks)) { 110 overhead += sctp_get_auth_chunk_len(stcb->asoc.peer_hmac_id); 112 TAILQ_FOREACH(chk, &stcb->asoc.send_queue, sctp_next) { 117 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { 129 sctp_ucount_incr(stcb->asoc.sent_queue_retran_cnt); 167 if (ntohl(sh->v_tag) != (stcb->asoc.peer_vtag)) { 208 if (stcb->asoc.smallest_mtu > nxtsz) { 241 if (ntohl(sh->v_tag) != (stcb->asoc.peer_vtag)) { 288 atomic_add_int(&stcb->asoc 735 struct sctp_association *asoc; local 978 struct sctp_association *asoc; local [all...] |
H A D | sctp_cc_functions.c | 61 assoc = &stcb->asoc; 75 if ((stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV1) || 76 (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV2)) { 85 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, 95 struct sctp_association *asoc) 105 if ((asoc->sctp_cmt_on_off == SCTP_CMT_RPV1) || 106 (asoc->sctp_cmt_on_off == SCTP_CMT_RPV2)) { 107 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { 122 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { 123 if ((asoc 94 sctp_cwnd_update_after_fr(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 662 sctp_cwnd_update_after_sack_common(struct sctp_tcb *stcb, struct sctp_association *asoc, int accum_moved, int reneged_all SCTP_UNUSED, int will_exit, int use_rtcc) argument 1269 sctp_cwnd_update_after_sack(struct sctp_tcb *stcb, struct sctp_association *asoc, int accum_moved, int reneged_all, int will_exit) argument 1489 sctp_cwnd_update_rtcc_after_sack(struct sctp_tcb *stcb, struct sctp_association *asoc, int accum_moved, int reneged_all, int will_exit) argument 1669 sctp_hs_cwnd_update_after_fr(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 1734 sctp_hs_cwnd_update_after_sack(struct sctp_tcb *stcb, struct sctp_association *asoc, int accum_moved, int reneged_all SCTP_UNUSED, int will_exit) argument 2123 sctp_htcp_cwnd_update_after_sack(struct sctp_tcb *stcb, struct sctp_association *asoc, int accum_moved, int reneged_all SCTP_UNUSED, int will_exit) argument 2191 sctp_htcp_cwnd_update_after_fr(struct sctp_tcb *stcb, struct sctp_association *asoc) argument [all...] |
H A D | sctputil.h | 64 #define sctp_get_associd(stcb) ((sctp_assoc_t)stcb->asoc.assoc_id) 274 #define sctp_free_bufspace(stcb, asoc, tp1, chk_cnt) \ 277 atomic_subtract_int(&((asoc)->chunks_on_out_queue), chk_cnt); \ 278 if ((asoc)->total_output_queue_size >= tp1->book_size) { \ 279 atomic_subtract_int(&((asoc)->total_output_queue_size), tp1->book_size); \ 281 (asoc)->total_output_queue_size = 0; \ 296 #define sctp_free_spbufspace(stcb, asoc, sp) \ 299 if ((asoc)->total_output_queue_size >= sp->length) { \ 300 atomic_subtract_int(&(asoc)->total_output_queue_size, sp->length); \ 302 (asoc) [all...] |
H A D | sctp_peeloff.c | 75 state = SCTP_GET_STATE((&stcb->asoc)); 104 state = SCTP_GET_STATE((&stcb->asoc)); 142 atomic_add_int(&stcb->asoc.refcnt, 1); 146 atomic_subtract_int(&stcb->asoc.refcnt, 1);
|
H A D | sctp_sysctl.c | 201 loopback_scope = stcb->asoc.scope.loopback_scope; 202 ipv4_local_scope = stcb->asoc.scope.ipv4_local_scope; 203 local_scope = stcb->asoc.scope.local_scope; 204 site_scope = stcb->asoc.scope.site_scope; 205 ipv4_addr_legal = stcb->asoc.scope.ipv4_addr_legal; 206 ipv6_addr_legal = stcb->asoc.scope.ipv6_addr_legal; 375 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { 436 atomic_add_int(&stcb->asoc.refcnt, 1); 441 if (stcb->asoc.primary_destination != NULL) 442 xstcb.primary_addr = stcb->asoc [all...] |
H A D | sctp_constants.h | 494 #define SCTP_GET_STATE(asoc) ((asoc)->state & SCTP_STATE_MASK) 495 #define SCTP_SET_STATE(asoc, newstate) ((asoc)->state = ((asoc)->state & ~SCTP_STATE_MASK) | newstate) 496 #define SCTP_CLEAR_SUBSTATE(asoc, substate) ((asoc)->state &= ~substate) 497 #define SCTP_ADD_SUBSTATE(asoc, substate) ((asoc)->state |= substate)
|
H A D | sctp_structs.h | 431 struct sctp_association *asoc; /* bp to asoc this belongs to */ member in struct:sctp_tmit_chunk 665 struct sctp_association *asoc, 669 struct sctp_association *asoc); 696 void (*sctp_ss_init) (struct sctp_tcb *stcb, struct sctp_association *asoc, 698 void (*sctp_ss_clear) (struct sctp_tcb *stcb, struct sctp_association *asoc, 701 void (*sctp_ss_add_to_stream) (struct sctp_tcb *stcb, struct sctp_association *asoc, 703 int (*sctp_ss_is_empty) (struct sctp_tcb *stcb, struct sctp_association *asoc); 704 void (*sctp_ss_remove_from_stream) (struct sctp_tcb *stcb, struct sctp_association *asoc, 707 struct sctp_nets *net, struct sctp_association *asoc); [all...] |
H A D | sctp_indata.h | 87 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc);
|
H A D | sctp_output.h | 107 struct sctp_association *asoc,
|
H A D | sctp_pcb.h | 452 struct sctp_association asoc; member in struct:sctp_tcb
|
/freebsd-10.0-release/sys/netinet6/ |
H A D | sctp6_usrreq.c | 214 if (ntohl(sh->v_tag) != (stcb->asoc.peer_vtag)) 239 if (stcb->asoc.smallest_mtu > nxtsz) { 243 stcb->asoc.smallest_mtu = nxtsz; 246 TAILQ_FOREACH(chk, &stcb->asoc.send_queue, sctp_next) { 251 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { 259 stcb->asoc.sent_queue_retran_cnt++; 267 stcb->asoc.total_flight -= chk->send_size; 301 if (ntohl(sh->v_tag) != (stcb->asoc.peer_vtag)) { 345 atomic_add_int(&stcb->asoc.refcnt, 1); 349 atomic_subtract_int(&stcb->asoc [all...] |
/freebsd-10.0-release/lib/libc/net/ |
H A D | sctp_sys_calls.c | 361 sctp_assoc_t asoc; local 370 asoc = id; 373 &asoc, &opt_len) != 0) { 376 /* size required is returned in 'asoc' */ 377 opt_len = (socklen_t) ((size_t)asoc + sizeof(struct sctp_getaddresses));
|