Lines Matching refs:eopt
882 struct dhcp_opt *eopt, *oopt; in dhcp_envoption() local
910 for (i = 0, eopt = opt->embopts; i < opt->embopts_len; i++, eopt++) { in dhcp_envoption()
911 eo = dhcp_optlen(eopt, ol); in dhcp_envoption()
916 eopt->option, i); in dhcp_envoption()
925 if (ol != 0 || !(eopt->type & OT_OPTIONAL)) in dhcp_envoption()
929 eopt->option, i); in dhcp_envoption()
935 if (!(eopt->type & OT_RESERVED)) { in dhcp_envoption()
936 ov = strcmp(opt->var, eopt->var); in dhcp_envoption()
937 if (print_option(fp, pfx, eopt, ov, od, (size_t)eo, in dhcp_envoption()
941 opt->option, eopt->option, i); in dhcp_envoption()
952 for (i = 0, eopt = opt->encopts; in dhcp_envoption()
954 i++, eopt++) in dhcp_envoption()
957 if (eopt->type & OT_OPTION) { in dhcp_envoption()
965 for (i = 0, eopt = opt->encopts; in dhcp_envoption()
967 i++, eopt++) in dhcp_envoption()
969 if (eopt->option != eoc) in dhcp_envoption()
971 if (eopt->type & OT_OPTION) { in dhcp_envoption()
977 eopt->type & OT_OPTION ? oopt:eopt, in dhcp_envoption()