Lines Matching defs:option
31 * - Rapid commit option support
93 // DHCP option codes (partial list). See RFC 2132 and
104 // DHCPv6 option codes (partial). See RFC 3315
257 uint32_t siaddr_nip; // "next server" bootp option
263 char *boot_file; // bootp boot file option
541 // String to dhcp option conversion
544 char *option, *valstr, *grp, *tp;
550 if (!(option = strtok((char*)str, " \t="))) return -1;
553 strtou32(option, (uint32_t*)&optcode);
556 if (optcode > 0 && optcode < 256) { // raw option
563 } else { //string option
565 if (!strncmp(options_list[count].key, option, strlen(options_list[count].key))) {
573 infomsg(inf, "config : Obsolete OR Unknown Option : %s", option);
580 dbg("config : option %s has no value defined.\n", option);
634 if (!tp) error_exit("wrong formatted static route option");
637 if (striptovar(grp, (uint8_t*)&nip)<0) error_exit("wrong formatted static route option");
639 if (striptovar(tp, (uint8_t*)&router)<0) error_exit("wrong formatted static route option");
705 {"option" , strtoopt , (void*)&gconfig.options , ""},
1035 // Sets a option value in dhcp packet's option field
1056 // Gets a option value from dhcp packet's option field
1748 dbg("no or bad message type option, ignoring packet.\n");
1990 dbg("no or bad message type option, ignoring packet.\n");