Searched refs:prefixv6 (Results 1 - 6 of 6) sorted by relevance
| /ast/src/cmd/dsslib/bgp/ |
| H A D | bgp-table.c | 136 if (strtoip6(s, &p, rp->prefixv6, rp->prefixv6 + IP6BITS)) 166 if ((rp->set & BGP_SET_prefixv6) && memcmp(rp->prefixv6, op->prefixv6, sizeof(rp->prefixv6)))
|
| H A D | bgp-ciscov6.c | 159 if (!strtoip6(t, NiL, rp->prefixv6, rp->prefixv6 + IP6BITS))
|
| H A D | bgp.c | 104 CXV("prefixv6", "ipv6prefix_t", BGP_prefixv6, "ipv6 routing prefix and length.") 207 r->value.number = (rp->set & BGP_SET_prefixv6) ? rp->prefixv6[IP6BITS] : rp->bits; 213 r->value.number = rp->prefixv6[IP6BITS]; 392 r->value.buffer.data = rp->prefixv6; 393 r->value.buffer.size = sizeof(rp->prefixv6); 407 r->value.buffer.data = (rp->set & BGP_SET_prefixv6) ? rp->prefixv6 : noipv6; 408 r->value.buffer.size = sizeof(rp->prefixv6);
|
| H A D | bgp-mrt.c | 557 if (state->best != state->message && (state->best = state->message) || memcmp(rp->prefixv6, v6, sizeof(rp->prefixv6))) 559 memcpy(rp->prefixv6, v6, sizeof(rp->prefixv6)); 564 sfprintf(sfstderr, " nlri %c %s prefix %s\n", rp->type, symbol(GROUP_AFI, rp->afi), fmtip6(rp->prefixv6, rp->prefixv6[IP6BITS])); 1640 else if (memcmp(rp->prefixv6, state->buf, sizeof(rp->prefixv6))) 1642 AE(rp->prefixv6, state->buf, sizeof(rp->prefixv6)); [all...] |
| /ast/src/cmd/dsslib/ip_t/ |
| H A D | bgp.h | 295 unsigned char prefixv6[17]; /* prefix */ member in struct:Bgproute_s
|
| H A D | ip_t.c | 600 unsigned char prefixv6[IP6PREFIX]; local 609 if (!strtoip6(buf, &e, prefixv6, prefixv6 + IP6BITS) && (e >= ((char*)buf + size) || !*e || isspace(*e))) 619 memcpy(ret->value.buffer.data = pp, prefixv6, IP6PREFIX); 815 if (!ptvinsert(ptv, ptvmin(ptv->size, ptv->r[0], rp->prefixv6, rp->prefixv6[IP6BITS]), ptvmax(ptv->size, ptv->r[1], rp->prefixv6, rp->prefixv6[IP6BITS])))
|
Completed in 22 milliseconds