Home | History | Annotate | Download | only in src

Lines Matching refs:minsize

95 static unsigned char *option_find(struct dhcp_packet *mess, size_t size, int opt_type, int minsize);
96 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize);
1448 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize)
1466 if (*p == opt && opt_len >= minsize)
1473 static unsigned char *option_find(struct dhcp_packet *mess, size_t size, int opt_type, int minsize)
1478 if ((ret = option_find1(&mess->options[0] + sizeof(u32), ((unsigned char *)mess) + size, opt_type, minsize)))
1487 (ret = option_find1(&mess->file[0], &mess->file[128], opt_type, minsize)))
1492 (ret = option_find1(&mess->sname[0], &mess->sname[64], opt_type, minsize)))