Lines Matching defs:optlen
31 uint8_t code, size_t optlen, const void *optval) {
51 if (size < *offset + optlen + 2)
55 options[*offset + 1] = optlen;
57 if (optlen) {
60 memcpy(&options[*offset + 2], optval, optlen);
63 *offset += optlen + 2;
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);