Home
last modified time | relevance | path

Searched refs:chk (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/sys/netinet/
H A Dsctp_timer.c57 struct sctp_tmit_chunk *chk; in sctp_audit_retranmission_queue() local
64 TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) { in sctp_audit_retranmission_queue()
65 if (chk->sent == SCTP_DATAGRAM_RESEND) { in sctp_audit_retranmission_queue()
70 TAILQ_FOREACH(chk, &asoc->control_send_queue, sctp_next) { in sctp_audit_retranmission_queue()
71 if (chk->sent == SCTP_DATAGRAM_RESEND) { in sctp_audit_retranmission_queue()
75 TAILQ_FOREACH(chk, &asoc->asconf_send_queue, sctp_next) { in sctp_audit_retranmission_queue()
76 if (chk->sent == SCTP_DATAGRAM_RESEND) { in sctp_audit_retranmission_queue()
437 struct sctp_tmit_chunk *chk, *nchk; in sctp_recover_sent_list() local
441 TAILQ_FOREACH_SAFE(chk, &asoc->sent_queue, sctp_next, nchk) { in sctp_recover_sent_list()
442 if (SCTP_TSN_GE(asoc->last_acked_seq, chk->rec.data.tsn)) { in sctp_recover_sent_list()
[all …]
H A Dsctp_output.c6213 struct sctp_tmit_chunk *chk, *nchk; in sctp_prune_prsctp() local
6218 TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) { in sctp_prune_prsctp()
6225 if (PR_SCTP_BUF_ENABLED(chk->flags)) { in sctp_prune_prsctp()
6230 if (chk->rec.data.timetodrop.tv_sec > (long)srcv->sinfo_timetolive) { in sctp_prune_prsctp()
6238 if (chk->data) { in sctp_prune_prsctp()
6246 if (chk->sent > SCTP_DATAGRAM_UNSENT) in sctp_prune_prsctp()
6250 ret_spc = sctp_release_pr_sctp_chunk(stcb, chk, in sctp_prune_prsctp()
6262 TAILQ_FOREACH_SAFE(chk, &asoc->send_queue, sctp_next, nchk) { in sctp_prune_prsctp()
6264 if (PR_SCTP_BUF_ENABLED(chk->flags)) { in sctp_prune_prsctp()
6265 if (chk->rec.data.timetodrop.tv_sec > (long)srcv->sinfo_timetolive) { in sctp_prune_prsctp()
[all …]
H A Dsctp_indata.c66 struct sctp_tmit_chunk *chk, int hold_rlock);
415 struct sctp_tmit_chunk *chk, in sctp_abort_in_reasm() argument
426 chk->rec.data.tsn, in sctp_abort_in_reasm()
427 chk->rec.data.sid, in sctp_abort_in_reasm()
428 chk->rec.data.fsn, chk->rec.data.mid); in sctp_abort_in_reasm()
434 chk->rec.data.tsn, in sctp_abort_in_reasm()
435 chk->rec.data.sid, in sctp_abort_in_reasm()
436 chk->rec.data.fsn, in sctp_abort_in_reasm()
437 (uint16_t)chk->rec.data.mid); in sctp_abort_in_reasm()
440 sctp_m_freem(chk->data); in sctp_abort_in_reasm()
[all …]
H A Dsctp_input.c269 struct sctp_tmit_chunk *chk, *nchk; in sctp_process_init() local
273 TAILQ_FOREACH_SAFE(chk, &asoc->send_queue, sctp_next, nchk) { in sctp_process_init()
274 if (chk->rec.data.sid >= newcnt) { in sctp_process_init()
275 TAILQ_REMOVE(&asoc->send_queue, chk, sctp_next); in sctp_process_init()
277 if (asoc->strmout[chk->rec.data.sid].chunks_on_queues > 0) { in sctp_process_init()
278 asoc->strmout[chk->rec.data.sid].chunks_on_queues--; in sctp_process_init()
281 panic("No chunks on the queues for sid %u.", chk->rec.data.sid); in sctp_process_init()
284 if (chk->data != NULL) { in sctp_process_init()
285 sctp_free_bufspace(stcb, asoc, chk, 1); in sctp_process_init()
287 0, chk, SCTP_SO_NOT_LOCKED); in sctp_process_init()
[all …]
H A Dsctp_pcb.c4506 struct sctp_tmit_chunk *chk, *nchk; in sctp_clean_up_stream() local
4520 TAILQ_FOREACH_SAFE(chk, &control->reasm, sctp_next, nchk) { in sctp_clean_up_stream()
4521 TAILQ_REMOVE(&control->reasm, chk, sctp_next); in sctp_clean_up_stream()
4522 if (chk->data) { in sctp_clean_up_stream()
4523 sctp_m_freem(chk->data); in sctp_clean_up_stream()
4524 chk->data = NULL; in sctp_clean_up_stream()
4526 if (chk->holds_key_ref) in sctp_clean_up_stream()
4527 sctp_auth_key_release(stcb, chk->auth_keyid, SCTP_SO_LOCKED); in sctp_clean_up_stream()
4528 sctp_free_remote_addr(chk->whoTo); in sctp_clean_up_stream()
4529 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); in sctp_clean_up_stream()
[all …]
H A Dsctputil.c633 struct sctp_tmit_chunk *chk; in sctp_auditing() local
669 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { in sctp_auditing()
670 if (chk->sent == SCTP_DATAGRAM_RESEND) { in sctp_auditing()
672 } else if (chk->sent < SCTP_DATAGRAM_RESEND) { in sctp_auditing()
673 tot_out += chk->book_size; in sctp_auditing()
737 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) { in sctp_auditing()
738 if ((chk->whoTo == lnet) && in sctp_auditing()
739 (chk->sent < SCTP_DATAGRAM_RESEND)) { in sctp_auditing()
740 tot_out += chk->book_size; in sctp_auditing()
1841 struct sctp_tmit_chunk *chk; in sctp_timeout_handler() local
[all …]
/freebsd/contrib/netbsd-tests/lib/libcurses/tests/
H A Dclear4 compare clear1.chk
11 compare clear2.chk
14 compare clear3.chk
17 compare clear4.chk
19 compare fill.chk
22 compare clear5.chk
29 compare clear6.chk
32 compare clear7.chk
34 comparend home.chk
35 compare fill.chk
[all …]
H A Dcopywin6 compare copywin1.chk
14 compare copywin2.chk
17 compare copywin3.chk
22 compare copywin4.chk
30 compare copywin5.chk
33 compare copywin6.chk
38 compare copywin7.chk
46 compare copywin8.chk
54 compare copywin9.chk
57 compare copywin10.chk
[all …]
H A Dassume_default_colors5 compare color_start.chk
7 compare color_default.chk
11 compare color_blue_back.chk
15 compare color_red_fore.chk
19 compare color_default.chk
H A Dbackground5 compare background1.chk
8 compare background2.chk
14 compare background3.chk
18 compare background4.chk
22 compare background5.chk
H A Dcurs_set3 compare curs_set1.chk
5 compare curs_set2.chk
7 compare curs_set3.chk
H A Dcolor_set4 comparend color_start.chk
5 compare color_blank_draw.chk
10 compare color_set.chk
H A Dchgat6 compare chgat1.chk
9 compare chgat2.chk
14 compare chgat3.chk
H A Dstart_color4 comparend color_start.chk
5 compare color_blank_draw.chk
H A Dwborder4 compare wborder.chk
6 compare wborder_refresh.chk
H A Dgetstr4 compare wgetstr.chk
6 compare wgetstr_refresh.chk
H A Dbox5 compare wborder.chk
8 compare box_standout.chk
H A Dwscrl6 compare wscrl1.chk
11 compare wscrl2.chk
/freebsd/contrib/flex/src/
H A Dtblcmp.c300 chk = reallocate_integer_array (chk, current_max_xpairs); in expand_nxt_chk()
302 memset(chk + old_max, 0, MAX_XPAIRS_INCREMENT * sizeof(int)); in expand_nxt_chk()
366 if (chk[i - 1] == 0) { in find_table_space()
368 if (chk[i] == 0) in find_table_space()
398 ptr_to_last_entry_in_state = &chk[i + numecs + 1]; in find_table_space()
400 for (chk_ptr = &chk[i + 1]; in find_table_space()
423 memset(chk, 0, (size_t) current_max_xpairs * sizeof(int)); in inittbl()
462 chk[tblend] = jamstate; in mkdeftbl()
466 chk[tblend + i] = jamstate; in mkdeftbl()
552 for (++baseaddr; chk[baseaddr] != 0; ++baseaddr) ; in mkentry()
[all …]
H A Dgen.c251 chk[tblend + 1] = numecs + 1; in mkctbl()
252 chk[tblend + 2] = 1; /* anything but EOB */ in mkctbl()
264 chk[offset] = EOB_POSITION; in mkctbl()
265 chk[offset - 1] = ACTION_POSITION; in mkctbl()
270 if (chk[i] == EOB_POSITION) { in mkctbl()
275 else if (chk[i] == ACTION_POSITION) { in mkctbl()
280 else if (chk[i] > numecs || chk[i] == 0) { in mkctbl()
286 tdata[curr++] = chk[i]; in mkctbl()
287 tdata[curr++] = base[nxt[i]] - (i - chk[i]); in mkctbl()
293 tdata[curr++] = chk[tblend + 1]; in mkctbl()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_utl.c876 static int do_x509_check(X509 *x, const char *chk, size_t chklen, in do_x509_check() argument
897 if (chklen > 1 && chk[0] == '.') in do_x509_check()
910 chklen = strlen(chk); in do_x509_check()
979 chk, chklen, peername)) != 0) in do_x509_check()
1001 chk, chklen, peername)) != 0) in do_x509_check()
1007 int X509_check_host(X509 *x, const char *chk, size_t chklen, in X509_check_host() argument
1010 if (chk == NULL) in X509_check_host()
1018 chklen = strlen(chk); in X509_check_host()
1019 else if (memchr(chk, '\0', chklen > 1 ? chklen - 1 : chklen)) in X509_check_host()
1021 if (chklen > 1 && chk[chklen - 1] == '\0') in X509_check_host()
[all …]
/freebsd/crypto/openssl/crypto/objects/
H A Dobjxref.pl135 my ($chk) = @_;
136 if (!exists $oid_tbl{$chk})
138 die "Can't find \"$chk\"\n";
/freebsd/usr.sbin/ckdist/
H A Dckdist.c222 char sum[MDSUMLEN + 1], chk[MDSUMLEN + 1]; in chkmd5() local
247 } else if (!MD5File(dname, chk)) in chkmd5()
249 else if (strcmp(chk, sum)) in chkmd5()
272 uint32_t chk; in chkinf() local
300 if (crc(fd, &chk, &len)) in chkinf()
302 else if (chk != sum) in chkinf()
/freebsd/stand/libsa/
H A Ddosfs.c559 u_int chk, x, xdn; in dos_readdir() local
562 x = chk = 0; in dos_readdir()
591 chk = dd.xde.chk; in dos_readdir()
593 dd.xde.chk != chk) in dos_readdir()
608 if (x == chk) in dos_readdir()
736 u_int nsec, lsec, xdn, chk, sec, ent, x; in lookup() local
749 xdn = chk = 0; in lookup()
770 dir[ent].xde.chk == chk)) { in lookup()
772 chk = dir[ent].xde.chk; in lookup()
787 ok = chk == x && in lookup()
/freebsd/contrib/sendmail/libsmutil/
H A Dt-lockfile.c21 static int noio, chk; variable
257 if (chk)
365 shared = nb = noio = reader = writer = chk = 0;
372 chk = 1;

123