Lines Matching refs:optval
65 size_t optlen, const void *optval) {
68 assert_return(optval || optlen == 0, -EINVAL);
74 if (optval)
75 memcpy(*buf, optval, optlen);
323 int dhcp6_option_parse_ip6addrs(uint8_t *optval, uint16_t optlen,
334 memcpy(*addrs + count, optval, optlen);
341 int dhcp6_option_parse_domainname(const uint8_t *optval, uint16_t optlen, char ***str_arr) {
347 assert_return(optval[optlen - 1] == '\0', -EINVAL);
357 c = optval[pos++];
366 label = (const char *)&optval[pos];