Lines Matching defs:code
31 uint8_t code, size_t optlen, const void *optval) {
35 if (code != SD_DHCP_OPTION_END)
39 switch (code) {
46 options[*offset] = code;
54 options[*offset] = code;
73 uint8_t code, size_t optlen, const void *optval) {
86 r = option_append(message->options, size, offset, code, optlen, optval);
106 r = option_append(message->file, sizeof(message->file), &file_offset, code, optlen, optval);
128 r = option_append(message->sname, sizeof(message->sname), &sname_offset, code, optlen, optval);
145 uint8_t code, len;
150 code = options[offset ++];
152 switch (code) {
170 switch (code) {
215 cb(code, len, option, userdata);