First page Back Continue Last page Overview Graphics
Helpers for IPv6 Options (1)
int inet6_opt_init(void *extbuf, socklen_t extlen);
- Initialize buffer data for options header
int inet6_opt_append(void *extbuf, socklen_t extlen,
- int offset, uint8_t type, socklen_t len,
- uint_t align, void **databufp);
- Add one TLV option to the option header
uint8_t *inet6_opt_finish(void *extbuf, socklen_t extlen,
- int offset);
- Finish adding TLV options to the options header
int inet6_opt_set_val(void *databuf, int offset, void *val,
- socklen_t vallen);
- Add one component of the option content to the option
Notes: