Home | History | Annotate | Download | only in mtrace

Lines Matching defs:ttl

79 #define UNICAST_TTL 255		/* TTL for unicast response */
80 #define MULTICAST_TTL1 64 /* Default TTL for multicast query/response */
81 #define MULTICAST_TTL_INC 32 /* TTL increment for increase after timeout */
82 #define MULTICAST_TTL_MAX 192 /* Maximum TTL allowed (protect low-BW links */
131 int qttl = 0; /* TTL for the query packet */
132 u_char rttl = 0; /* TTL for the response packet */
336 u_int ttl;
340 ttl = b->tr_fttl;
344 if (ttl < b->tr_fttl) ttl = b->tr_fttl;
345 else ++ttl;
347 ttl += MULTICAST_TTL_INC;
348 if (ttl < MULTICAST_TTL1) ttl = MULTICAST_TTL1;
349 if (ttl > MULTICAST_TTL_MAX) ttl = MULTICAST_TTL_MAX;
350 return (ttl);
420 * the standard multicast reply address. If the TTL was also not
421 * specified, set a multicast TTL and if needed increase it for the
1060 u_int ttl = n->tr_fttl;
1107 printf(" %c ^ ttl%5d ", first ? 'v' : '|', ttl);
1119 if (ttl < n->tr_fttl) ttl = n->tr_fttl;
1120 else ++ttl;
1123 printf(" %c \\__ ttl%5d ", first ? 'v' : '|', ttl);
1238 case 't': /* TTL for query packet */
1298 [-S statint] [-t ttl] [-r resp_dest] [-i if_addr] source [receiver] [group]\n");
1581 "or multicast at ttl %d doesn't reach its last-hop router"