Searched defs:hoplimit (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 86 * Initialize the msghdr for specifying the hoplimit, outgoing interface and 90 set_ancillary_data(struct msghdr *msgp, int hoplimit, argument 102 if (hoplimit == -1 && gw_cnt == 0 && if_index == 0) 133 if (hoplimit != -1) { 176 * Fill ancillary data. First hoplimit, then rthdr and pktinfo. 179 /* set hoplimit ancillary data if needed */ 180 if (hoplimit != -1) { 185 *(int *)cmsg_datap = hoplimit;
|
H A D | ping.c | 169 static int hoplimit = -1; /* time-to-live value */ variable 437 hoplimit = int_arg(optarg, "ttl"); 438 if (hoplimit > MAXTTL) { 440 progname, hoplimit); 1504 char_op = hoplimit; 1516 (char *)&hoplimit, sizeof (hoplimit)) == -1) { 1525 * header and outgoing interface index), the hoplimit set using 1884 set_ancillary_data(&msg6, hoplimit, gw_IP_list6,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 118 * Initialize the msghdr for specifying hoplimit, outgoing interface and routing 122 set_ancillary_data(struct msghdr *msgp, int hoplimit, argument 161 /* We'll always set the hoplimit of the outgoing packets */ 194 * Fill ancillary data. First hoplimit, then rthdr and pktinfo if 198 /* set hoplimit ancillary data */ 203 *(int *)cmsg_datap = hoplimit; 273 * and update the hoplimit. 278 update_hoplimit_ancillary_data(struct msghdr *msg, int hoplimit) argument 289 *intp = hoplimit;
|
H A D | traceroute.c | 1262 /* Enable receipt of hoplimit info */ 1414 * Initialize the msg6 structure using the hoplimit for the first 1505 int hoplimit; /* hoplimit for IPv6 packets */ local 1722 hoplimit = *intp; 1731 (hoplimit <= 1))) 1739 } else if (hoplimit != -1) { 1741 hoplimit);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | ndp.c | 110 uint_t hoplimit; local 154 /* Unknown hoplimit - must drop */ 159 hoplimit = *(uint_t *)opt; 185 if (hoplimit != IPV6_MAX_HOPS) { 187 hoplimit, msgbuf, pi->pi_name); 245 if (hoplimit != IPV6_MAX_HOPS) { 247 hoplimit, msgbuf, pi->pi_name);
|
Completed in 59 milliseconds