RFC Errata
RFC 3542, "Advanced Sockets Application Program Interface (API) for IPv6", May 2003
Source of RFC: ipv6 (int)See Also: RFC 3542 w/ inline errata
Errata ID: 252
Status: Verified
Type: Editorial
Publication Format(s) : TEXT
Reported By: Tatuya JINMEI
Date Reported: 2004-02-12
In section 10.2 (page 41), the RFC says:
int inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, socklen_t len, uint_t align, void **databufp);
It should say:
int inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, socklen_t len, uint8_t align, void **databufp);
Notes:
Similarly, the following part of Section 15 (page 55)
<netinet/in.h> int inet6_opt_append(void *, socklen_t, int,
uint8_t, socklen_t, uint_t,
void **);
Should actually be:
<netinet/in.h> int inet6_opt_append(void *, socklen_t, int,
uint8_t, socklen_t,
uint8_t, void **);
That is, "uint_t" should be replaced with "uint8_t".