bgpd_config
control_setup(struct bgpd_config *conf)
struct bgpd_config *conf;
bgpd_rtr_conn_setup_done(int fd, struct bgpd_config *conf)
int reconfigure(const char *, struct bgpd_config *);
int send_config(struct bgpd_config *);
int dispatch_imsg(struct imsgbuf *, int, struct bgpd_config *);
int control_setup(struct bgpd_config *);
void bgpd_rtr_conn_setup_done(int, struct bgpd_config *);
reconfigure(const char *conffile, struct bgpd_config *conf)
struct bgpd_config *new_conf;
send_config(struct bgpd_config *conf)
dispatch_imsg(struct imsgbuf *imsgbuf, int idx, struct bgpd_config *conf)
struct bgpd_config *new_config(void);
void copy_config(struct bgpd_config *, const struct bgpd_config *);
int imsg_send_config(struct imsgbuf *, const struct bgpd_config *);
int imsg_recv_config(struct imsg *, struct bgpd_config *);
void free_config(struct bgpd_config *);
void expand_networks(struct bgpd_config *, struct network_head *);
struct bgpd_config *parse_config(const char *, struct peer_head *,
free_config(struct bgpd_config *conf)
merge_config(struct bgpd_config *xconf, struct bgpd_config *conf)
struct bgpd_config *
struct bgpd_config *conf;
if ((conf = calloc(1, sizeof(struct bgpd_config))) == NULL)
imsg_send_config(struct imsgbuf *imsgbuf, const struct bgpd_config *conf)
struct bgpd_config msg = { 0 };
imsg_recv_config(struct imsg *imsg, struct bgpd_config *conf)
struct bgpd_config msg;
free_deleted_peers(struct bgpd_config *conf)
prepare_listeners(struct bgpd_config *conf)
expand_networks(struct bgpd_config *c, struct network_head *nw)
copy_config(struct bgpd_config *to, const struct bgpd_config *from)
mrt_dump_v2_hdr(struct mrt *mrt, struct bgpd_config *conf)
static struct bgpd_config *conf;
init_config(struct bgpd_config *c)
struct bgpd_config *
tcp_md5_add_listener(struct bgpd_config *conf, struct peer *p)
tcp_md5_del_listener(struct bgpd_config *conf, struct peer *p)
print_rule(struct bgpd_config *conf, struct filter_rule *r)
print_mrt(struct bgpd_config *conf, uint32_t pid, uint32_t gid,
print_groups(struct bgpd_config *conf)
print_config(struct bgpd_config *conf, struct rib_names *rib_l)
print_mainconf(struct bgpd_config *conf)
void print_mainconf(struct bgpd_config *);
void print_peer(struct peer *, struct bgpd_config *, const char *);
void print_rule(struct bgpd_config *, struct filter_rule *);
void print_mrt(struct bgpd_config *, uint32_t, uint32_t,
void print_groups(struct bgpd_config *);
print_peer(struct peer *peer, struct bgpd_config *conf, const char *c)
static struct bgpd_config *conf, *nconf;
int mrt_dump_v2_hdr(struct mrt *, struct bgpd_config *);
static struct bgpd_config *conf, *nconf;
getpeerbydesc(struct bgpd_config *c, const char *descr)
getpeerbyip(struct bgpd_config *c, struct sockaddr *ip)
getpeerbyid(struct bgpd_config *c, uint32_t peerid)
merge_peers(struct bgpd_config *c, struct bgpd_config *nc)
init_peer(struct peer *p, struct bgpd_config *c)
void init_peer(struct peer *, struct bgpd_config *);
void merge_peers(struct bgpd_config *, struct bgpd_config *);
static struct bgpd_config *conf, *nconf;
void merge_config(struct bgpd_config *, struct bgpd_config *);
void free_deleted_peers(struct bgpd_config *);
int prepare_listeners(struct bgpd_config *);
void tcp_md5_add_listener(struct bgpd_config *, struct peer *);
void tcp_md5_del_listener(struct bgpd_config *, struct peer *);
void print_config(struct bgpd_config *, struct rib_names *);
struct peer *getpeerbydesc(struct bgpd_config *, const char *);
struct peer *getpeerbyip(struct bgpd_config *, struct sockaddr *);
struct peer *getpeerbyid(struct bgpd_config *, uint32_t);