Home
last modified time | relevance | path

Searched refs:community_writebuf (Results 1 – 5 of 5) sorted by relevance

/openbsd/regress/usr.sbin/bgpd/unittests/
H A Drde_community_test.c97 if (community_writebuf(&comm, ATTR_COMMUNITIES, 1, buf) == -1) { in test_parsing()
101 if (community_writebuf(&comm, ATTR_EXT_COMMUNITIES, 1, buf) == -1) { in test_parsing()
105 if (community_writebuf(&comm, ATTR_LARGE_COMMUNITIES, 1, buf) == -1) { in test_parsing()
/openbsd/usr.sbin/bgpd/
H A Dmrt.c281 if (community_writebuf(c, ATTR_COMMUNITIES, 0, buf) == -1 || in mrt_attr_dump()
282 community_writebuf(c, ATTR_EXT_COMMUNITIES, 0, buf) == -1 || in mrt_attr_dump()
283 community_writebuf(c, ATTR_LARGE_COMMUNITIES, 0, buf) == -1) in mrt_attr_dump()
H A Drde.h439 int community_writebuf(struct rde_community *, uint8_t, int, struct ibuf *);
H A Drde_community.c515 community_writebuf(struct rde_community *comm, uint8_t type, int ebgp, in community_writebuf() function
H A Drde_update.c660 if (community_writebuf(comm, type, peer->conf.ebgp, in up_generate_attr()