Home
last modified time | relevance | path

Searched refs:tptrp (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/lib/libc/net/
H A Dip6opt.c278 inet6_option_next(const struct cmsghdr *cmsg, uint8_t **tptrp) in inet6_option_next() argument
285 _DIAGASSERT(tptrp != NULL); in inet6_option_next()
306 if (*tptrp == NULL) in inet6_option_next()
307 *tptrp = (uint8_t *)(void *)(ip6e + 1); in inet6_option_next()
309 if ((optlen = ip6optlen(*tptrp, lim)) == 0) in inet6_option_next()
312 *tptrp = *tptrp + optlen; in inet6_option_next()
314 if (*tptrp >= lim) { /* there is no option */ in inet6_option_next()
315 *tptrp = NULL; in inet6_option_next()
322 if (ip6optlen(*tptrp, lim) == 0) in inet6_option_next()
337 inet6_option_find(const struct cmsghdr *cmsg, uint8_t **tptrp, int type) in inet6_option_find() argument
[all …]