Lines Matching refs:opttab
344 } opttab[] = { variable
422 for (i = 0; opttab[i].name; i++) in option_string()
423 if (opttab[i].val == opt) in option_string()
426 *is_ip = !!(opttab[i].size & OT_ADDR_LIST); in option_string()
428 *is_name = !!(opttab[i].size & OT_NAME); in option_string()
429 return opttab[i].name; in option_string()
664 for (i = 0; opttab[i].name; i++) in display_opts()
665 if (!(opttab[i].size & OT_INTERNAL)) in display_opts()
666 printf("%3d %s\n", opttab[i].val, opttab[i].name); in display_opts()
702 for (i = 0; opttab[i].name; i++) in parse_dhcp_opt()
703 if (!(opttab[i].size & OT_INTERNAL) && in parse_dhcp_opt()
704 strcasecmp(opttab[i].name, arg+7) == 0) in parse_dhcp_opt()
706 new->opt = opttab[i].val; in parse_dhcp_opt()
707 opt_len = opttab[i].size; in parse_dhcp_opt()