Searched refs:cte (Results 1 – 11 of 11) sorted by relevance
| /openbsd/src/usr.sbin/relayd/ |
| D | check_tls.c | 43 struct ctl_tcp_event *cte = arg; in check_tls_read() local 48 cte->host->up = HOST_DOWN; in check_tls_read() 49 check_tls_cleanup(cte); in check_tls_read() 50 hce_notify_done(cte->host, HCE_TLS_READ_TIMEOUT); in check_tls_read() 56 ret = tls_read(cte->tls, rbuf, sizeof(rbuf)); in check_tls_read() 58 if (ibuf_add(cte->buf, rbuf, ret) == -1) in check_tls_read() 60 if (cte->validate_read != NULL && in check_tls_read() 61 cte->validate_read(cte) == 0) { in check_tls_read() 62 check_tls_cleanup(cte); in check_tls_read() 63 hce_notify_done(cte->host, cte->host->he); in check_tls_read() [all …]
|
| D | check_tcp.c | 49 check_tcp(struct ctl_tcp_event *cte) in check_tcp() argument 57 switch (cte->host->conf.ss.ss_family) { in check_tcp() 59 ((struct sockaddr_in *)&cte->host->conf.ss)->sin_port = in check_tcp() 60 cte->table->conf.port; in check_tcp() 63 ((struct sockaddr_in6 *)&cte->host->conf.ss)->sin6_port = in check_tcp() 64 cte->table->conf.port; in check_tcp() 68 len = ((struct sockaddr *)&cte->host->conf.ss)->sa_len; in check_tcp() 70 if ((s = socket(cte->host->conf.ss.ss_family, in check_tcp() 79 cte->s = s; in check_tcp() 85 if (cte->host->conf.ttl > 0) in check_tcp() [all …]
|
| D | hce.c | 112 if (event_initialized(&host->cte.ev)) { in hce_disable_events() 113 event_del(&host->cte.ev); in hce_disable_events() 114 close(host->cte.s); in hce_disable_events() 143 if (event_initialized(&host->cte.ev)) { in hce_launch_checks() 144 event_del(&host->cte.ev); in hce_launch_checks() 145 close(host->cte.s); in hce_launch_checks() 147 host->cte.s = -1; in hce_launch_checks() 168 bcopy(&tv, &host->cte.tv_start, in hce_launch_checks() 169 sizeof(host->cte.tv_start)); in hce_launch_checks() 180 host->cte.host = host; in hce_launch_checks() [all …]
|
| D | relayd.c | 532 if (event_initialized(&host->cte.ev)) { in purge_table() 533 event_del(&host->cte.ev); in purge_table() 534 close(host->cte.s); in purge_table() 536 ibuf_free(host->cte.buf); in purge_table() 537 tls_free(host->cte.tls); in purge_table()
|
| D | relayd.h | 447 struct ctl_tcp_event cte; member
|
| D | config.c | 415 host->cte.s = -1; in config_gethost()
|
| /openbsd/src/usr.bin/ctfconv/ |
| D | generate.c | 286 struct ctf_enum cte; in imcs_add_type() local 288 cte.cte_name = imcs_add_string(imcs, im_name(im)); in imcs_add_type() 289 cte.cte_value = im->im_ref; in imcs_add_type() 291 dbuf_copy(&imcs->body, &cte, sizeof(cte)); in imcs_add_type()
|
| /openbsd/src/sys/scsi/ |
| D | cd.c | 892 struct cd_toc_entry *cte; in cdioctl() local 916 cte = &toc->entries[ntracks]; in cdioctl() 917 cte->addr_type = CD_LBA_FORMAT; in cdioctl() 921 swap16_multi((u_int16_t *)&cte->addr, in cdioctl() 922 sizeof(cte->addr) / 2); in cdioctl() 925 cte->addr.lba = betoh32(cte->addr.lba); in cdioctl() 941 struct cd_toc_entry *cte; in cdioctl() local 959 cte = &toc->entries[0]; in cdioctl() 962 swap16_multi((u_int16_t *)&cte->addr, in cdioctl() 963 sizeof(cte->addr) / 2); in cdioctl() [all …]
|
| /openbsd/src/usr.bin/ctfdump/ |
| D | ctfdump.c | 569 struct ctf_enum *cte; in ctf_dump_type() local 574 if (toff > (stroff - sizeof(*cte))) in ctf_dump_type() 577 cte = (struct ctf_enum *)(p + toff); in ctf_dump_type() 581 ctf_off2name(cth, data, dlen, cte->cte_name), in ctf_dump_type() 582 cte->cte_value); in ctf_dump_type()
|
| /openbsd/src/sys/ddb/ |
| D | db_ctf.c | 566 struct ctf_enum *cte; in db_ctf_pprint_enum() local 576 cte = (struct ctf_enum *)(p + toff); in db_ctf_pprint_enum() 577 toff += sizeof(*cte); in db_ctf_pprint_enum() 579 if (val == cte->cte_value) { in db_ctf_pprint_enum() 580 name = db_ctf_off2name(cte->cte_name); in db_ctf_pprint_enum()
|
| /openbsd/src/usr.bin/calendar/calendars/ |
| D | calendar.computer | 49 05/27 First joint meeting of U.S. and European ALGOL definition cte., 1958 50 05/28 First meeting of COBOL definition cte. (eventually CODASYL), 1959
|