Lines Matching refs:result
49 get_opt_end (const uint8_t **result, const uint8_t *startp, in get_opt_end() argument
59 *result = startp + 1; in get_opt_end()
69 *result = startp + startp[1] + 2; in get_opt_end()
194 uint8_t *result = CMSG_DATA (cmsg) + cmsg->cmsg_len - CMSG_LEN (0); in option_alloc() local
212 return result; in option_alloc()
256 const uint8_t *result; in inet6_option_next() local
259 result = (const uint8_t *) (ip6e + 1); in inet6_option_next()
268 if (get_opt_end (&result, *tptrp, endp) != 0) in inet6_option_next()
273 *tptrp = (uint8_t *) result; in inet6_option_next()
276 return get_opt_end (&result, result, endp); in inet6_option_next()
329 const uint8_t *result; in inet6_option_find() local
332 result = next; in inet6_option_find()
335 if (get_opt_end (&next, result, endp) != 0) in inet6_option_find()
338 while (*result != type); in inet6_option_find()
341 *tptrp = (uint8_t *) result; in inet6_option_find()