Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c120 set_ancillary_data(struct msghdr *msgp, int hoplimit, in set_ancillary_data() argument
201 *(int *)cmsg_datap = hoplimit; in set_ancillary_data()
276 update_hoplimit_ancillary_data(struct msghdr *msg, int hoplimit) in update_hoplimit_ancillary_data() argument
287 *intp = hoplimit; in update_hoplimit_ancillary_data()
H A Dtraceroute.c1529 int hoplimit; /* hoplimit for IPv6 packets */ in traceroute() local
1746 hoplimit = *intp; in traceroute()
1755 (hoplimit <= 1))) in traceroute()
1763 } else if (hoplimit != -1) { in traceroute()
1765 hoplimit); in traceroute()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c90 set_ancillary_data(struct msghdr *msgp, int hoplimit, in set_ancillary_data() argument
102 if (hoplimit == -1 && gw_cnt == 0 && if_index == 0) in set_ancillary_data()
133 if (hoplimit != -1) { in set_ancillary_data()
180 if (hoplimit != -1) { in set_ancillary_data()
185 *(int *)cmsg_datap = hoplimit; in set_ancillary_data()
H A Dping.c170 static int hoplimit = -1; /* time-to-live value */ variable
437 hoplimit = int_arg(optarg, "ttl"); in main()
438 if (hoplimit > MAXTTL) { in main()
440 progname, hoplimit); in main()
1504 char_op = hoplimit; in setup_socket()
1516 (char *)&hoplimit, sizeof (hoplimit)) == -1) { in setup_socket()
1884 set_ancillary_data(&msg6, hoplimit, gw_IP_list6, in send_scheduled_probe()
/illumos-gate/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()