Home
last modified time | relevance | path

Searched refs:hoplimit (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c122 set_ancillary_data(struct msghdr *msgp, int hoplimit, in set_ancillary_data() argument
203 *(int *)cmsg_datap = hoplimit; in set_ancillary_data()
278 update_hoplimit_ancillary_data(struct msghdr *msg, int hoplimit) in update_hoplimit_ancillary_data() argument
289 *intp = hoplimit; in update_hoplimit_ancillary_data()
H A Dtraceroute.c1505 int hoplimit; /* hoplimit for IPv6 packets */ in traceroute() local
1722 hoplimit = *intp; in traceroute()
1731 (hoplimit <= 1))) in traceroute()
1739 } else if (hoplimit != -1) { in traceroute()
1741 hoplimit); in traceroute()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c88 set_ancillary_data(struct msghdr *msgp, int hoplimit, in set_ancillary_data() argument
100 if (hoplimit == -1 && gw_cnt == 0 && if_index == 0) in set_ancillary_data()
131 if (hoplimit != -1) { in set_ancillary_data()
178 if (hoplimit != -1) { in set_ancillary_data()
183 *(int *)cmsg_datap = hoplimit; in set_ancillary_data()
H A Dping.c161 static int hoplimit = -1; /* time-to-live value */ variable
409 hoplimit = int_arg(optarg, "ttl"); in main()
410 if (hoplimit > MAXTTL) { in main()
412 progname, hoplimit); in main()
1457 char_op = hoplimit; in setup_socket()
1469 (char *)&hoplimit, sizeof (hoplimit)) == -1) { in setup_socket()
1814 set_ancillary_data(&msg6, hoplimit, gw_IP_list6, in send_scheduled_probe()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c110 uint_t hoplimit; in in_data() local
159 hoplimit = *(uint_t *)opt; in in_data()
185 if (hoplimit != IPV6_MAX_HOPS) { in in_data()
187 hoplimit, msgbuf, pi->pi_name); in in_data()
245 if (hoplimit != IPV6_MAX_HOPS) { in in_data()
247 hoplimit, msgbuf, pi->pi_name); in in_data()