]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r264212,r264213,r264248,r265776,r265811,r265909:
authorkevlo <kevlo@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 May 2014 06:05:53 +0000 (06:05 +0000)
committerkevlo <kevlo@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 13 May 2014 06:05:53 +0000 (06:05 +0000)
commita4e526bb50b97423f1ac3856550c8b5b51912481
tree9eae681ae0fb7e2b696040fefa6df9b3b66c7360
parent4c16786f383ba20c7a98292df543919f6fe29b02
MFC r264212,r264213,r264248,r265776,r265811,r265909:

- Add support for UDP-Lite protocol (RFC 3828) to IPv4 and IPv6 stacks.
  Tested with vlc and a test suite [1].
  [1] http://www.erg.abdn.ac.uk/~gerrit/udp-lite/files/udplite_linux.tar.gz

  Reviewed by: jhb, glebius, adrian

- Fix a logic bug which prevented the sending of UDP packet with 0 checksum.

- Disable TX checksum offload for UDP-Lite completely. It wasn't used for
  partial checksum coverage, but even for full checksum coverage it doesn't
  work.

git-svn-id: svn://svn.freebsd.org/base/stable/10@265946 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
13 files changed:
lib/libc/net/getaddrinfo.c
sys/netinet/in.c
sys/netinet/in.h
sys/netinet/in_pcb.c
sys/netinet/in_proto.c
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h
sys/netinet/udplite.h [new file with mode: 0644]
sys/netinet6/in6_ifattach.c
sys/netinet6/in6_proto.c
sys/netinet6/udp6_usrreq.c
sys/netinet6/udp6_var.h
sys/sys/param.h