Lines Matching defs:opt

81 #define option_len(opt) ((int)(((unsigned char *)(opt))[1]))  argument
82 #define option_ptr(opt, i) ((void *)&(((unsigned char *)(opt))[2u+(unsigned int)(i)])) argument
124 unsigned char *opt, *clid = NULL; in dhcp_reply() local
1337 …nsigned int calc_time(struct dhcp_context *context, struct dhcp_config *config, unsigned char *opt) in calc_time()
1363 static int sanitise(unsigned char *opt, char *buf) in sanitise()
1448 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize) in option_find1()
1498 static struct in_addr option_addr_arr(unsigned char *opt, int offset) in option_addr_arr()
1509 static struct in_addr option_addr(unsigned char *opt) in option_addr()
1514 static unsigned int option_uint(unsigned char *opt, int offset, int size) in option_uint()
1630 static unsigned char *free_space(struct dhcp_packet *mess, unsigned char *end, int opt, int len) in free_space()
1692 static void option_put(struct dhcp_packet *mess, unsigned char *end, int opt, int len, unsigned int… in option_put()
1702 static void option_put_string(struct dhcp_packet *mess, unsigned char *end, int opt, in option_put_string()
1716 static int do_opt(struct dhcp_opt *opt, unsigned char *p, struct dhcp_context *context, int null_te… in do_opt()
1745 static int in_list(unsigned char *list, int opt) in in_list()
1760 static struct dhcp_opt *option_find2(struct dhcp_netid *netid, struct dhcp_opt *opts, int opt) in option_find2()
1773 static void match_vendor_opts(unsigned char *opt, struct dhcp_opt *dopt) in match_vendor_opts()
1793 static void do_encap_opts(struct dhcp_opt *opt, int encap, int flag, in do_encap_opts()
1850 struct dhcp_opt *opt; in prune_vendor_opts() local
2026 struct dhcp_opt *opt, *config_opts = daemon->dhcp_opts; in do_options() local