]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r236959:
authortuexen <tuexen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 1 Jul 2012 08:47:15 +0000 (08:47 +0000)
committertuexen <tuexen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 1 Jul 2012 08:47:15 +0000 (08:47 +0000)
commit0c1bed7982154f5c4aad615da64a922f7ddedc23
treee04cbea63396d084ca134960f21ad637ff761655
parent47a86471fcf3ef2f53963bae79d56712019b83ba
MFC r236959:
Add a IP_RECVTOS socket option to receive for received UDP/IPv4
packets a cmsg of type IP_RECVTOS which contains the TOS byte.
Much like IP_RECVTTL does for TTL. This allows to implement a
protocol on top of UDP and implementing ECN.

git-svn-id: svn://svn.freebsd.org/base/stable/9@237910 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man4/ip.4
sys/netinet/in.h
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h
sys/netinet/ip_input.c
sys/netinet/ip_output.c