Searched refs:IP_TTL (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/tools/regression/netinet/ipbroadcast/
H A Dipbroadcast.c101 fprintf(stderr, "-t: Set IP_TTL to <ttl>\n");
247 ret = setsockopt(s, IPPROTO_IP, IP_TTL, &soptval, soptlen);
249 perror("setsockopt IPPROTO_IP IP_TTL");
/freebsd-11-stable/sys/netinet/
H A Dip_output.c1024 case IP_TTL:
1048 case IP_TTL:
1217 case IP_TTL:
1243 case IP_TTL:
H A Din.h410 #define IP_TTL 4 /* int; IP time to live */ macro
/freebsd-11-stable/tools/tools/net80211/wesside/dics/
H A Ddics.c140 ctl.hdr.cmsg_type != IP_TTL
/freebsd-11-stable/tools/regression/netinet/ipsockopt/
H A Dipsockopt.c370 * IP_TTL fields in kernel is stored as an 8-bit value, reflecting the IP
380 * - We can read the IP_TOS/IP_TTL options.
772 err(-1, "get_socket(%s %d) for test_ip_uchar(IP_TTL)",
774 test_ip_uchar(sock, socktypename, IP_TTL, "IP_TTL", 64);
/freebsd-11-stable/contrib/traceroute/
H A Dtraceroute.c1325 #if !defined(IP_HDRINCL) && defined(IP_TTL)
1326 if (setsockopt(sndsock, IPPROTO_IP, IP_TTL,
/freebsd-11-stable/sbin/ping/
H A Dping.c767 if (setsockopt(ssend, IPPROTO_IP, IP_TTL, &ttl,
769 err(EX_OSERR, "setsockopt IP_TTL");
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_socket.c272 return (IP_TTL);

Completed in 88 milliseconds