| /netbsd/src/sys/netinet/ |
| D | sctp_timer.c | 134 sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_threshold_management() argument 151 if (net == stcb->asoc.primary_destination) { in sctp_threshold_management() 155 stcb, in sctp_threshold_management() 167 if (stcb == NULL) in sctp_threshold_management() 172 stcb->asoc.overall_error_count++; in sctp_threshold_management() 175 stcb->asoc.overall_error_count++; in sctp_threshold_management() 180 &stcb->asoc, in sctp_threshold_management() 181 stcb->asoc.overall_error_count, in sctp_threshold_management() 189 if (stcb->asoc.overall_error_count > threshold) { in sctp_threshold_management() 205 sctp_abort_an_association(inp, stcb, SCTP_FAILED_THRESHOLD, oper); in sctp_threshold_management() [all …]
|
| D | sctp_input.c | 99 struct sctp_tcb *stcb, struct sctp_nets *net) in sctp_handle_init() argument 105 printf("sctp_handle_init: handling INIT tcb:%p\n", stcb); in sctp_handle_init() 113 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); in sctp_handle_init() 119 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); in sctp_handle_init() 126 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); in sctp_handle_init() 132 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); in sctp_handle_init() 138 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); in sctp_handle_init() 144 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err); in sctp_handle_init() 155 sctp_send_initiate_ack(inp, stcb, m, iphlen, offset, sh, cp); in sctp_handle_init() 164 sctp_process_init(struct sctp_init_chunk *cp, struct sctp_tcb *stcb, in sctp_process_init() argument [all …]
|
| D | sctp_usrreq.c | 237 struct sctp_tcb *stcb, in sctp_notify_mbuf() argument 248 if ((inp == NULL) || (stcb == NULL) || (net == NULL) || in sctp_notify_mbuf() 250 if (stcb != NULL) { in sctp_notify_mbuf() 251 SCTP_TCB_UNLOCK(stcb); in sctp_notify_mbuf() 256 if (ntohl(sh->v_tag) != (stcb->asoc.peer_vtag)) { in sctp_notify_mbuf() 257 SCTP_TCB_UNLOCK(stcb); in sctp_notify_mbuf() 264 SCTP_TCB_UNLOCK(stcb); in sctp_notify_mbuf() 269 SCTP_TCB_UNLOCK(stcb); in sctp_notify_mbuf() 284 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL); in sctp_notify_mbuf() 291 if (stcb->asoc.smallest_mtu > nxtsz) { in sctp_notify_mbuf() [all …]
|
| D | sctputil.c | 431 void sctp_auditing(int from, struct sctp_inpcb *inp, struct sctp_tcb *stcb, in sctp_auditing() argument 453 if (stcb == NULL) { in sctp_auditing() 464 (0x000000ff & stcb->asoc.sent_queue_retran_cnt); in sctp_auditing() 472 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { in sctp_auditing() 480 if (resend_cnt != stcb->asoc.sent_queue_retran_cnt) { in sctp_auditing() 488 resend_cnt, stcb->asoc.sent_queue_retran_cnt); in sctp_auditing() 490 stcb->asoc.sent_queue_retran_cnt = resend_cnt; in sctp_auditing() 493 (0x000000ff & stcb->asoc.sent_queue_retran_cnt); in sctp_auditing() 499 if (tot_out != stcb->asoc.total_flight) { in sctp_auditing() 508 (int)stcb->asoc.total_flight); in sctp_auditing() [all …]
|
| D | sctp_indata.c | 107 sctp_set_rwnd(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_set_rwnd() argument 114 (u_long)stcb->sctp_socket->so_rcv.sb_cc, in sctp_set_rwnd() 115 (u_long)stcb->sctp_socket->so_rcv.sb_hiwat, in sctp_set_rwnd() 116 (u_long)stcb->sctp_socket->so_rcv.sb_lowat, in sctp_set_rwnd() 117 (u_long)stcb->sctp_socket->so_rcv.sb_mbcnt, in sctp_set_rwnd() 118 (u_long)stcb->sctp_socket->so_rcv.sb_mbmax); in sctp_set_rwnd() 120 sctp_sbspace(&stcb->sctp_socket->so_rcv), in sctp_set_rwnd() 126 if (stcb->sctp_socket->so_rcv.sb_cc == 0 && in sctp_set_rwnd() 131 asoc->my_rwnd = uimax(stcb->sctp_socket->so_rcv.sb_hiwat, in sctp_set_rwnd() 136 calc = (u_int32_t)sctp_sbspace(&stcb->sctp_socket->so_rcv); in sctp_set_rwnd() [all …]
|
| D | sctp_pcb.c | 129 struct sctp_tcb *stcb; in SCTP_INP_RLOCK() local 130 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { in SCTP_INP_RLOCK() 131 if (mtx_owned(&(stcb)->tcb_mtx)) in SCTP_INP_RLOCK() 149 struct sctp_tcb *stcb; in SCTP_INP_INFO_RLOCK() local 153 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { in SCTP_INP_INFO_RLOCK() 154 if (mtx_owned(&(stcb)->tcb_mtx)) in SCTP_INP_INFO_RLOCK() 173 struct sctp_tcb *stcb; in sctp_validate_no_locks() local 181 LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { in sctp_validate_no_locks() 182 if (mtx_owned(&(stcb)->tcb_mtx)) in sctp_validate_no_locks() 246 struct sctp_tcb *stcb; in sctp_tcb_special_locate() local [all …]
|
| D | sctp_asconf.c | 197 struct sctp_tcb *stcb, int response_required) in sctp_process_asconf_add_ip() argument 229 sin->sin_port = stcb->rport; in sctp_process_asconf_add_ip() 248 sin6->sin6_port = stcb->rport; in sctp_process_asconf_add_ip() 279 if (sctp_add_remote_addr(stcb, sa, 0, 6) != 0) { in sctp_process_asconf_add_ip() 290 sctp_ulp_notify(SCTP_NOTIFY_ASCONF_ADD_IP, stcb, 0, sa); in sctp_process_asconf_add_ip() 302 struct sctp_tcb *stcb, int response_required) in sctp_process_asconf_delete_ip() argument 333 sin->sin_port = stcb->rport; in sctp_process_asconf_delete_ip() 345 sin6->sin6_port = stcb->rport; in sctp_process_asconf_delete_ip() 364 sin->sin_port = stcb->rport; in sctp_process_asconf_delete_ip() 383 sin6->sin6_port = stcb->rport; in sctp_process_asconf_delete_ip() [all …]
|
| D | sctp_output.c | 450 sctp_is_addr_restricted(struct sctp_tcb *stcb, struct sockaddr *addr) in sctp_is_addr_restricted() argument 456 if (stcb == NULL) { in sctp_is_addr_restricted() 461 LIST_FOREACH(laddr, &stcb->asoc.sctp_local_addr_list, sctp_nxt_addr) { in sctp_is_addr_restricted() 469 LIST_FOREACH(laddr, &stcb->asoc.sctp_local_addr_list, sctp_nxt_addr) { in sctp_is_addr_restricted() 608 struct sctp_tcb *stcb, in sctp_choose_v4_boundspecific_stcb() argument 655 … (sctp_is_addr_restricted(stcb, (struct sockaddr *)sin))) { in sctp_choose_v4_boundspecific_stcb() 669 … (sctp_is_addr_restricted(stcb, (struct sockaddr *)sin))) { in sctp_choose_v4_boundspecific_stcb() 682 starting_point = stcb->asoc.last_used_address; in sctp_choose_v4_boundspecific_stcb() 684 if (stcb->asoc.last_used_address == NULL) { in sctp_choose_v4_boundspecific_stcb() 686 stcb->asoc.last_used_address = LIST_FIRST(&inp->sctp_addr_list); in sctp_choose_v4_boundspecific_stcb() [all …]
|
| D | sctp_peeloff.c | 90 struct sctp_tcb *stcb; in sctp_can_peel_off() local 95 stcb = sctp_findassociation_ep_asocid(inp, assoc_id); in sctp_can_peel_off() 96 if (stcb == NULL) { in sctp_can_peel_off() 107 struct sctp_tcb *stcb; in sctp_do_peeloff() local 112 stcb = sctp_findassociation_ep_asocid(inp, assoc_id); in sctp_do_peeloff() 113 if (stcb == NULL) in sctp_do_peeloff() 127 sctp_move_pcb_and_assoc(inp, n_inp, stcb); in sctp_do_peeloff() 133 sctp_grub_through_socket_buffer(inp, head, so, stcb); in sctp_do_peeloff() 142 struct sctp_tcb *stcb; in sctp_get_peeloff() local 155 stcb = sctp_findassociation_ep_asocid(inp, assoc_id); in sctp_get_peeloff() [all …]
|
| D | sctp_var.h | 123 #define sctp_total_flight_decrease(stcb, tp1) do { \ argument 124 if (stcb->asoc.total_flight >= tp1->book_size) { \ 125 stcb->asoc.total_flight -= tp1->book_size; \ 126 if (stcb->asoc.total_flight_count > 0) \ 127 stcb->asoc.total_flight_count--; \ 129 stcb->asoc.total_flight = 0; \ 130 stcb->asoc.total_flight_count = 0; \ 134 #define sctp_total_flight_increase(stcb, tp1) do { \ argument 135 (stcb)->asoc.total_flight_count++; \ 136 (stcb)->asoc.total_flight += (tp1)->book_size; \
|
| D | sctputil.h | 132 #define sctp_get_associd(stcb) ((sctp_assoc_t)stcb->asoc.my_vtag)
|
| D | sctp_timer.h | 60 int sctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
|
| D | sctp_structs.h | 95 struct sctp_tcb *stcb; /* assoc */ member
|
| /netbsd/src/sys/netinet6/ |
| D | sctp6_usrreq.c | 125 struct sctp_tcb *stcb = NULL; in sctp6_input() local 183 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch), in sctp6_input() 186 if ((in6p) && (stcb)) { in sctp6_input() 187 sctp_send_packet_dropped(stcb, net, m, iphlen, 1); in sctp6_input() 188 sctp_chunk_output((struct sctp_inpcb *)in6p, stcb, 2); in sctp6_input() 189 } else if ((in6p != NULL) && (stcb == NULL)) { in sctp6_input() 210 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch), in sctp6_input() 229 } else if (stcb == NULL) { in sctp6_input() 279 in6p, stcb, net, ecn_bits); in sctp6_input() 296 if (stcb) { in sctp6_input() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/ |
| D | self_test_core.c | 37 SELF_TEST_CB *stcb; in self_test_set_callback_new() local 39 stcb = OPENSSL_zalloc(sizeof(*stcb)); in self_test_set_callback_new() 40 return stcb; in self_test_set_callback_new() 43 static void self_test_set_callback_free(void *stcb) in self_test_set_callback_free() argument 45 OPENSSL_free(stcb); in self_test_set_callback_free() 63 SELF_TEST_CB *stcb = get_self_test_callback(libctx); in OSSL_SELF_TEST_set_callback() local 65 if (stcb != NULL) { in OSSL_SELF_TEST_set_callback() 66 stcb->cb = cb; in OSSL_SELF_TEST_set_callback() 67 stcb->cbarg = cbarg; in OSSL_SELF_TEST_set_callback() 74 SELF_TEST_CB *stcb = get_self_test_callback(libctx); in OSSL_SELF_TEST_get_callback() local [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/cpu/ |
| D | mep-h1.cpu | 25 "stcb $rn,($rma)" 31 (unit u-stcb))))
|
| D | mep-c5.cpu | 36 "stcb $rn,($rma)" 42 (unit u-stcb))))
|
| D | mep-core.cpu | 163 (unit u-stcb "stcb Unit" () 2049 (dnci stcb "store in control bus space" (VOLATILE (STALL STCB)) 2050 "stcb $rn,$uimm16" 2055 (unit u-stcb))))
|
| /netbsd/src/external/gpl3/binutils/dist/cpu/ |
| D | mep-h1.cpu | 25 "stcb $rn,($rma)" 31 (unit u-stcb))))
|
| D | mep-c5.cpu | 36 "stcb $rn,($rma)" 42 (unit u-stcb))))
|
| D | mep-core.cpu | 163 (unit u-stcb "stcb Unit" () 2049 (dnci stcb "store in control bus space" (VOLATILE (STALL STCB)) 2050 "stcb $rn,$uimm16" 2055 (unit u-stcb))))
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| D | rsa_gen.c | 446 OSSL_CALLBACK *stcb = NULL; in rsa_keygen() local 449 OSSL_SELF_TEST_get_callback(libctx, &stcb, &stcbarg); in rsa_keygen() 450 ok = rsa_keygen_pairwise_test(rsa, stcb, stcbarg); in rsa_keygen()
|