Home | History | Annotate | Download | only in src

Lines Matching refs:dopt

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)
1775 for (; dopt; dopt = dopt->next)
1777 dopt->flags &= ~DHOPT_VENDOR_MATCH;
1778 if (opt && (dopt->flags & DHOPT_VENDOR))
1781 if (dopt->u.vendor_class)
1782 len = strlen((char *)dopt->u.vendor_class);
1784 if (len == 0 || memcmp(dopt->u.vendor_class, option_ptr(opt, i), len) == 0)
1786 dopt->flags |= DHOPT_VENDOR_MATCH;