Lines Matching refs:optlen

103         size_t optlen;
113 assert_se(dhcp6_option_parse(&buf, &zero, &optcode, &optlen,
121 assert_se(dhcp6_option_parse(&buf, &buflen, &optcode, &optlen,
123 pos += 4 + optlen;
126 assert_se(optlen == 7);
129 assert_se(dhcp6_option_append(&out, &outlen, optcode, optlen,
134 assert_se(dhcp6_option_parse(&buf, &buflen, &optcode, &optlen,
136 pos += 4 + optlen;
139 assert_se(optlen == 9);
142 assert_se(dhcp6_option_append(&out, &outlen, optcode, optlen,
210 size_t optlen, len = sizeof(msg_advertise) - sizeof(DHCP6Message);
229 while ((r = dhcp6_option_parse(&opt, &len, &optcode, &optlen,
234 assert_se(optlen == 14);
240 assert_se(optlen == 94);
241 assert_se(!memcmp(optval, &msg_advertise[26], optlen));
252 assert_se(dhcp6_option_parse_ia(&optval, &optlen,
259 assert_se(optlen == 14);
260 assert_se(!memcmp(optval, &msg_advertise[179], optlen));
263 optlen) >= 0);
267 assert_se(optlen == 1);
275 assert_se(optlen == 2);
280 assert_se(optlen == 16);
282 optlen) >= 0);
286 assert_se(optlen == 11);
288 optlen) >= 0);
292 assert_se(optlen == 16);
294 optlen) >= 0);
411 size_t optlen;
424 &optcode, &optlen, &optval)) >= 0) {
440 assert_se(optlen == 40);
449 assert_se(!dhcp6_option_parse_ia(&optval, &optlen,
458 assert_se(optlen == 14);
459 assert_se(!memcmp(&msg_advertise[179], optval, optlen));
467 assert_se(optlen == 2);
512 size_t optlen;
520 &optcode, &optlen, &optval)) >= 0) {
526 assert_se(optlen == sizeof(test_duid));
535 assert_se(optlen == 12);
545 assert_se(optlen == 2);
602 size_t optlen;
613 &optcode, &optlen, &optval)) >= 0) {
619 assert_se(optlen == sizeof(test_duid));
638 assert_se(optlen == 2);