]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make it possible to use IP_TTL and IP_TOS setsockopt(2) options
authorru <ru@FreeBSD.org>
Fri, 9 Mar 2001 12:22:51 +0000 (12:22 +0000)
committerru <ru@FreeBSD.org>
Fri, 9 Mar 2001 12:22:51 +0000 (12:22 +0000)
commit5639e86bdd7ea151958776264bf5a67e60a54d68
tree1d73781da1735907de40d8e269df8529fc4b271e
parenta64bcb9cca89e37fd4482228915951f0fbd2d538
Make it possible to use IP_TTL and IP_TOS setsockopt(2) options
on certain types of SOCK_RAW sockets.  Also, use the ip.ttl MIB
variable instead of MAXTTL constant as the default time-to-live
value for outgoing IP packets all over the place, as we already
do this for TCP and UDP.

Reviewed by: wollman
share/man/man4/ip.4
sys/netinet/ip_icmp.c
sys/netinet/raw_ip.c