Lines Matching refs:optlen
198 size_t offset, pos, optlen, outlen = sizeof(result); in TEST() local
206 assert_se(dhcp6_option_parse(packet, 0, &offset, &optcode, &optlen, &optval) == -EBADMSG); in TEST()
209 assert_se(dhcp6_option_parse(packet, 0, &offset, &optcode, &optlen, &optval) == -EBADMSG); in TEST()
216 … assert_se(dhcp6_option_parse(buf, sizeof(packet), &offset, &optcode, &optlen, &optval) >= 0); in TEST()
219 assert_se(optlen == 7); in TEST()
224 … assert_se(dhcp6_option_parse(packet, sizeof(packet), &offset, &optcode, &optlen, &optval) >= 0); in TEST()
227 assert_se(optlen == 7); in TEST()
234 assert_se(dhcp6_option_append(&out, &outlen, optcode, optlen, optval) >= 0); in TEST()
236 pos += 4 + optlen; in TEST()
240 … assert_se(dhcp6_option_parse(packet, sizeof(packet), &offset, &optcode, &optlen, &optval) >= 0); in TEST()
243 assert_se(optlen == 9); in TEST()
246 assert_se(dhcp6_option_append(&out, &outlen, optcode, optlen, optval) >= 0); in TEST()
248 pos += 4 + optlen; in TEST()