Lines Matching defs:optcode
545 uint32_t optcode = 0, inf = infomode, convtmp, mask, nip, router;
553 strtou32(option, (uint32_t*)&optcode);
556 if (optcode > 0 && optcode < 256) { // raw option
558 if ((options_list[count].code & 0X00FF) == optcode) {
567 optcode = (options_list[count].code & 0X00FF);
577 if (!flag || !optcode) return -1;
1103 uint16_t optcode;
1106 memcpy(&optcode, optptr, sizeof(uint16_t));
1108 if(!optcode) {
1112 optcode = ntohs(optcode);
1115 if (opt == optcode) {