cert_as
const struct cert_as *ases, size_t num_ases)
as_warn(const char *fn, const char *msg, const struct cert_as *as)
as_check_overlap(const struct cert_as *as, const char *fn,
const struct cert_as *ases, size_t num_ases, int quiet)
append_as(const char *fn, struct cert_as *ases, size_t *num_ases,
const struct cert_as *as)
sbgp_as_range(const char *fn, struct cert_as *ases, size_t *num_ases,
struct cert_as as;
memset(&as, 0, sizeof(struct cert_as));
sbgp_as_id(const char *fn, struct cert_as *ases, size_t *num_ases,
struct cert_as as;
memset(&as, 0, sizeof(struct cert_as));
sbgp_as_inherit(const char *fn, struct cert_as *ases, size_t *num_ases)
struct cert_as as;
memset(&as, 0, sizeof(struct cert_as));
struct cert_as **out_as, size_t *out_num_ases)
struct cert_as *as = NULL;
as = calloc(num, sizeof(struct cert_as));
struct cert_as *allow_ases = NULL, *deny_ases = NULL;
struct cert_as *allow_ases; /* allowed AS numbers and ranges */
struct cert_as *deny_ases; /* forbidden AS numbers and ranges */
constraints_check_as(const char *fn, struct cert_as *cert,
const struct cert_as *allow_ases, size_t num_allow_ases,
const struct cert_as *deny_ases, size_t num_deny_ases)
struct cert_as *allow_ases, *deny_ases;
struct cert_as *ases; /* list of AS numbers and ranges */
struct cert_as *ases; /* AS resources */
int as_check_overlap(const struct cert_as *, const char *,
const struct cert_as *, size_t, int);
const struct cert_as *, size_t);
void as_warn(const char *, const char *, const struct cert_as *);
int sbgp_as_id(const char *, struct cert_as *, size_t *,
int sbgp_as_range(const char *, struct cert_as *, size_t *,
struct cert_as **, size_t *);
as_resources_print(struct cert_as *ases, size_t num_ases)
if ((rsc->ases = calloc(num_ases, sizeof(struct cert_as))) == NULL)