First page Back Continue Last page Overview Graphics
Helpers for IPv6 Options (2)
int inet6_opt_next(void *extbuf, socklen_t extlen, int offset,
- uint8_t *typep, socklen_t *lenp,
- void **databufp);
- Extract the next option from the options header
int inet6_opt_find(void *extbuf, socklen_t extlen, int offset,
- uint8_t type, socklen_t *lenp,
- void **databufp);
- Extract an option of a specified type from the header
int inet6_opt_get_val(void *databuf, int offset, void *val,
- socklen_t vallen);
- Retrieve one component of the option component
Notes: