Home | History | Annotate | Download | only in mtrace

Lines Matching defs:hop

8  * about packet rate and loss for each hop along the path.  It can
92 struct tr_resp r[MAXHOPS]; /* Per-hop reports */
133 u_int32_t gwy = 0; /* User-supplied last-hop router address */
134 u_int32_t tdst = 0; /* Address where trace is sent (last-hop) */
156 const char * scale(int *hop);
725 : "is the next hop");
768 int hop;
779 hop = t_diff(fixtime(ntohl(r->tr_qarr)), buf->qtime);
780 ms = scale(&hop);
781 printf(" %d%s", hop, ms);
793 * See what kind of router is the next hop
854 scale(int *hop)
856 if (*hop > -1000 && *hop < 10000) return (" ms");
857 *hop /= 1000;
858 if (*hop > -1000 && *hop < 10000) return (" s ");
1049 int rtt, hop;
1075 hop = t_diff(resptime, qarrtime);
1076 ms = scale(&hop);
1077 printf(" v / hop%5d%s", hop, ms);
1112 hop = t_diff(resptime, qarrtime);
1113 ms = scale(&hop);
1114 printf(" v | hop%5d%s", hop, ms);
1126 hop = t_diff(qarrtime, new->qtime);
1127 ms = scale(&hop);
1128 printf(" v \\ hop%5d%s", hop, ms);
1232 case 'g': /* Last-hop gateway (dest of query) */
1399 * If the destination is on the local net, the last-hop router can
1402 * query since by definition the last-hop router will be a member.
1439 * the query max hop count is the default of zero, loop starting
1455 : "is the next hop");
1465 printf("switching to hop-by-hop:\n 0 ");
1474 * After a successful first hop, try switching to the unicast
1475 * address of the last-hop router instead of multicasting the
1492 * not-responding router is the first-hop. */
1537 * The last hop address is not the same as it was;
1557 "would be the next hop");
1581 "or multicast at ttl %d doesn't reach its last-hop router"