#include <netinet/in.h> int inet6_opt_next_ts64(void *extension_buffer, socklen_t extension_length, int offset, uint8_t *option_typep, socklen_t *option_lengthp, void * __ptr64 data_bufferp)
The inet6_opt_next_ts64() function parses a received option extension header and returns the next option. inet6_opt_next_ts64() differs from inet6_opt_next() in that inet6_opt_next_ts64() accepts 8-byte teraspace pointers.
For a discussion of the parameters, authorities required, return values, and other related information, see inet6_opt_next()--Extract the Next Option from the IPv6 Extension Header.
All of the usage notes for inet6_opt_next()--Extract the Next Option from the IPv6 Extension Header apply to inet6_opt_next_ts64().