Searched refs:dopt (Results 1 – 2 of 2) sorted by relevance
113 static void match_vendor_opts(unsigned char *opt, struct dhcp_opt *dopt); 1773 static void match_vendor_opts(unsigned char *opt, struct dhcp_opt *dopt) in match_vendor_opts() argument1775 for (; dopt; dopt = dopt->next) in match_vendor_opts()1777 dopt->flags &= ~DHOPT_VENDOR_MATCH; in match_vendor_opts()1778 if (opt && (dopt->flags & DHOPT_VENDOR)) in match_vendor_opts()1781 if (dopt->u.vendor_class) in match_vendor_opts()1782 len = strlen((char *)dopt->u.vendor_class); in match_vendor_opts()1784 if (len == 0 || memcmp(dopt->u.vendor_class, option_ptr(opt, i), len) == 0) in match_vendor_opts()1786 dopt->flags |= DHOPT_VENDOR_MATCH; in match_vendor_opts()
413 static void match_vendor_opts(unsigned char *opt, struct dhcp_opt *dopt);