Searched refs:hop (Results 1 - 9 of 9) sorted by relevance

/ast/src/cmd/dsslib/bgp/
H A Dbgp-table.c140 rp->hop.v4 = strtoul(s, &p, 0);
146 rp->hop.v4 = 0;
147 if (!strtoip6(s, &e, rp->hop.v6, NiL) && e > p)
155 if (strtoip4(s, &e, &rp->hop.v4, NiL) || e <= p)
159 if (rp->hop.v4)
168 else if ((rp->set & BGP_SET_hopv6) && !memcmp(rp->hop.v6, op->hop.v6, sizeof(rp->hop.v6)))
170 else if (rp->hop.v4 && op->hop
[all...]
H A Dbgp-ciscov6.c167 if (!strtoip6(t, NiL, rp->hop.v6, NiL))
247 sfprintf(io, "%-19s ", fmtip4(rp->hop, -1));
H A Dbgp-ipma.c268 if (strtoip4(s, &p, &rp->hop.v4, NiL))
355 sfprintf(io, "\tN=%s", fmtip4(rp->hop.v4, -1));
H A Dbgp.c83 CXV("hop", "ipaddr_t", BGP_hop, "Next hop address.")
84 CXV("hopv4", "ipv4addr_t", BGP_hopv4, "Next hop ipv4 address.")
85 CXV("hopv6", "ipv6addr_t", BGP_hopv6, "Next hop ipv6 address.")
298 r->value.buffer.data = rp->hop.v6;
299 r->value.buffer.size = sizeof(rp->hop.v6);
305 r->value.number = rp->hop.v4;
310 r->value.number = (rp->set & BGP_SET_hopv6) ? 0 : rp->hop.v4;
313 r->value.buffer.data = (rp->set & BGP_SET_hopv6) ? rp->hop.v6 : noipv6;
314 r->value.buffer.size = sizeof(rp->hop
[all...]
H A Dbgp-cisco.c195 if (strtoip4(s, NiL, &rp->hop.v4, NiL))
346 sfprintf(io, "%-19s ", fmtip4(rp->hop.v4, -1));
H A Dbgp-mrt.c989 rp->hop.v4 = AE4(state->buf);
1057 sfprintf(sfstderr, " nlri mp %s %s/%s hop %d %s state %s\n", "announce", symbol(GROUP_AFI, rp->afi), symbol(GROUP_SAFI, rp->safi), n, k ? "inline" : "global", symbol(GROUP_STATE, state->state));
1062 rp->hop.v4 = AE4(state->buf);
1070 AE(rp->hop.v6, state->buf, 16);
1144 rp->hop.v4 = 0;
/ast/src/cmd/dsslib/ip_t/
H A Dtestiv.c82 Hop_t* hop; local
140 if (!(hop = newof(0, Hop_t, 1, strlen(v))))
145 memcpy(hop->prefix, prefix, iv->size + 1);
146 strcpy(hop->name, v);
151 if (ivset(iv, lo, hi, hop))
170 hop = (Hop_t*)pp->data;
171 sfprintf(sfstdout, "%s%-42s %-42s %s\n", dump ? "get " : "", ivfmt(iv, addr, -1), ivfmt(iv, hop->prefix, hop->prefix[iv->size]), hop->name);
H A Dbgp.h239 Bgpaddr_t hop; /* next hop addr */ member in struct:Bgproute_s
/ast/src/cmd/dsslib/netflow/
H A Dflow-dump.c45 Nflong_t hop; member in struct:Rec_1_s
81 Nflong_t hop; member in struct:Rec_5_s
115 Nflong_t hop; member in struct:Rec_7_s

Completed in 28 milliseconds