/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
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_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.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...] |
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_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_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...] |
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_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_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_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_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...] |