Searched refs:chk (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-current/sys/netinet/
H A Dsctp_timer.c57 struct sctp_tmit_chunk *chk; local
64 TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) {
65 if (chk->sent == SCTP_DATAGRAM_RESEND) {
70 TAILQ_FOREACH(chk, &asoc->control_send_queue, sctp_next) {
71 if (chk->sent == SCTP_DATAGRAM_RESEND) {
75 TAILQ_FOREACH(chk, &asoc->asconf_send_queue, sctp_next) {
76 if (chk->sent == SCTP_DATAGRAM_RESEND) {
437 struct sctp_tmit_chunk *chk, *nchk; local
441 TAILQ_FOREACH_SAFE(chk, &asoc->sent_queue, sctp_next, nchk) {
442 if (SCTP_TSN_GE(asoc->last_acked_seq, chk
495 struct sctp_tmit_chunk *chk, *nchk; local
1117 struct sctp_tmit_chunk *strrst = NULL, *chk = NULL; local
1181 struct sctp_tmit_chunk *asconf, *chk; local
[all...]
H A Dsctp_output.c6215 struct sctp_tmit_chunk *chk, *nchk; local
6220 TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) {
6227 if (PR_SCTP_BUF_ENABLED(chk->flags)) {
6232 if (chk->rec.data.timetodrop.tv_sec > (long)srcv->sinfo_timetolive) {
6240 if (chk->data) {
6248 if (chk->sent > SCTP_DATAGRAM_UNSENT)
6252 ret_spc = sctp_release_pr_sctp_chunk(stcb, chk,
6264 TAILQ_FOREACH_SAFE(chk, &asoc->send_queue, sctp_next, nchk) {
6266 if (PR_SCTP_BUF_ENABLED(chk->flags)) {
6267 if (chk
6993 struct sctp_tmit_chunk *chk, *nchk; local
7012 struct sctp_tmit_chunk *chk, *nchk; local
7132 struct sctp_tmit_chunk *chk, *nchk; local
7241 struct sctp_tmit_chunk *chk; local
7776 struct sctp_tmit_chunk *chk; local
7789 struct sctp_tmit_chunk *chk; local
7837 struct sctp_tmit_chunk *chk, *nchk; local
8961 struct sctp_tmit_chunk *chk; local
9031 struct sctp_tmit_chunk *chk; local
9117 struct sctp_tmit_chunk *chk; local
9166 struct sctp_tmit_chunk *chk; local
9213 struct sctp_tmit_chunk *chk; local
9256 struct sctp_tmit_chunk *chk; local
9322 struct sctp_tmit_chunk *chk; local
9372 struct sctp_tmit_chunk *chk; local
9476 struct sctp_tmit_chunk *chk, *fwd; local
10333 struct sctp_tmit_chunk *chk, *at, *tp1, *last; local
10553 struct sctp_tmit_chunk *chk, *a_chk; local
11375 struct sctp_tmit_chunk *chk; local
11483 struct sctp_tmit_chunk *chk; local
11548 struct sctp_tmit_chunk *chk; local
11696 struct sctp_tmit_chunk *chk; local
11754 sctp_add_stream_reset_out(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, uint32_t seq, uint32_t resp_seq, uint32_t last_sent) argument
11827 sctp_add_stream_reset_in(struct sctp_tmit_chunk *chk, int number_entries, uint16_t *list, uint32_t seq) argument
11868 sctp_add_stream_reset_tsn(struct sctp_tmit_chunk *chk, uint32_t seq) argument
11896 sctp_add_stream_reset_result(struct sctp_tmit_chunk *chk, uint32_t resp_seq, uint32_t result) argument
11930 struct sctp_tmit_chunk *chk; local
11987 sctp_add_stream_reset_result_tsn(struct sctp_tmit_chunk *chk, uint32_t resp_seq, uint32_t result, uint32_t send_una, uint32_t recv_next) argument
12019 sctp_add_an_out_stream(struct sctp_tmit_chunk *chk, uint32_t seq, uint16_t adding) argument
12052 sctp_add_an_in_stream(struct sctp_tmit_chunk *chk, uint32_t seq, uint16_t adding) argument
12087 struct sctp_tmit_chunk *chk; local
12165 struct sctp_tmit_chunk *chk; local
[all...]
H A Dsctp_indata.c66 struct sctp_tmit_chunk *chk, int hold_rlock);
415 struct sctp_tmit_chunk *chk,
426 chk->rec.data.tsn,
427 chk->rec.data.sid,
428 chk->rec.data.fsn, chk->rec.data.mid);
434 chk->rec.data.tsn,
435 chk->rec.data.sid,
436 chk->rec.data.fsn,
437 (uint16_t)chk
413 sctp_abort_in_reasm(struct sctp_tcb *stcb, struct sctp_queued_to_read *control, struct sctp_tmit_chunk *chk, int *abort_flag, int opspot) argument
454 struct sctp_tmit_chunk *chk, *nchk; local
780 struct sctp_tmit_chunk *chk, *lchk, *tchk; local
910 sctp_inject_old_unordered_data(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_queued_to_read *control, struct sctp_tmit_chunk *chk, int *abort_flag) argument
1283 sctp_add_chk_to_control(struct sctp_queued_to_read *control, struct sctp_stream_in *strm, struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_tmit_chunk *chk, int hold_rlock) argument
1367 sctp_queue_data_for_reasm(struct sctp_tcb *stcb, struct sctp_association *asoc, struct sctp_queued_to_read *control, struct sctp_tmit_chunk *chk, int created_control, int *abort_flag, uint32_t tsn) argument
1697 struct sctp_tmit_chunk *chk = NULL; /* make gcc happy */ local
3840 struct sctp_tmit_chunk *chk; local
5388 struct sctp_tmit_chunk *chk, *nchk; local
[all...]
H A Dsctp_input.c269 struct sctp_tmit_chunk *chk, *nchk; local
273 TAILQ_FOREACH_SAFE(chk, &asoc->send_queue, sctp_next, nchk) {
274 if (chk->rec.data.sid >= newcnt) {
275 TAILQ_REMOVE(&asoc->send_queue, chk, sctp_next);
277 if (asoc->strmout[chk->rec.data.sid].chunks_on_queues > 0) {
278 asoc->strmout[chk->rec.data.sid].chunks_on_queues--;
281 panic("No chunks on the queues for sid %u.", chk->rec.data.sid);
284 if (chk->data != NULL) {
285 sctp_free_bufspace(stcb, asoc, chk, 1);
287 0, chk, SCTP_SO_NOT_LOCKE
1361 struct sctp_tmit_chunk *chk, *nchk; local
1846 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
1861 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
2743 struct sctp_tmit_chunk *chk; local
2978 struct sctp_tmit_chunk *chk, *nchk; local
3370 struct sctp_tmit_chunk *chk; local
3410 struct sctp_tmit_chunk *chk; local
3437 struct sctp_tmit_chunk *chk; local
3591 sctp_handle_str_reset_request_in(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_in_request *req, int trunc) argument
3657 sctp_handle_str_reset_request_tsn(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_tsn_request *req) argument
3722 sctp_handle_str_reset_request_out(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_out_request *req, int trunc) argument
3799 sctp_handle_str_reset_add_strm(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_add_strm *str_add) argument
3891 sctp_handle_str_reset_add_out_strm(struct sctp_tcb *stcb, struct sctp_tmit_chunk *chk, struct sctp_stream_reset_add_strm *str_add) argument
3960 struct sctp_tmit_chunk *chk; local
4892 struct sctp_tmit_chunk *chk; local
[all...]
H A Dsctp_pcb.c4634 struct sctp_tmit_chunk *chk, *nchk; local
4648 TAILQ_FOREACH_SAFE(chk, &control->reasm, sctp_next, nchk) {
4649 TAILQ_REMOVE(&control->reasm, chk, sctp_next);
4650 if (chk->data) {
4651 sctp_m_freem(chk->data);
4652 chk->data = NULL;
4654 if (chk->holds_key_ref)
4655 sctp_auth_key_release(stcb, chk->auth_keyid, SCTP_SO_LOCKED);
4656 sctp_free_remote_addr(chk->whoTo);
4657 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
4686 struct sctp_tmit_chunk *chk, *nchk; local
4969 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
5002 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
5032 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
5053 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
5067 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); local
6759 struct sctp_tmit_chunk *chk, *nchk; local
[all...]
H A Dsctputil.c633 struct sctp_tmit_chunk *chk; local
669 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) {
670 if (chk->sent == SCTP_DATAGRAM_RESEND) {
672 } else if (chk->sent < SCTP_DATAGRAM_RESEND) {
673 tot_out += chk->book_size;
737 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) {
738 if ((chk->whoTo == lnet) &&
739 (chk->sent < SCTP_DATAGRAM_RESEND)) {
740 tot_out += chk->book_size;
1841 struct sctp_tmit_chunk *chk; local
3371 sctp_notify_send_failed(struct sctp_tcb *stcb, uint8_t sent, uint32_t error, struct sctp_tmit_chunk *chk, int so_locked) argument
4264 struct sctp_tmit_chunk *chk, *nchk; local
5070 struct sctp_tmit_chunk *chk = NULL, *tp2; local
[all...]
H A Dsctp_asconf.c1027 struct sctp_tmit_chunk *chk; local
1029 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) {
1030 if (chk->whoTo != NULL) {
1034 if (chk != NULL) {
1035 sctp_timer_start(SCTP_TIMER_TYPE_SEND, stcb->sctp_ep, stcb, chk->whoTo);
1048 struct sctp_tmit_chunk *chk; local
1055 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) {
1056 if (chk->whoTo == net) {
1057 if (chk->sent < SCTP_DATAGRAM_RESEND) {
1058 chk
2327 struct sctp_tmit_chunk *chk, *nchk; local
[all...]
/freebsd-current/contrib/flex/src/
H A Dtblcmp.c300 chk = reallocate_integer_array (chk, current_max_xpairs);
302 memset(chk + old_max, 0, MAX_XPAIRS_INCREMENT * sizeof(int));
318 * chk) able to accommodate the state
328 * consecutive unused records in the chk and nxt arrays.
335 * nxt and chk.
339 * chk/nxt, which should be 1.
345 * chk/nxt arrays.
366 if (chk[i - 1] == 0) {
368 if (chk[
[all...]
H A Dgen.c236 /* We need to have room in nxt/chk for two more slots: One for the
239 * nxt/chk pair with is EOB, i.e., 0, so we don't have to make sure
251 chk[tblend + 1] = numecs + 1;
252 chk[tblend + 2] = 1; /* anything but EOB */
264 chk[offset] = EOB_POSITION;
265 chk[offset - 1] = ACTION_POSITION;
270 if (chk[i] == EOB_POSITION) {
275 else if (chk[i] == ACTION_POSITION) {
280 else if (chk[i] > numecs || chk[
[all...]
/freebsd-current/crypto/openssl/crypto/x509/
H A Dv3_utl.c876 static int do_x509_check(X509 *x, const char *chk, size_t chklen, argument
897 if (chklen > 1 && chk[0] == '.')
910 chklen = strlen(chk);
933 chk, chklen, peername)) != 0)
951 chk, chklen, peername)) != 0)
973 chk, chklen, peername)) != 0)
979 int X509_check_host(X509 *x, const char *chk, size_t chklen, argument
982 if (chk == NULL)
990 chklen = strlen(chk);
991 else if (memchr(chk, '\
998 X509_check_email(X509 *x, const char *chk, size_t chklen, unsigned int flags) argument
1017 X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen, unsigned int flags) argument
[all...]
/freebsd-current/crypto/openssl/crypto/objects/
H A Dobjxref.pl135 my ($chk) = @_;
136 if (!exists $oid_tbl{$chk})
138 die "Can't find \"$chk\"\n";
/freebsd-current/stand/libsa/
H A Ddosfs.h84 u_char chk; /* checksum */ member in struct:__anon893
H A Ddosfs.c512 u_int chk, x, xdn; local
515 x = chk = 0;
544 chk = dd.xde.chk;
546 dd.xde.chk != chk)
561 if (x == chk)
671 u_int nsec, lsec, xdn, chk, sec, ent, x; local
684 xdn = chk = 0;
703 dir[ent].xde.chk
[all...]
/freebsd-current/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;
/freebsd-current/usr.sbin/ckdist/
H A Dckdist.c222 char sum[MDSUMLEN + 1], chk[MDSUMLEN + 1]; local
247 } else if (!MD5File(dname, chk))
249 else if (strcmp(chk, sum))
272 uint32_t chk; local
300 if (crc(fd, &chk, &len))
302 else if (chk != sum)
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c377 char *chk = strchr(hdr.tgturi, ':');
379 if (chk != NULL && chk[1U] == '/' && chk[2U] == '/') {
374 char *chk = strchr(hdr.tgturi, ':'); local
/freebsd-current/usr.sbin/lpr/common_source/
H A Drmjob.c119 if (lockchk(pp, pp->lock_file) && chk(current)) {
189 if (!chk(file))
224 chk(char *file) function
/freebsd-current/tools/test/stress2/misc/
H A Dfsck10.sh72 chk() { function
133 chk $diskimage
H A Dfsck11.sh76 chk() { function
142 chk $diskimage
H A Dfsck12.sh74 chk() { function
148 chk $diskimage
H A Dfsck8.sh77 chk() { function
135 chk $diskimage
H A Dfsck9.sh76 chk() { function
132 chk $diskimage
H A Dfsck.sh85 chk() { function
134 chk $diskimage
H A Dfsck13.sh83 chk() { function
124 chk $diskimage
/freebsd-current/usr.sbin/traceroute6/
H A Dtraceroute6.c1107 struct sctp_chunkhdr *chk; local
1191 chk = (struct sctp_chunkhdr *)(sctp + 1);
1192 chk->chunk_type = SCTP_SHUTDOWN_ACK;
1193 chk->chunk_flags = 0;
1194 chk->chunk_length = htons(4);
1198 chk = chk + 1;
1199 chk->chunk_type = SCTP_PAD_CHUNK;
1200 chk->chunk_flags = 0;
1201 chk
[all...]

Completed in 241 milliseconds

12