diff options
author | mtm <mtm@FreeBSD.org> | 2007-04-19 15:48:16 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2007-04-19 15:48:16 +0000 |
commit | b79eceb7f37331e0724c1eb4b575b3b779b8a47b (patch) | |
tree | 4d4aa29554dab123ae85efd563d50ada2c64aa48 /lib/libc/net/sctp_send.3 | |
parent | d15cc39e73860f1cbeb14f0698536d3635f893d4 (diff) | |
download | FreeBSD-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/sctp_send.3')
0 files changed, 0 insertions, 0 deletions