Home
last modified time | relevance | path

Searched refs:talid (Results 1 – 18 of 18) sorted by relevance

/openbsd-src/usr.sbin/rpki-client/
H A Dconstraints.c55 * into into tal_constraints[talid]. The load function only opens the fd
61 constraints_load_talid(int talid) in constraints_load_talid() argument
63 const char *tal = tals[talid]; in constraints_load_talid()
69 tal_constraints[talid].fd = -1; in constraints_load_talid()
91 tal_constraints[talid].fn = constraints; in constraints_load_talid()
92 tal_constraints[talid].fd = fd; in constraints_load_talid()
93 tal_constraints[talid].warn = warning; in constraints_load_talid()
104 int talid; in constraints_load() local
106 for (talid = 0; talid < tals in constraints_load()
113 int saved_errno, talid; constraints_unload() local
331 constraints_parse_talid(int talid) constraints_parse_talid() argument
506 int talid; constraints_parse() local
571 int talid = cert->talid; constraints_validate() local
[all...]
H A Daspa.c164 aspa_parse(X509 **x509, const char *fn, int talid, const unsigned char *der, in aspa_parse() argument
217 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in aspa_parse()
262 io_simple_buffer(b, &p->talid, sizeof(p->talid)); in aspa_buffer()
289 io_read_buf(b, &p->talid, sizeof(p->talid)); in aspa_read()
339 v->talid = aspa->talid; in aspa_insert_vaps()
353 repo_stat_inc(repo_byid(found->repoid), found->talid, in aspa_insert_vaps()
356 found->talid in aspa_insert_vaps()
[all...]
H A Droa.c238 roa_parse(X509 **x509, const char *fn, int talid, const unsigned char *der, in roa_parse() argument
284 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in roa_parse()
343 io_simple_buffer(b, &p->talid, sizeof(p->talid)); in roa_buffer()
369 io_read_buf(b, &p->talid, sizeof(p->talid)); in roa_read()
405 v->talid = roa->talid; in roa_insert_vrps()
423 found->talid, RTYPE_ROA, STYPE_DEC_UNIQUE); in roa_insert_vrps()
425 found->talid in roa_insert_vrps()
[all...]
H A Drepo.c103 int talid;
632 repo_alloc(int talid) in repo_alloc()
640 rp->talid = talid; in repo_alloc()
1191 repo_lookup(int talid, const char *uri, const char *notify) in repo_lookup()
1215 rp = repo_alloc(talid); in repo_lookup()
1222 if (++talrepocnt[talid] >= MAX_REPO_PER_TAL) { in repo_byid()
1223 if (talrepocnt[talid] == MAX_REPO_PER_TAL) in repo_byid()
1224 warnx("too many repositories under %s", tals[talid]); in repo_byid()
1393 return rp->talid; in repo_check_timeout()
102 int talid; global() member
631 repo_alloc(int talid) repo_alloc() argument
1156 repo_lookup(int talid,const char * uri,const char * notify) repo_lookup() argument
1446 repo_stat_inc(struct repo * rp,int talid,enum rtype type,enum stype subtype) repo_stat_inc() argument
1562 repo_tal_stats_collect(void (* cb)(const struct repo *,const struct repotalstats *,void *),int talid,void * arg) repo_tal_stats_collect() argument
[all...]
H A Dparser.c176 if ((roa = roa_parse(&x509, file, entp->talid, der, len)) == NULL) in proc_parser_roa()
191 roa->talid = a->cert->talid; in proc_parser_roa()
218 if ((spl = spl_parse(&x509, file, entp->talid, der, len)) == NULL) in proc_parser_spl()
233 spl->talid = a->cert->talid; in proc_parser_spl()
373 if ((mft = mft_parse(&x509, file, entp->talid, der, len)) == NULL) { in proc_parser_mft_pre()
401 mft->talid = a->cert->talid; in proc_parser_mft_pre()
587 cert->talid in proc_parser_cert()
[all...]
H A Dspl.c245 spl_parse(X509 **x509, const char *fn, int talid, const unsigned char *der, in spl_parse() argument
291 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in spl_parse()
346 io_simple_buffer(b, &s->talid, sizeof(s->talid)); in spl_buffer()
373 io_read_buf(b, &s->talid, sizeof(s->talid)); in spl_read()
430 vsp->talid = spl->talid; in spl_insert_vsps()
440 found->talid, RTYPE_SPL, STYPE_DEC_UNIQUE); in spl_insert_vsps()
442 found->talid in spl_insert_vsps()
[all...]
H A Dmain.c157 io_read_buf(b, &ent->talid, sizeof(ent->talid)); in entity_read_req()
178 io_simple_buffer(b, &ent->talid, sizeof(ent->talid)); in entity_write_req()
195 int talid = 0, certid = 0; in entity_write_repo()
204 io_simple_buffer(b, &talid, sizeof(talid)); in entity_write_repo()
238 struct repo *rp, unsigned char *data, size_t datasz, int talid, int certid, in entityq_add()
248 p->talid = talid; in entityq_add()
196 int talid = 0, certid = 0; entity_write_repo() local
239 entityq_add(char * path,char * file,enum rtype type,enum location loc,struct repo * rp,unsigned char * data,size_t datasz,int talid,int certid,char * mftaki) entityq_add() argument
434 queue_add_file(const char * file,enum rtype type,int talid) queue_add_file() argument
579 int talid; entity_process() local
[all...]
H A Dextern.h129 int talid; /* cert is covered by which TAL */
222 int talid;
248 int talid; /* ROAs are covered by which TAL */
269 int talid; /* RSC covered by what TAL */
302 int talid;
331 int talid; /* TAK covered by what TAL */
382 int talid; /* TAL the GBR is chained up to */
390 int talid; /* TAL the ASPA is chained up to */
414 int talid;
435 int talid; /* covere
127 int talid; /* cert is covered by which TAL */ global() member
220 int talid; global() member
245 int talid; /* ROAs are covered by which TAL */ global() member
266 int talid; /* RSC covered by what TAL */ global() member
299 int talid; global() member
328 int talid; /* TAK covered by what TAL */ global() member
379 int talid; /* TAL the GBR is chained up to */ global() member
387 int talid; /* TAL the ASPA is chained up to */ global() member
411 int talid; global() member
432 int talid; /* covered by which TAL */ global() member
452 int talid; global() member
467 int talid; /* covered by which TAL */ global() member
570 int talid; /* tal identifier */ global() member
[all...]
H A Dfilemode.c229 cert->talid = a->cert->talid; in parse_load_certchain()
270 cert->talid = tal->id; in parse_load_ta()
539 eecert = cert_parse_ee_cert(file, a->cert->talid, x509); in proc_parser_file()
544 cert->talid = a->cert->talid; in proc_parser_file()
697 tal->id = entp->talid;
708 io_simple_buffer(b, &entp->talid, sizeof(entp->talid)); in proc_filemode()
H A Doutput-json.c140 json_do_string("ta", taldescs[vsp->talid]); in output_spl()
165 json_do_string("ta", taldescs[v->talid]); in output_json()
177 json_do_string("ta", taldescs[b->talid]); in output_json()
H A Dgbr.c35 gbr_parse(X509 **x509, const char *fn, int talid, const unsigned char *der, in gbr_parse() argument
80 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in gbr_parse()
H A Dcert.c742 cert_parse_ee_cert(const char *fn, int talid, X509 *x) in cert_parse_ee_cert()
786 cert->talid = talid; in cert_parse_ee_cert()
1242 io_simple_buffer(b, &p->talid, sizeof(p->talid)); in authcmp()
1276 io_read_buf(b, &p->talid, sizeof(p->talid)); in auth_insert()
1355 cert->certid = cert->talid; in cert_insert_brks()
1393 b->talid = cert->talid;
741 cert_parse_ee_cert(const char * fn,int talid,X509 * x) cert_parse_ee_cert() argument
[all...]
H A Dmft.c418 mft_parse(X509 **x509, const char *fn, int talid, const unsigned char *der, in mft_parse()
485 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in mft_parse()
544 io_simple_buffer(b, &p->talid, sizeof(p->talid)); in mft_buffer()
578 io_read_buf(b, &p->talid, sizeof(p->talid)); in mft_read()
412 mft_parse(X509 ** x509,const char * fn,int talid,const unsigned char * der,size_t len) mft_parse() argument
H A Doutput-csv.c37 v->maxlength, taldescs[v->talid], in output_csv()
H A Dgeofeed.c98 geofeed_parse(X509 **x509, const char *fn, int talid, char *buf, size_t len) in geofeed_parse() argument
248 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in geofeed_parse()
H A Dtak.c205 tak_parse(X509 **x509, const char *fn, int talid, const unsigned char *der, in tak_parse()
251 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in tak_parse()
204 tak_parse(X509 ** x509,const char * fn,int talid,const unsigned char * der,size_t len) tak_parse() argument
H A Doutput-ometric.c126 int talid = *(int *)arg; in repo_tal_stats()
128 values[0] = taldescs[talid]; in repo_tal_stats()
122 int talid = *(int *)arg; repo_tal_stats() local
H A Drsc.c382 rsc_parse(X509 **x509, const char *fn, int talid, const unsigned char *der, in rsc_parse() argument
431 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL) in rsc_parse()