This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Initialize an ancillary data object that contains IPv6 hop-by-hop and destination options
#include <netinet/in.h> int inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type);
libsocket
Use the -l socket option to qcc to link against this library.
Call inet6_option_init() function once per ancillary data object that contains either hop-by-hop or destination options.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
inet6_option_alloc(), inet6_option_append(), inet6_option_find(), inet6_option_next(), inet6_option_space()
W. Stevens and M. Thomas, Advanced Sockets API for IPv6, RFC 2292, February 1998. Contains examples.
S. Deering and R. Hinden, Internet Protocol, Version 6 (IPv6) Specification, RFC 2460, December 1998.