summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/recv.c
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2007-04-19 15:48:16 +0000
committermtm <mtm@FreeBSD.org>2007-04-19 15:48:16 +0000
commitb79eceb7f37331e0724c1eb4b575b3b779b8a47b (patch)
tree4d4aa29554dab123ae85efd563d50ada2c64aa48 /lib/libc/net/recv.c
parentd15cc39e73860f1cbeb14f0698536d3635f893d4 (diff)
downloadFreeBSD-src-b79eceb7f37331e0724c1eb4b575b3b779b8a47b.zip
FreeBSD-src-b79eceb7f37331e0724c1eb4b575b3b779b8a47b.tar.gz
Make inet6_rth_* family of functions more compliant with RFC3542:
1. CMSG_NXTHDR(mhdr, cmsg) is supposed to dereference cmsg and return the next header in the chain. If cmsg is NULL it should return the first header, behaving essentially like CMSG_FIRSTHDR(). 2. inet6_rth_(space|init|add) should do basic checking on their input to verify that the number of headers (segments) is between 0 and 127 inclusive. MFC-After: 1 month
Diffstat (limited to 'lib/libc/net/recv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud