Searched refs:community (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/dsslib/bgp/
H A Dbgp-fixed.c139 if (rp->community.size)
140 swapmem(state->swap & 1, rp->data + rp->community.offset, rp->data + rp->community.offset, rp->community.size * sizeof(Bgpasn_t));
H A Dbgp-cisco.c225 rp->cluster.offset = rp->cluster.size = rp->community.offset = rp->community.size = 0;
240 rp->community.offset = o;
241 rp->community.size = n / sizeof(Bgpasn_t);
376 if (rp->community.size)
381 for (i = 0, j = rp->community.size; i < j; i += 2)
H A Dbgp-ciscov6.c277 if (rp->community.size)
282 for (i = 0, j = rp->community.size; i < j; i += 2)
H A Dbgp.c66 CXV("community", "community_t", BGP_community, "Community of interest id list.")
80 CXV("extended", "extended_t", BGP_extended, "Extended community list.")
130 CXD("community_len", "number", BGP_community_len, "DEPRECATED -- use sizeof(community). Community of interest id list length.")
131 CXD("extended_len", "number", BGP_extended_len, "DEPRECATED -- use sizeof(extended). Extended community list length.")
221 r->value.buffer.data = rp->data + rp->community.offset;
222 r->value.buffer.size = rp->community.size * sizeof(Bgpasn_t);
492 r->value.number = rp->community.size;
H A Dbgp-mrt.c1006 BGPALLOC(rp, state->size, Bgpasn_t, ap, k, &rp->community, "community list", disc);
1100 BGPALLOC(rp, state->size, unsigned char, up, k, &rp->extended, "extended community list", disc);
/ast/src/cmd/dsslib/ip_t/
H A Dbgp.h182 #define BGPCOMMUNITY(r) ((Bgpasn_t*)((r)->data+(r)->community.offset))
269 Bgpvec_t community; /* communities */ member in struct:Bgproute_s

Completed in 21 milliseconds