HomeSort by relevance Sort by last modified time
    Searched refs:stcb (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_timer.c 99 sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
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->asoc.overall_error_count+1)
    [all...]
sctp_input.c 67 sctp_stop_all_cookie_timers(struct sctp_tcb *stcb)
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 == NULL)
2068 struct sctp_tcb *stcb; local
5741 struct sctp_tcb *stcb = NULL; local
    [all...]
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 == NULL) && (inp != NULL) &&
    [all...]
sctputil.c 84 sctp_sblog(struct sockbuf *sb, struct sctp_tcb *stcb, int from, int incr)
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)
114 if (stcb) {
115 sctp_clog.x.close.stcb = (void *)stcb;
116 sctp_clog.x.close.state = (uint16_t)stcb->asoc.state
1521 struct sctp_tcb *stcb; local
5700 struct sctp_tcb *stcb = NULL; local
    [all...]
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, net, SCTP_SO_NOT_LOCKED)
2344 struct sctp_tcb *stcb; local
    [all...]
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...]
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 = sctp_findassociation_ep_asocid(inp, assoc_id, 1)
    [all...]
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);
sctp_indata.c 62 sctp_set_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc)
64 asoc->my_rwnd = sctp_calc_rwnd(stcb, asoc);
69 sctp_calc_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc)
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->asoc.my_rwnd_control_len)
    [all...]
sctp_usrreq.c 271 sctp_pathmtu_adjustment(struct sctp_tcb *stcb, uint16_t nxtsz)
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 == NULL) || (net == NULL) |
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
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...]
sctp_pcb.c 929 sctp_does_stcb_own_this_addr(struct sctp_tcb *stcb, struct sockaddr *to)
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->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL)
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
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
5973 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), stcb); local
5979 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asoc), stcb); local
6269 struct sctp_tcb *stcb; local
7768 struct sctp_tcb *stcb; local
7973 struct sctp_tcb *stcb; local
    [all...]
sctp_auth.c 551 sctp_auth_key_acquire(struct sctp_tcb *stcb, uint16_t key_id)
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
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 %p key %u no longer used, %d\n"
1233 struct sctp_tcb *stcb; local
    [all...]
sctp_ss_functions.c 55 sctp_ss_default_init(struct sctp_tcb *stcb, struct sctp_association *asoc,
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,
80 SCTP_TCB_SEND_LOCK(stcb);
90 SCTP_TCB_SEND_UNLOCK(stcb);
104 sctp_ss_default_add(struct sctp_tcb *stcb, struct sctp_association *asoc
    [all...]
sctp_cc_functions.c 60 sctp_set_initial_cc_param(struct sctp_tcb *stcb, struct sctp_nets *net)
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,
184 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net
    [all...]
sctp_output.c 2065 sctp_add_addresses_to_i_ia(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
2117 if (sctp_is_addr_restricted(stcb, sctp_ifap)) {
2167 if (sctp_is_addr_restricted(stcb, sctp_ifap)) {
3838 struct sctp_tcb *stcb; local
    [all...]
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);
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, struct sctp_auth_chunk *ch
    [all...]
sctp_sysctl.c 228 sctp_sysctl_copy_out_local_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sysctl_req *req)
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...]
sctp_asconf.h 66 struct sctp_tcb *stcb,
90 sctp_asconf_send_nat_state_update(struct sctp_tcb *stcb,
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...]
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);
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_id) sctp_userspace_ip_output(&result, o_pak, ro, stcb, vrf_id)
    [all...]
sctp_timer.h 79 sctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
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
    [all...]
  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/
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->asoc.total_flight -= chk->send_size
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...]

Completed in 368 milliseconds

1 2