/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_timer.c | 99 sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb, argument 114 stcb, 0, 122 sctp_send_hb(stcb, net, SCTP_SO_NOT_LOCKED); 123 sctp_timer_stop(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, net, SCTP_FROM_SCTP_TIMER + SCTP_LOC_3); 124 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, stcb, net); 128 if (stcb == NULL) 135 stcb->asoc.overall_error_count, 136 (stcb 178 sctp_find_alternate_net(struct sctp_tcb *stcb, struct sctp_nets *net, int mode) argument 398 sctp_backoff_on_timeout(struct sctp_tcb *stcb, struct sctp_nets *net, int win_probe, int num_marked, int num_abandoned) argument 419 sctp_recover_sent_list(struct sctp_tcb *stcb) argument 460 sctp_mark_all_for_resend(struct sctp_tcb *stcb, struct sctp_nets *net, struct sctp_nets *alt, int window_probe, int *num_marked, int *num_abandoned) argument 800 sctp_t3rxt_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 987 sctp_t1init_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1035 sctp_cookie_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED) argument 1099 sctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1160 sctp_asconf_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1252 sctp_delete_prim_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED) argument 1275 sctp_shutdown_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1298 sctp_shutdownack_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1321 sctp_audit_stream_queues_for_size(struct sctp_inpcb *inp, struct sctp_tcb *stcb) argument 1385 sctp_heartbeat_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1452 sctp_pathmtu_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1522 sctp_autoclose_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument [all...] |
H A D | sctp_input.c | 67 sctp_stop_all_cookie_timers(struct sctp_tcb *stcb) argument 76 SCTP_TCB_LOCK_ASSERT(stcb); 77 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { 80 stcb->sctp_ep, 81 stcb, 85 stcb->sctp_ep, 86 stcb, 97 struct sctp_tcb *stcb, int *abort_no_unlock, 107 (void *)stcb); 108 if (stcb 94 sctp_handle_init(struct mbuf *m, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_init_chunk *cp, struct sctp_inpcb *inp, struct sctp_tcb *stcb, int *abort_no_unlock, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument 242 sctp_is_there_unsent_data(struct sctp_tcb *stcb, int so_locked SCTP_UNUSED ) argument 305 sctp_process_init(struct sctp_init_chunk *cp, struct sctp_tcb *stcb) argument 456 sctp_process_init_ack(struct mbuf *m, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_init_ack_chunk *cp, struct sctp_tcb *stcb, struct sctp_nets *net, int *abort_no_unlock, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id) argument 593 sctp_handle_heartbeat_ack(struct sctp_heartbeat_chunk *cp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 743 sctp_handle_nat_colliding_state(struct sctp_tcb *stcb) argument 783 sctp_handle_nat_missing_state(struct sctp_tcb *stcb, struct sctp_nets *net) argument 799 sctp_handle_abort(struct sctp_abort_chunk *abort, struct sctp_tcb *stcb, struct sctp_nets *net) argument 869 sctp_start_net_timers(struct sctp_tcb *stcb) argument 900 sctp_handle_shutdown(struct sctp_shutdown_chunk *cp, struct sctp_tcb *stcb, struct sctp_nets *net, int *abort_flag) argument 1001 sctp_handle_shutdown_ack(struct sctp_shutdown_ack_chunk *cp SCTP_UNUSED, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1098 sctp_process_unrecog_chunk(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr, struct sctp_nets *net) argument 1127 sctp_process_unrecog_param(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr) argument 1164 sctp_handle_error(struct sctp_chunkhdr *ch, struct sctp_tcb *stcb, struct sctp_nets *net) argument 1318 sctp_handle_init_ack(struct mbuf *m, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_init_ack_chunk *cp, struct sctp_tcb *stcb, struct sctp_nets *net, int *abort_no_unlock, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id) argument 1492 sctp_process_cookie_existing(struct mbuf *m, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_state_cookie *cookie, int cookie_len, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets **netp, struct sockaddr *init_src, int *notification, int auth_skipped, uint32_t auth_offset, uint32_t auth_len, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument 2068 struct sctp_tcb *stcb; local 2450 sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_cookie_echo_chunk *cp, struct sctp_inpcb **inp_p, struct sctp_tcb **stcb, struct sctp_nets **netp, int auth_skipped, uint32_t auth_offset, uint32_t auth_len, struct sctp_tcb **locked_tcb, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument 3016 sctp_handle_cookie_ack(struct sctp_cookie_ack_chunk *cp SCTP_UNUSED, struct sctp_tcb *stcb, struct sctp_nets *net) argument 3127 sctp_handle_ecn_echo(struct sctp_ecne_chunk *cp, struct sctp_tcb *stcb) argument 3246 sctp_handle_ecn_cwr(struct sctp_cwr_chunk *cp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 3288 sctp_handle_shutdown_complete(struct sctp_shutdown_complete_chunk *cp SCTP_UNUSED, struct sctp_tcb *stcb, struct sctp_nets *net) argument 3343 process_chunk_drop(struct sctp_tcb *stcb, struct sctp_chunk_desc *desc, struct sctp_nets *net, uint8_t flg) argument 3578 sctp_reset_in_stream(struct sctp_tcb *stcb, uint32_t number_entries, uint16_t *list) argument 3606 sctp_reset_out_streams(struct sctp_tcb *stcb, uint32_t number_entries, uint16_t *list) argument 3630 sctp_find_stream_reset(struct sctp_tcb *stcb, uint32_t seq, struct sctp_tmit_chunk **bchk) argument 3675 sctp_clean_up_stream_reset(struct sctp_tcb *stcb) argument 3701 sctp_handle_stream_reset_response(struct sctp_tcb *stcb, uint32_t seq, uint32_t action, struct sctp_stream_reset_response *respin) argument 3839 sctp_handle_str_reset_request_in(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_in_request *req, int trunc) argument 3893 sctp_handle_str_reset_request_tsn(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_tsn_request *req) argument 3958 sctp_handle_str_reset_request_out(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_out_request *req, int trunc) argument 4034 sctp_handle_str_reset_add_strm(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_add_strm *str_add) argument 4120 sctp_handle_str_reset_add_out_strm(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_add_strm *str_add) argument 4182 sctp_handle_stream_reset(struct sctp_tcb *stcb, struct mbuf *m, int offset, struct sctp_chunkhdr *ch_req) argument 4328 sctp_handle_packet_dropped(struct sctp_pktdrop_chunk *cp, struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t limit) argument 4492 sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_chunkhdr *ch, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets **netp, int *fwd_tsn_seen, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument 5741 struct sctp_tcb *stcb = NULL; local [all...] |
H A D | sctp_var.h | 55 #define sctp_stcb_feature_on(inp, stcb, feature) {\ 56 if (stcb) { \ 57 stcb->asoc.sctp_features |= feature; \ 62 #define sctp_stcb_feature_off(inp, stcb, feature) {\ 63 if (stcb) { \ 64 stcb->asoc.sctp_features &= ~feature; \ 69 #define sctp_stcb_is_feature_on(inp, stcb, feature) \ 70 (((stcb != NULL) && \ 71 ((stcb->asoc.sctp_features & feature) == feature)) || \ 72 ((stcb [all...] |
H A D | sctputil.c | 84 sctp_sblog(struct sockbuf *sb, struct sctp_tcb *stcb, int from, int incr) argument 89 sctp_clog.x.sb.stcb = stcb; 91 if (stcb) 92 sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; 107 sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc) argument 114 if (stcb) { 115 sctp_clog.x.close.stcb = (void *)stcb; 116 sctp_clog.x.close.state = (uint16_t)stcb 152 sctp_log_strm_del_alt(struct sctp_tcb *stcb, uint32_t tsn, uint16_t sseq, uint16_t stream, int from) argument 174 sctp_log_nagle_event(struct sctp_tcb *stcb, int action) argument 318 sctp_log_cwnd(struct sctp_tcb *stcb, struct sctp_nets *net, int augment, uint8_t from) argument 356 sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from) argument 409 sctp_log_maxburst(struct sctp_tcb *stcb, struct sctp_nets *net, int error, int burst, uint8_t from) argument 509 sctp_wakeup_log(struct sctp_tcb *stcb, uint32_t wake_cnt, int from) argument 640 sctp_auditing(int from, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 789 sctp_stop_timers_for_shutdown(struct sctp_tcb *stcb) argument 950 sctp_init_asoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint32_t override_tag, uint32_t vrf_id) argument 1521 struct sctp_tcb *stcb; local 1982 sctp_timer_start(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument 2280 sctp_timer_stop(int t_type, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t from) argument 2488 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 2710 sctp_notify_assoc_change(uint16_t state, struct sctp_tcb *stcb, uint16_t error, struct sctp_abort_chunk *abort, uint8_t from_peer, int so_locked SCTP_UNUSED ) argument 2860 sctp_notify_peer_addr_change(struct sctp_tcb *stcb, uint32_t state, struct sockaddr *sa, uint32_t error) argument 2953 sctp_notify_send_failed(struct sctp_tcb *stcb, uint8_t sent, uint32_t error, struct sctp_tmit_chunk *chk, int so_locked SCTP_UNUSED ) argument 3070 sctp_notify_send_failed2(struct sctp_tcb *stcb, uint32_t error, struct sctp_stream_queue_pending *sp, int so_locked SCTP_UNUSED ) argument 3173 sctp_notify_adaptation_layer(struct sctp_tcb *stcb) argument 3221 sctp_notify_partial_delivery_indication(struct sctp_tcb *stcb, uint32_t error, uint32_t val, int so_locked SCTP_UNUSED ) argument 3317 sctp_notify_shutdown_event(struct sctp_tcb *stcb) argument 3387 sctp_notify_sender_dry_event(struct sctp_tcb *stcb, int so_locked SCTP_UNUSED ) argument 3439 sctp_notify_stream_reset_add(struct sctp_tcb *stcb, uint16_t numberin, uint16_t numberout, int flag) argument 3495 sctp_notify_stream_reset_tsn(struct sctp_tcb *stcb, uint32_t sending_tsn, uint32_t recv_tsn, int flag) argument 3547 sctp_notify_stream_reset(struct sctp_tcb *stcb, int number_entries, uint16_t * list, int flag) argument 3612 sctp_notify_remote_error(struct sctp_tcb *stcb, uint16_t error, struct sctp_error_chunk *chunk) argument 3670 sctp_ulp_notify(uint32_t notification, struct sctp_tcb *stcb, uint32_t error, void *data, int so_locked SCTP_UNUSED ) argument 3876 sctp_report_all_outbound(struct sctp_tcb *stcb, uint16_t error, int holds_lock, int so_locked SCTP_UNUSED ) argument 3995 sctp_abort_notification(struct sctp_tcb *stcb, uint8_t from_peer, uint16_t error, struct sctp_abort_chunk *abort, int so_locked SCTP_UNUSED ) argument 4032 sctp_abort_association(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct mbuf *m, int iphlen, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct mbuf *op_err, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument 4083 sctp_print_out_track_log(struct sctp_tcb *stcb) argument 4144 sctp_abort_an_association(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct mbuf *op_err, int so_locked SCTP_UNUSED ) argument 4548 sctp_pull_off_control_to_new_inp(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp, struct sctp_tcb *stcb, int waitflags) argument 4644 sctp_add_to_readq(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_queued_to_read *control, struct sockbuf *sb, int end, int inp_read_lock_held, int so_locked SCTP_UNUSED ) argument 4845 sctp_append_to_readq(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_queued_to_read *control, struct mbuf *m, int end, int ctls_cumack, struct sockbuf *sb) argument 5132 sctp_free_bufspace(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk *tp1, int chk_cnt) argument 5166 sctp_release_pr_sctp_chunk(struct sctp_tcb *stcb, struct sctp_tmit_chunk *tp1, uint8_t sent, int so_locked SCTP_UNUSED ) argument 5595 sctp_user_rcvd(struct sctp_tcb *stcb, uint32_t *freed_so_far, int hold_rlock, uint32_t rwnd_req) argument 5700 struct sctp_tcb *stcb = NULL; local [all...] |
H A D | sctp_asconf.c | 152 struct sctp_tcb *stcb, int send_hb, int response_required) 195 sin->sin_port = stcb->rport; 220 sin6->sin6_port = stcb->rport; 251 } else if (sctp_add_remote_addr(stcb, sa, &net, SCTP_DONOT_SETSCOPE, 260 sctp_ulp_notify(SCTP_NOTIFY_ASCONF_ADD_IP, stcb, 0, sa, SCTP_SO_NOT_LOCKED); 265 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, stcb->sctp_ep, stcb, net); 266 sctp_timer_start(SCTP_TIMER_TYPE_HEARTBEAT, stcb->sctp_ep, 267 stcb, net); 269 sctp_send_hb(stcb, ne 151 sctp_process_asconf_add_ip(struct sockaddr *src, struct sctp_asconf_paramhdr *aph, struct sctp_tcb *stcb, int send_hb, int response_required) argument 276 sctp_asconf_del_remote_addrs_except(struct sctp_tcb *stcb, struct sockaddr *src) argument 305 sctp_process_asconf_delete_ip(struct sockaddr *src, struct sctp_asconf_paramhdr *aph, struct sctp_tcb *stcb, int response_required) argument 441 sctp_process_asconf_set_primary(struct sockaddr *src, struct sctp_asconf_paramhdr *aph, struct sctp_tcb *stcb, int response_required) argument 595 sctp_handle_asconf(struct mbuf *m, unsigned int offset, struct sockaddr *src, struct sctp_asconf_chunk *cp, struct sctp_tcb *stcb, int first) argument 934 sctp_asconf_cleanup(struct sctp_tcb *stcb, struct sctp_nets *net) argument 951 sctp_asconf_nets_cleanup(struct sctp_tcb *stcb, struct sctp_ifn *ifn) argument 990 sctp_assoc_immediate_retrans(struct sctp_tcb *stcb, struct sctp_nets *dstnet) argument 1042 sctp_net_immediate_retrans(struct sctp_tcb *stcb, struct sctp_nets *net) argument 1069 sctp_path_check_and_react(struct sctp_tcb *stcb, struct sctp_ifa *newifa) argument 1174 sctp_asconf_addr_mgmt_ack(struct sctp_tcb *stcb, struct sctp_ifa *addr, uint32_t flag) argument 1214 sctp_asconf_queue_mgmt(struct sctp_tcb *stcb, struct sctp_ifa *ifa, uint16_t type) argument 1339 sctp_asconf_queue_add(struct sctp_tcb *stcb, struct sctp_ifa *ifa, uint16_t type) argument 1428 sctp_asconf_queue_sa_delete(struct sctp_tcb *stcb, struct sockaddr *sa) argument 1538 sctp_asconf_find_param(struct sctp_tcb *stcb, uint32_t correlation_id) argument 1610 sctp_asconf_process_param_ack(struct sctp_tcb *stcb, struct sctp_asconf_addr *aparam, uint32_t flag) argument 1657 sctp_handle_asconf_ack(struct mbuf *m, int offset, struct sctp_asconf_ack_chunk *cp, struct sctp_tcb *stcb, struct sctp_nets *net, int *abort_no_unlock) argument 1842 sctp_is_scopeid_in_nets(struct sctp_tcb *stcb, struct sockaddr *sa) argument 1878 sctp_addr_mgmt_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_ifa *ifa, uint16_t type, int addr_locked) argument 2099 sctp_asconf_iterator_stcb(struct sctp_inpcb *inp, struct sctp_tcb *stcb, void *ptr, uint32_t val SCTP_UNUSED) argument 2299 sctp_set_primary_ip_address_sa(struct sctp_tcb *stcb, struct sockaddr *sa) argument 2344 struct sctp_tcb *stcb; local 2370 sctp_is_addr_pending(struct sctp_tcb *stcb, struct sctp_ifa *sctp_ifa) argument 2462 sctp_find_valid_localaddr(struct sctp_tcb *stcb, int addr_locked) argument 2563 sctp_find_valid_localaddr_ep(struct sctp_tcb *stcb) argument 2588 sctp_compose_asconf(struct sctp_tcb *stcb, int *retlen, int addr_locked) argument 2785 sctp_process_initack_addresses(struct sctp_tcb *stcb, struct mbuf *m, unsigned int offset, unsigned int length) argument 3055 sctp_check_address_list_ep(struct sctp_tcb *stcb, struct mbuf *m, int offset, int length, struct sockaddr *init_addr) argument 3090 sctp_check_address_list_all(struct sctp_tcb *stcb, struct mbuf *m, int offset, int length, struct sockaddr *init_addr, uint16_t local_scope, uint16_t site_scope, uint16_t ipv4_scope, uint16_t loopback_scope) argument 3189 sctp_check_address_list(struct sctp_tcb *stcb, struct mbuf *m, int offset, int length, struct sockaddr *init_addr, uint16_t local_scope, uint16_t site_scope, uint16_t ipv4_scope, uint16_t loopback_scope) argument 3311 sctp_asconf_send_nat_state_update(struct sctp_tcb *stcb, struct sctp_nets *net) argument [all...] |
H A D | sctputil.h | 47 void sctp_print_out_track_log(struct sctp_tcb *stcb); 63 #define sctp_get_associd(stcb) ((sctp_assoc_t)stcb->asoc.assoc_id) 87 sctp_notify_stream_reset_add(struct sctp_tcb *stcb, uint16_t numberin, 90 sctp_notify_stream_reset_tsn(struct sctp_tcb *stcb, uint32_t sending_tsn, uint32_t recv_tsn, int flag); 108 struct sctp_tcb *stcb, 121 struct sctp_tcb *stcb, 164 struct sctp_tcb *stcb, int waitflags); 213 int sctp_connectx_helper_add(struct sctp_tcb *stcb, struct sockaddr *addr, 285 int sctp_local_addr_count(struct sctp_tcb *stcb); [all...] |
H A D | sctp_peeloff.c | 58 struct sctp_tcb *stcb; local 75 stcb = sctp_findassociation_ep_asocid(inp, assoc_id, 1); 76 if (stcb == NULL) { 77 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOENT); 80 state = SCTP_GET_STATE((&stcb->asoc)); 83 SCTP_TCB_UNLOCK(stcb); 84 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOTCONN); 87 SCTP_TCB_UNLOCK(stcb); 96 struct sctp_tcb *stcb; local 104 stcb [all...] |
H A D | sctp_input.h | 56 sctp_find_stream_reset(struct sctp_tcb *stcb, uint32_t seq, 59 void sctp_reset_in_stream(struct sctp_tcb *stcb, uint32_t number_entries, 63 int sctp_is_there_unsent_data(struct sctp_tcb *stcb, int so_locked);
|
H A D | sctp_indata.c | 62 sctp_set_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 64 asoc->my_rwnd = sctp_calc_rwnd(stcb, asoc); 69 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 79 if (stcb->sctp_socket == NULL) 82 if (stcb->asoc.sb_cc == 0 && 86 calc = max(SCTP_SB_LIMIT_RCV(stcb->sctp_socket), SCTP_MINIMAL_RWND); 90 calc = (uint32_t) sctp_sbspace(&stcb->asoc, &stcb->sctp_socket->so_rcv); 107 calc = sctp_sbspace_sub(calc, stcb->asoc.my_rwnd_control_len); 111 if (calc < stcb 123 sctp_build_readq_entry(struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t tsn, uint32_t ppid, uint32_t context, uint16_t stream_no, uint16_t stream_seq, uint8_t flags, struct mbuf *dm) argument 167 sctp_build_readq_entry_chk(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk) argument 386 sctp_service_reassembly(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 562 sctp_queue_data_to_stream(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_queued_to_read *control, int *abort_flag) argument 777 sctp_deliver_reasm_check(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 847 sctp_queue_data_for_reasm(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk *chk, int *abort_flag) argument 1276 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 1987 sctp_slide_mapping_arrays(struct sctp_tcb *stcb) argument 2156 sctp_sack_check(struct sctp_tcb *stcb, int was_a_gap) argument 2247 sctp_service_queues(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 2308 sctp_process_data(struct mbuf **mm, int iphlen, int *offset, int length, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t *high_tsn, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id, uint16_t port) argument 2598 sctp_process_segment_range(struct sctp_tcb *stcb, struct sctp_tmit_chunk **p_tp1, uint32_t last_tsn, uint16_t frag_strt, uint16_t frag_end, int nr_sacking, int *num_frs, uint32_t *biggest_newly_acked_tsn, uint32_t *this_sack_lowest_newack, int *rto_ok) argument 2830 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 2894 sctp_check_for_revoked(struct sctp_tcb *stcb, struct sctp_association *asoc, uint32_t cumack, uint32_t biggest_tsn_acked) argument 2951 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 3380 sctp_try_advance_peer_ack_point(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 3521 sctp_window_probe_recovery(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk *tp1) argument 3556 sctp_express_handle_sack(struct sctp_tcb *stcb, uint32_t cumack, uint32_t rwnd, int *abort_now, int ecne_seen) argument 4107 sctp_handle_sack(struct mbuf *m, int offset_seg, int offset_dup, struct sctp_tcb *stcb, uint16_t num_seg, uint16_t num_nr_seg, uint16_t num_dup, int *abort_now, uint8_t flags, uint32_t cum_ack, uint32_t rwnd, int ecne_seen) argument 4985 sctp_update_acked(struct sctp_tcb *stcb, struct sctp_shutdown_chunk *cp, int *abort_flag) argument 4999 sctp_kick_prsctp_reorder_queue(struct sctp_tcb *stcb, struct sctp_stream_in *strmin) argument 5060 sctp_flush_reassm_for_str_seq(struct sctp_tcb *stcb, struct sctp_association *asoc, uint16_t stream, uint16_t seq) argument 5132 sctp_handle_forward_tsn(struct sctp_tcb *stcb, struct sctp_forward_tsn_chunk *fwd, int *abort_flag, struct mbuf *m ,int offset) argument [all...] |
H A D | sctp_usrreq.c | 271 sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz) argument 277 stcb->asoc.smallest_mtu = nxtsz; 280 if (sctp_auth_is_required_chunk(SCTP_DATA, stcb->asoc.peer_auth_chunks)) { 281 overhead += sctp_get_auth_chunk_len(stcb->asoc.peer_hmac_id); 283 TAILQ_FOREACH(chk, &stcb->asoc.send_queue, sctp_next) { 288 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { 297 sctp_total_flight_decrease(stcb, chk); 300 sctp_ucount_incr(stcb->asoc.sent_queue_retran_cnt); 325 struct sctp_tcb *stcb, 335 if ((inp == NULL) || (stcb 324 sctp_notify_mbuf(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, struct ip *ip, struct sctphdr *sh) argument 398 sctp_notify(struct sctp_inpcb *inp, struct ip *ip, struct sctphdr *sh, struct sockaddr *to, struct sctp_tcb *stcb, struct sctp_nets *net) argument 529 struct sctp_tcb *stcb = NULL; local 601 struct sctp_tcb *stcb; local 1174 struct sctp_tcb *stcb; local 1410 struct sctp_tcb *stcb; local 1560 sctp_fill_up_addresses_vrf(struct sctp_inpcb *inp, struct sctp_tcb *stcb, size_t limit, struct sockaddr_storage *sas, uint32_t vrf_id) argument 1878 sctp_fill_up_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, size_t limit, struct sockaddr_storage *sas) argument 2023 struct sctp_tcb *stcb = NULL; local 2226 struct sctp_tcb *stcb = NULL; local 4308 struct sctp_tcb *stcb = NULL; local 7347 struct sctp_tcb *stcb = NULL; local 7543 struct sctp_tcb *stcb = NULL; local 7929 struct sctp_tcb *stcb; local 8164 struct sctp_tcb *stcb; local 8258 struct sctp_tcb *stcb; local [all...] |
H A D | sctp_pcb.c | 929 sctp_does_stcb_own_this_addr(struct sctp_tcb *stcb, struct sockaddr *to) argument 945 loopback_scope = stcb->asoc.scope.loopback_scope; 947 ipv4_local_scope = stcb->asoc.scope.ipv4_local_scope; 948 ipv4_addr_legal = stcb->asoc.scope.ipv4_addr_legal; 951 local_scope = stcb->asoc.scope.local_scope; 952 site_scope = stcb->asoc.scope.site_scope; 953 ipv6_addr_legal = stcb->asoc.scope.ipv6_addr_legal; 956 conn_addr_legal = stcb->asoc.scope.conn_addr_legal; 960 vrf = sctp_find_vrf(stcb->asoc.vrf_id); 967 if (stcb 1163 struct sctp_tcb *stcb; local 1474 struct sctp_tcb *stcb = NULL; local 1840 struct sctp_tcb *stcb; local 1884 struct sctp_tcb *stcb; local 2349 struct sctp_tcb *stcb; local 2402 struct sctp_tcb *stcb; local 2503 struct sctp_tcb *stcb; local 2615 struct sctp_tcb *stcb; local 2682 struct sctp_tcb *stcb; local 3121 sctp_move_pcb_and_assoc(struct sctp_inpcb *old_inp, struct sctp_inpcb *new_inp, struct sctp_tcb *stcb) argument 4368 sctp_findnet(struct sctp_tcb *stcb, struct sockaddr *addr) argument 4402 sctp_add_remote_addr(struct sctp_tcb *stcb, struct sockaddr *newaddr, struct sctp_nets **netp, int set_scope, int from) argument 4860 sctp_aloc_a_assoc_id(struct sctp_inpcb *inp, struct sctp_tcb *stcb) argument 4915 struct sctp_tcb *stcb; local 5101 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), stcb); local 5114 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), stcb); local 5149 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), stcb); local 5178 sctp_remove_net(struct sctp_tcb *stcb, struct sctp_nets *net) argument 5237 sctp_del_remote_addr(struct sctp_tcb *stcb, struct sockaddr *remaddr) argument 5410 sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfree, int from_location) argument 5973 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), stcb); local 5979 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), stcb); local 6029 sctp_destination_is_reachable(struct sctp_tcb *stcb, struct sockaddr *destaddr) argument 6219 sctp_select_primary_destination(struct sctp_tcb *stcb) argument 6269 struct sctp_tcb *stcb; local 6318 sctp_add_local_addr_restricted(struct sctp_tcb *stcb, struct sctp_ifa *ifa) argument 6393 sctp_del_local_addr_restricted(struct sctp_tcb *stcb, struct sctp_ifa *ifa) argument 7074 sctp_load_addresses_from_init(struct sctp_tcb *stcb, struct mbuf *m, int offset, int limit, struct sockaddr *src, struct sockaddr *dst, struct sockaddr *altsa) argument 7720 sctp_set_primary_addr(struct sctp_tcb *stcb, struct sockaddr *sa, struct sctp_nets *net) argument 7768 struct sctp_tcb *stcb; local 7835 sctp_drain_mbufs(struct sctp_tcb *stcb) argument 7973 struct sctp_tcb *stcb; local [all...] |
H A D | sctp_auth.c | 551 sctp_auth_key_acquire(struct sctp_tcb *stcb, uint16_t key_id) argument 556 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); 562 "%s: stcb %p key %u refcount acquire to %d\n", 563 __FUNCTION__, (void *)stcb, key_id, skey->refcount); 568 sctp_auth_key_release(struct sctp_tcb *stcb, uint16_t key_id, int so_locked argument 577 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); 583 "%s: stcb %p key %u refcount release to %d\n", 584 __FUNCTION__, (void *)stcb, key_id, skey->refcount); 589 sctp_ulp_notify(SCTP_NOTIFY_AUTH_FREE_KEY, stcb, 592 "%s: stcb 1210 sctp_clear_cachedkeys(struct sctp_tcb *stcb, uint16_t keyid) argument 1233 struct sctp_tcb *stcb; local 1251 sctp_delete_sharedkey(struct sctp_tcb *stcb, uint16_t keyid) argument 1317 sctp_auth_setactivekey(struct sctp_tcb *stcb, uint16_t keyid) argument 1364 sctp_deact_sharedkey(struct sctp_tcb *stcb, uint16_t keyid) argument 1427 sctp_auth_get_cookie_params(struct sctp_tcb *stcb, struct mbuf *m, uint32_t offset, uint32_t length) argument 1564 sctp_fill_hmac_digest_m(struct mbuf *m, uint32_t auth_offset, struct sctp_auth_chunk *auth, struct sctp_tcb *stcb, uint16_t keyid) argument 1653 sctp_handle_auth(struct sctp_tcb *stcb, struct sctp_auth_chunk *auth, struct mbuf *m, uint32_t offset) argument 1774 sctp_notify_authentication(struct sctp_tcb *stcb, uint32_t indication, uint16_t keyid, uint16_t alt_keyid, int so_locked SCTP_UNUSED ) argument 1976 sctp_initialize_auth_params(struct sctp_inpcb *inp, struct sctp_tcb *stcb) argument [all...] |
H A D | sctp_ss_functions.c | 55 sctp_ss_default_init(struct sctp_tcb *stcb, struct sctp_association *asoc, argument 67 for (i = 0; i < stcb->asoc.streamoutcnt; i++) { 68 stcb->asoc.ss_functions.sctp_ss_add_to_stream(stcb, &stcb->asoc, 69 &stcb->asoc.strmout[i], 76 sctp_ss_default_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, argument 80 SCTP_TCB_SEND_LOCK(stcb); 90 SCTP_TCB_SEND_UNLOCK(stcb); 104 sctp_ss_default_add(struct sctp_tcb *stcb, struc argument 135 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 252 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 348 sctp_ss_prio_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, int clear_values, int holds_lock) argument 385 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 419 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 511 sctp_ss_prio_set_value(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_stream_out *strq, uint16_t value) argument 528 sctp_ss_fb_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, int clear_values, int holds_lock) argument 564 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 585 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 683 sctp_ss_fcfs_init(struct sctp_tcb *stcb, struct sctp_association *asoc, int holds_lock) argument 719 sctp_ss_fcfs_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, int clear_values, int holds_lock) argument 744 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 772 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 [all...] |
H A D | sctp_cc_functions.c | 60 sctp_set_initial_cc_param(struct sctp_tcb *stcb, struct sctp_nets *net) argument 65 assoc = &stcb->asoc; 79 if ((stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV1) || 80 (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV2)) { 90 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, 95 sctp_log_cwnd(stcb, net, 0, SCTP_CWND_INITIALIZATION); 100 sctp_cwnd_update_after_fr(struct sctp_tcb *stcb, argument 184 stcb 239 cc_bw_same(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t rtt_offset, uint64_t vtag, uint8_t inst_ind) argument 394 cc_bw_decrease(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t rtt_offset, uint64_t vtag, uint8_t inst_ind) argument 552 cc_bw_increase(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t vtag) argument 606 cc_bw_limit(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw) argument 740 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 1060 sctp_cwnd_update_exit_pf_common(struct sctp_tcb *stcb, struct sctp_nets *net) argument 1083 sctp_cwnd_update_after_timeout(struct sctp_tcb *stcb, struct sctp_nets *net) argument 1158 sctp_cwnd_update_after_ecn_echo_common(struct sctp_tcb *stcb, struct sctp_nets *net, int in_window, int num_pkt_lost, int use_rtcc) argument 1216 sctp_cwnd_update_after_packet_dropped(struct sctp_tcb *stcb, struct sctp_nets *net, struct sctp_pktdrop_chunk *cp, uint32_t *bottle_bw, uint32_t *on_queue) argument 1338 sctp_cwnd_update_after_output(struct sctp_tcb *stcb, struct sctp_nets *net, int burst_limit) argument 1361 sctp_cwnd_update_after_sack(struct sctp_tcb *stcb, struct sctp_association *asoc, int accum_moved, int reneged_all, int will_exit) argument 1370 sctp_cwnd_update_after_ecn_echo(struct sctp_tcb *stcb, struct sctp_nets *net, int in_window, int num_pkt_lost) argument 1383 sctp_cwnd_update_rtcc_after_ecn_echo(struct sctp_tcb *stcb, struct sctp_nets *net, int in_window, int num_pkt_lost) argument 1411 sctp_cwnd_new_rtcc_transmission_begins(struct sctp_tcb *stcb, struct sctp_nets *net) argument 1472 sctp_set_rtcc_initial_cc_param(struct sctp_tcb *stcb, struct sctp_nets *net) argument 1513 sctp_cwnd_rtcc_socket_option(struct sctp_tcb *stcb, int setorget, struct sctp_cc_option *cc_opt) argument 1580 sctp_cwnd_update_rtcc_after_sack(struct sctp_tcb *stcb, struct sctp_association *asoc, int accum_moved, int reneged_all, int will_exit) argument 1683 sctp_hs_cwnd_increase(struct sctp_tcb *stcb, struct sctp_nets *net) argument 1720 sctp_hs_cwnd_decrease(struct sctp_tcb *stcb, struct sctp_nets *net) argument 1760 sctp_hs_cwnd_update_after_fr(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 1824 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 1961 htcp_cwnd_undo(struct sctp_tcb *stcb, struct sctp_nets *net) argument 2111 htcp_cong_avoid(struct sctp_tcb *stcb, struct sctp_nets *net) argument 2176 htcp_min_cwnd(struct sctp_tcb *stcb, struct sctp_nets *net) argument 2193 sctp_htcp_set_initial_cc_param(struct sctp_tcb *stcb, struct sctp_nets *net) argument 2209 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 2276 sctp_htcp_cwnd_update_after_fr(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 2347 sctp_htcp_cwnd_update_after_timeout(struct sctp_tcb *stcb, struct sctp_nets *net) argument 2363 sctp_htcp_cwnd_update_after_ecn_echo(struct sctp_tcb *stcb, struct sctp_nets *net, int in_window, int num_pkt_lost SCTP_UNUSED) argument [all...] |
H A D | sctp_output.c | 2065 sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, struct sctp_tcb *stcb, argument 2117 if (sctp_is_addr_restricted(stcb, sctp_ifap)) { 2167 if (sctp_is_addr_restricted(stcb, sctp_ifap)) { 2462 sctp_is_addr_restricted(struct sctp_tcb *stcb, struct sctp_ifa *ifa) argument 2466 if (stcb == NULL) { 2470 LIST_FOREACH(laddr, &stcb->asoc.sctp_restricted_addrs, sctp_nxt_addr) { 2645 struct sctp_tcb *stcb, 2704 (sctp_is_addr_restricted(stcb, sifa))) || 2706 (sctp_is_addr_restricted(stcb, sifa)) && 2707 (!sctp_is_addr_pending(stcb, sif 2644 sctp_choose_boundspecific_stcb(struct sctp_inpcb *inp, struct sctp_tcb *stcb, sctp_route_t *ro, uint32_t vrf_id, uint8_t dest_is_priv, uint8_t dest_is_loop, int non_asoc_addr_ok, sa_family_t fam) argument 2837 sctp_select_nth_preferred_addr_from_ifn_boundall(struct sctp_ifn *ifn, struct sctp_inpcb *inp, struct sctp_tcb *stcb, int non_asoc_addr_ok, uint8_t dest_is_loop, uint8_t dest_is_priv, int addr_wanted, sa_family_t fam, sctp_route_t *ro ) argument 2971 sctp_count_num_preferred_boundall(struct sctp_ifn *ifn, struct sctp_inpcb *inp, struct sctp_tcb *stcb, int non_asoc_addr_ok, uint8_t dest_is_loop, uint8_t dest_is_priv, sa_family_t fam) argument 3035 sctp_choose_boundall(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, sctp_route_t *ro, uint32_t vrf_id, uint8_t dest_is_priv, uint8_t dest_is_loop, int non_asoc_addr_ok, sa_family_t fam) argument 3393 sctp_source_address_selection(struct sctp_inpcb *inp, struct sctp_tcb *stcb, sctp_route_t *ro, struct sctp_nets *net, int non_asoc_addr_ok, uint32_t vrf_id) argument 3656 sctp_process_cmsgs_for_init(struct sctp_tcb *stcb, struct mbuf *control, int *error) argument 3838 struct sctp_tcb *stcb; local 4026 sctp_get_ect(struct sctp_tcb *stcb) argument 4037 sctp_handle_no_route(struct sctp_tcb *stcb, struct sctp_nets *net, int so_locked) argument 4082 sctp_lowlevel_chunk_output(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, struct sockaddr *to, struct mbuf *m, uint32_t auth_offset, struct sctp_auth_chunk *auth, uint16_t auth_keyid, int nofragment_flag, int ecn_ok, int out_of_asoc_ok, uint16_t src_port, uint16_t dest_port, uint32_t v_tag, uint16_t port, union sctp_sockstore *over_addr, uint8_t use_mflowid, uint32_t mflowid, int so_locked SCTP_UNUSED ) argument 5051 sctp_send_initiate(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int so_locked SCTP_UNUSED ) argument 5836 sctp_send_initiate_ack(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct mbuf *init_pkt, int iphlen, int offset, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, struct sctp_init_chunk *init_chk, uint8_t use_mflowid, uint32_t mflowid, uint32_t vrf_id, uint16_t port, int hold_inp_lock) argument 6545 sctp_prune_prsctp(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_sndrcvinfo *srcv, int dataout) argument 6626 sctp_get_frag_point(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 6722 sctp_msg_append(struct sctp_tcb *stcb, struct sctp_nets *net, struct mbuf *m, struct sctp_sndrcvinfo *srcv, int hold_stcb_lock) argument 6994 sctp_sendall_iterator(struct sctp_inpcb *inp, struct sctp_tcb *stcb, void *ptr, uint32_t val SCTP_UNUSED) argument 7320 sctp_toss_old_cookies(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 7338 sctp_toss_old_asconf(struct sctp_tcb *stcb) argument 7368 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 7460 sctp_clean_up_ctl(struct sctp_tcb *stcb, struct sctp_association *asoc, int so_locked SCTP_UNUSED ) argument 7503 sctp_can_we_split_this(struct sctp_tcb *stcb, uint32_t length, uint32_t goal_mtu, uint32_t frag_point, int eeor_on) argument 7563 sctp_move_to_outqueue(struct sctp_tcb *stcb, struct sctp_stream_out *strq, uint32_t goal_mtu, uint32_t frag_point, int *locked, int *giveup, int eeor_mode, int *bail, int so_locked SCTP_UNUSED ) argument 8067 sctp_fill_outqueue(struct sctp_tcb *stcb, struct sctp_nets *net, int frag_point, int eeor_mode, int *quit_now, int so_locked SCTP_UNUSED ) argument 8172 sctp_move_chunks_from_net(struct sctp_tcb *stcb, struct sctp_nets *net) argument 8200 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 9351 sctp_queue_op_err(struct sctp_tcb *stcb, struct mbuf *op_err) argument 9399 sctp_send_cookie_echo(struct mbuf *m, int offset, struct sctp_tcb *stcb, struct sctp_nets *net) argument 9488 sctp_send_heartbeat_ack(struct sctp_tcb *stcb, struct mbuf *m, int offset, int chk_length, struct sctp_nets *net) argument 9555 sctp_send_cookie_ack(struct sctp_tcb *stcb) argument 9603 sctp_send_shutdown_ack(struct sctp_tcb *stcb, struct sctp_nets *net) argument 9646 sctp_send_shutdown(struct sctp_tcb *stcb, struct sctp_nets *net) argument 9690 sctp_send_asconf(struct sctp_tcb *stcb, struct sctp_nets *net, int addr_locked) argument 9740 sctp_send_asconf_ack(struct sctp_tcb *stcb) argument 9842 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 10365 sctp_timer_validation(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_association *asoc) argument 10390 sctp_chunk_output(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_where, int so_locked SCTP_UNUSED ) argument 10714 send_forward_tsn(struct sctp_tcb *stcb, struct sctp_association *asoc) argument 10893 sctp_send_sack(struct sctp_tcb *stcb, int so_locked SCTP_UNUSED ) argument 11301 sctp_send_abort_tcb(struct sctp_tcb *stcb, struct mbuf *operr, int so_locked SCTP_UNUSED ) argument 11405 sctp_send_shutdown_complete(struct sctp_tcb *stcb, struct sctp_nets *net, int reflect_vtag) argument 11860 sctp_send_hb(struct sctp_tcb *stcb, struct sctp_nets *net,int so_locked SCTP_UNUSED ) argument 11997 sctp_send_ecn_echo(struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t high_tsn) argument 12060 sctp_send_packet_dropped(struct sctp_tcb *stcb, struct sctp_nets *net, struct mbuf *m, int len, int iphlen, int bad_crc) argument 12207 sctp_send_cwr(struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t high_tsn, uint8_t override) argument 12502 sctp_send_str_reset_req(struct sctp_tcb *stcb, int number_entries, uint16_t *list, uint8_t send_out_req, uint8_t send_in_req, uint8_t send_tsn_req, uint8_t add_stream, uint16_t adding_o, uint16_t adding_i, uint8_t peer_asked) argument 12908 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 [all...] |
H A D | sctp_indata.h | 44 sctp_build_readq_entry(struct sctp_tcb *stcb, 70 (_ctl)->stcb = (in_it); \ 89 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc); 92 sctp_express_handle_sack(struct sctp_tcb *stcb, uint32_t cumack, 97 struct sctp_tcb *stcb, 126 void sctp_slide_mapping_arrays(struct sctp_tcb *stcb);
|
H A D | sctp_auth.h | 146 extern void sctp_auth_key_acquire(struct sctp_tcb *stcb, uint16_t keyid); 147 extern void sctp_auth_key_release(struct sctp_tcb *stcb, uint16_t keyid, 186 extern void sctp_clear_cachedkeys(struct sctp_tcb *stcb, uint16_t keyid); 188 extern int sctp_delete_sharedkey(struct sctp_tcb *stcb, uint16_t keyid); 190 extern int sctp_auth_setactivekey(struct sctp_tcb *stcb, uint16_t keyid); 192 extern int sctp_deact_sharedkey(struct sctp_tcb *stcb, uint16_t keyid); 195 extern void sctp_auth_get_cookie_params(struct sctp_tcb *stcb, struct mbuf *m, 198 struct sctp_auth_chunk *auth, struct sctp_tcb *stcb, uint16_t key_id); 201 struct sctp_tcb *stcb, uint8_t chunk); 202 extern int sctp_handle_auth(struct sctp_tcb *stcb, struc [all...] |
H A D | sctp_asconf.h | 66 struct sctp_tcb *stcb, 90 sctp_asconf_send_nat_state_update(struct sctp_tcb *stcb,
|
H A D | sctp_output.h | 48 struct sctp_tcb *stcb, 68 struct sctp_tcb *stcb, 111 sctp_remove_from_wheel(struct sctp_tcb *stcb, 141 void sctp_move_chunks_from_net(struct sctp_tcb *stcb, struct sctp_nets *net);
|
H A D | sctp_structs.h | 147 struct sctp_tcb *stcb; /* current* assoc */ member in struct:sctp_iterator 527 struct sctp_tcb *stcb; /* assoc, used for window update */ member in struct:sctp_queued_to_read 677 void *stcb; member in struct:sctp_tsn_log 698 * pad that bulks up both the inp and stcb. The non 723 void (*sctp_set_initial_cc_param)(struct sctp_tcb *stcb, struct sctp_nets *net); 724 void (*sctp_cwnd_update_after_sack)(struct sctp_tcb *stcb, 727 void (*sctp_cwnd_update_exit_pf)(struct sctp_tcb *stcb, struct sctp_nets *net); 728 void (*sctp_cwnd_update_after_fr)(struct sctp_tcb *stcb, 730 void (*sctp_cwnd_update_after_timeout)(struct sctp_tcb *stcb, 732 void (*sctp_cwnd_update_after_ecn_echo)(struct sctp_tcb *stcb, [all...] |
H A D | sctp_sysctl.c | 228 sctp_sysctl_copy_out_local_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sysctl_req *req) argument 243 if (stcb) { 245 loopback_scope = stcb->asoc.scope.loopback_scope; 246 ipv4_local_scope = stcb->asoc.scope.ipv4_local_scope; 247 local_scope = stcb->asoc.scope.local_scope; 248 site_scope = stcb->asoc.scope.site_scope; 249 ipv4_addr_legal = stcb->asoc.scope.ipv4_addr_legal; 250 ipv6_addr_legal = stcb->asoc.scope.ipv6_addr_legal; 252 conn_addr_legal = stcb->asoc.scope.conn_addr_legal; 298 if (stcb) { 449 struct sctp_tcb *stcb; variable in typeref:struct:sctp_tcb 546 SCTP_TCB_LOCK(stcb); variable 548 SCTP_TCB_UNLOCK(stcb); variable [all...] |
H A D | sctp_os_userspace.h | 640 #define SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, file, err) \ 642 SCTP_PRINTF("mbuf:%p inp:%p stcb:%p net:%p file:%x line:%d error:%d\n", \ 643 (void *)m, (void *)inp, (void *)stcb, (void *)net, file, __LINE__, err); 644 #define SCTP_LTRACE_ERR_RET(inp, stcb, net, file, err) \ 646 SCTP_PRINTF("inp:%p stcb:%p net:%p file:%x line:%d error:%d\n", \ 647 (void *)inp, (void *)stcb, (void *)net, file, __LINE__, err); 649 #define SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, file, err) 650 #define SCTP_LTRACE_ERR_RET(inp, stcb, net, file, err) 1065 sctp_route_t *ro, void *stcb, 1068 #define SCTP_IP_OUTPUT(result, o_pak, ro, stcb, vrf_i [all...] |
H A D | sctp_timer.h | 79 sctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
H A D | sctp_uio.h | 815 void *stcb; /* FIXME: LP64 issue */ member in struct:sctp_str_log 824 void *stcb; /* FIXME: LP64 issue */ member in struct:sctp_sb_log 883 void *stcb; /* FIXME: LP64 issue */ member in struct:sctp_nagle_log 891 void *stcb; /* FIXME: LP64 issue */ member in struct:sctp_sbwake_log 911 void *stcb; /* FIXME: LP64 issue */ member in struct:sctp_log_closing
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
H A D | sctp6_usrreq.c | 353 struct sctphdr *sh, struct sctp_tcb *stcb, struct sctp_nets *net) 357 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || 362 if (ntohl(sh->v_tag) != (stcb->asoc.peer_vtag)) 377 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL, SCTP_FROM_SCTP6_USRREQ+SCTP_LOC_1); 387 if (stcb->asoc.smallest_mtu > nxtsz) { 391 stcb->asoc.smallest_mtu = nxtsz; 394 TAILQ_FOREACH(chk, &stcb->asoc.send_queue, sctp_next) { 399 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { 407 stcb->asoc.sent_queue_retran_cnt++; 415 stcb 352 sctp6_notify_mbuf(struct sctp_inpcb *inp, struct icmp6_hdr *icmp6, struct sctphdr *sh, struct sctp_tcb *stcb, struct sctp_nets *net) argument 430 sctp6_notify(struct sctp_inpcb *inp, struct icmp6_hdr *icmph, struct sctphdr *sh, struct sockaddr *to, struct sctp_tcb *stcb, struct sctp_nets *net) argument 561 struct sctp_tcb *stcb = NULL; local 635 struct sctp_tcb *stcb; local 1183 struct sctp_tcb *stcb; local 1383 struct sctp_tcb *stcb; local 1481 struct sctp_tcb *stcb; local [all...] |