Searched defs:optcode (Results 1 - 4 of 4) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | dhcp6-option.c | 44 static int option_append_hdr(uint8_t **buf, size_t *buflen, uint16_t optcode, argument 55 option->code = htobe16(optcode); 141 static int option_parse_hdr(uint8_t **buf, size_t *buflen, uint16_t *optcode, size_t *optlen) { argument 146 assert_return(optcode, -EINVAL); 157 *optcode = be16toh(option->code); 166 int dhcp6_option_parse(uint8_t **buf, size_t *buflen, uint16_t *optcode, argument 170 assert_return(buf && buflen && optcode && optlen && optvalue, -EINVAL); 172 r = option_parse_hdr(buf, buflen, optcode, optlen);
|
H A D | test-dhcp-option.c | 149 uint8_t optcode = 0; local 194 optcode = descoption[*descpos]; 198 printf("DHCP code %2d(%2d) len %2d(%2d) ", code, optcode, 201 assert_se(code == optcode);
|
H A D | test-dhcp6-client.c | 102 uint16_t optcode; local 113 assert_se(dhcp6_option_parse(&buf, &zero, &optcode, &optlen, 121 assert_se(dhcp6_option_parse(&buf, &buflen, &optcode, &optlen, 125 assert_se(optcode == SD_DHCP6_OPTION_ORO); 129 assert_se(dhcp6_option_append(&out, &outlen, optcode, optlen, 134 assert_se(dhcp6_option_parse(&buf, &buflen, &optcode, &optlen, 138 assert_se(optcode == SD_DHCP6_OPTION_VENDOR_CLASS); 142 assert_se(dhcp6_option_append(&out, &outlen, optcode, optlen, 209 uint16_t optcode; local 229 while ((r = dhcp6_option_parse(&opt, &len, &optcode, 410 uint16_t optcode; local 511 uint16_t optcode; local 601 uint16_t optcode; local [all...] |
H A D | sd-dhcp6-client.c | 677 uint16_t optcode, status; local 685 while ((r = dhcp6_option_parse(&option, &len, &optcode, &optlen, 687 switch (optcode) { 751 r = dhcp6_option_parse_ia(&optval, &optlen, optcode,
|
Completed in 1989 milliseconds