| /src/sys/netinet/ |
| sctp_peeloff.c | 90 struct sctp_tcb *stcb; local 95 stcb = sctp_findassociation_ep_asocid(inp, assoc_id); 96 if (stcb == NULL) { 107 struct sctp_tcb *stcb; local 112 stcb = sctp_findassociation_ep_asocid(inp, assoc_id); 113 if (stcb == NULL) 125 * the stcb in the right place. 127 sctp_move_pcb_and_assoc(inp, n_inp, stcb); 133 sctp_grub_through_socket_buffer(inp, head, so, stcb); 142 struct sctp_tcb *stcb; local [all...] |
| sctp_asconf.c | 197 struct sctp_tcb *stcb, int response_required) 229 sin->sin_port = stcb->rport; 248 sin6->sin6_port = stcb->rport; 279 if (sctp_add_remote_addr(stcb, sa, 0, 6) != 0) { 290 sctp_ulp_notify(SCTP_NOTIFY_ASCONF_ADD_IP, stcb, 0, sa); 302 struct sctp_tcb *stcb, int response_required) 333 sin->sin_port = stcb->rport; 345 sin6->sin6_port = stcb->rport; 364 sin->sin_port = stcb->rport; 383 sin6->sin6_port = stcb->rport 1794 struct sctp_tcb *stcb; local 1880 struct sctp_tcb *stcb; local 1996 struct sctp_tcb *stcb; local 2088 struct sctp_tcb *stcb; local [all...] |
| sctp_input.c | 99 struct sctp_tcb *stcb, struct sctp_nets *net) 105 printf("sctp_handle_init: handling INIT tcb:%p\n", stcb); 113 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); 119 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); 126 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); 132 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); 138 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); 144 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); 155 sctp_send_initiate_ack(inp, stcb, m, iphlen, offset, sh, cp); 164 sctp_process_init(struct sctp_init_chunk *cp, struct sctp_tcb *stcb, 1413 struct sctp_tcb *stcb; local 4063 struct sctp_tcb *stcb = NULL; local [all...] |
| sctp_pcb.c | 129 struct sctp_tcb *stcb; local 130 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { 131 if (mtx_owned(&(stcb)->tcb_mtx)) 149 struct sctp_tcb *stcb; local 153 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { 154 if (mtx_owned(&(stcb)->tcb_mtx)) 173 struct sctp_tcb *stcb; local 181 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { 182 if (mtx_owned(&(stcb)->tcb_mtx)) 246 struct sctp_tcb *stcb; local 378 struct sctp_tcb *stcb; local 486 struct sctp_tcb *stcb; local 621 struct sctp_tcb *stcb; local 1064 struct sctp_tcb *stcb; local 2615 struct sctp_tcb *stcb; local 3518 struct sctp_tcb *stcb; local 4349 struct sctp_tcb *stcb; local 4612 struct sctp_tcb *stcb; local 4658 struct sctp_tcb *stcb = NULL; local [all...] |
| sctp_structs.h | 95 struct sctp_tcb *stcb; /* assoc */ member in struct:sctp_iterator
|
| sctp_usrreq.c | 237 struct sctp_tcb *stcb, 248 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || 250 if (stcb != NULL) { 251 SCTP_TCB_UNLOCK(stcb); 256 if (ntohl(sh->v_tag) != (stcb->asoc.peer_vtag)) { 257 SCTP_TCB_UNLOCK(stcb); 264 SCTP_TCB_UNLOCK(stcb); 269 SCTP_TCB_UNLOCK(stcb); 284 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL); 291 if (stcb->asoc.smallest_mtu > nxtsz) 434 struct sctp_tcb *stcb; local 709 struct sctp_tcb *stcb; local 829 struct sctp_tcb *stcb; local 1146 struct sctp_tcb *stcb = NULL; local 1332 struct sctp_tcb *stcb = NULL; local 2381 struct sctp_tcb *stcb = NULL; local 3303 struct sctp_tcb *stcb; local 3432 struct sctp_tcb *stcb=NULL; local 3625 struct sctp_tcb *stcb; local 3719 struct sctp_tcb *stcb; local 3781 struct sctp_tcb *stcb; local [all...] |
| sctputil.c | 431 void sctp_auditing(int from, struct sctp_inpcb *inp, struct sctp_tcb *stcb, 453 if (stcb == NULL) { 464 (0x000000ff & stcb->asoc.sent_queue_retran_cnt); 472 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { 480 if (resend_cnt != stcb->asoc.sent_queue_retran_cnt) { 488 resend_cnt, stcb->asoc.sent_queue_retran_cnt); 490 stcb->asoc.sent_queue_retran_cnt = resend_cnt; 493 (0x000000ff & stcb->asoc.sent_queue_retran_cnt); 499 if (tot_out != stcb->asoc.total_flight) { 508 (int)stcb->asoc.total_flight) 828 struct sctp_tcb *stcb; local [all...] |
| sctp_output.c | 450 sctp_is_addr_restricted(struct sctp_tcb *stcb, struct sockaddr *addr) 456 if (stcb == NULL) { 461 LIST_FOREACH(laddr, &stcb->asoc.sctp_local_addr_list, sctp_nxt_addr) { 469 LIST_FOREACH(laddr, &stcb->asoc.sctp_local_addr_list, sctp_nxt_addr) { 608 struct sctp_tcb *stcb, 641 printf("Have a STCB - asconf allowed, not bound all have a netgative list\n"); 655 (sctp_is_addr_restricted(stcb, (struct sockaddr *)sin))) { 669 (sctp_is_addr_restricted(stcb, (struct sockaddr *)sin))) { 682 starting_point = stcb->asoc.last_used_address; 684 if (stcb->asoc.last_used_address == NULL) 7089 struct sctp_tcb *stcb; local 9806 struct sctp_tcb *stcb=NULL; local [all...] |
| /src/sys/netinet6/ |
| sctp6_usrreq.c | 125 struct sctp_tcb *stcb = NULL; local 183 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch), 185 /* in6p's ref-count increased && stcb locked */ 186 if ((in6p) && (stcb)) { 187 sctp_send_packet_dropped(stcb, net, m, iphlen, 1); 188 sctp_chunk_output((struct sctp_inpcb *)in6p, stcb, 2); 189 } else if ((in6p != NULL) && (stcb == NULL)) { 210 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch), 229 } else if (stcb == NULL) { 279 in6p, stcb, net, ecn_bits) 436 struct sctp_tcb *stcb; local 508 struct sctp_tcb *stcb; local 716 struct sctp_tcb *stcb; local 920 struct sctp_tcb *stcb; local 1069 struct sctp_tcb *stcb; local 1130 struct sctp_tcb *stcb; local [all...] |