Searched refs:community_writebuf (Results 1 – 5 of 5) sorted by relevance
/openbsd/regress/usr.sbin/bgpd/unittests/ |
H A D | rde_community_test.c | 97 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 D | mrt.c | 270 if (community_writebuf(c, ATTR_COMMUNITIES, 0, buf) == -1 || in mrt_attr_dump() 271 community_writebuf(c, ATTR_EXT_COMMUNITIES, 0, buf) == -1 || in mrt_attr_dump() 272 community_writebuf(c, ATTR_LARGE_COMMUNITIES, 0, buf) == -1) in mrt_attr_dump()
|
H A D | rde.h | 452 int community_writebuf(struct rde_community *, uint8_t, int, struct ibuf *);
|
H A D | rde_community.c | 515 community_writebuf(struct rde_community *comm, uint8_t type, int ebgp, in community_writebuf() function
|
H A D | rde_update.c | 676 if (community_writebuf(comm, type, peer->conf.ebgp, in up_generate_attr()
|