Home
last modified time | relevance | path

Searched refs:dhcp_context (Results 1 – 5 of 5) sorted by relevance

/external/dnsmasq/src/
Ddhcp.c23 struct dhcp_context* current;
88 struct dhcp_context* context; in dhcp_packet()
276 struct dhcp_context* context; in complete_context()
325 struct dhcp_context* address_available(struct dhcp_context* context, struct in_addr taddr, in address_available()
332 struct dhcp_context* tmp; in address_available()
349 struct dhcp_context* narrow_context(struct dhcp_context* context, struct in_addr taddr, in narrow_context()
359 struct dhcp_context* tmp; in narrow_context()
405 int address_allocate(struct dhcp_context* context, struct in_addr* addrp, unsigned char* hwaddr, in address_allocate()
412 struct dhcp_context *c, *d; in address_allocate()
497 static int is_addr_in_context(struct dhcp_context* context, struct dhcp_config* config) { in is_addr_in_context()
[all …]
Ddnsmasq.h536 struct dhcp_context { struct
543 struct dhcp_context *next, *current; argument
602 struct dhcp_context* dhcp;
750 struct dhcp_context* address_available(struct dhcp_context* context, struct in_addr addr,
752 struct dhcp_context* narrow_context(struct dhcp_context* context, struct in_addr taddr,
755 int address_allocate(struct dhcp_context* context, struct in_addr* addrp, unsigned char* hwaddr,
758 struct dhcp_config* find_config(struct dhcp_config* configs, struct dhcp_context* context,
791 size_t dhcp_reply(struct dhcp_context* context, char* iface_name, int int_index, size_t sz,
Drfc2131.c85 static struct in_addr server_id(struct dhcp_context* context, struct in_addr override,
87 static unsigned int calc_time(struct dhcp_context* context, struct dhcp_config* config,
103 static void do_options(struct dhcp_context* context, struct dhcp_packet* mess,
117 size_t dhcp_reply(struct dhcp_context* context, char* iface_name, int int_index, size_t sz, in dhcp_reply()
275 struct dhcp_context *context_tmp, *context_new = NULL; in dhcp_reply()
322 struct dhcp_context* context_tmp; in dhcp_reply()
808 struct dhcp_context* tmp; in dhcp_reply()
935 struct dhcp_context* tmp = NULL; in dhcp_reply()
1186 static unsigned int calc_time(struct dhcp_context* context, struct dhcp_config* config, in calc_time()
1199 static struct in_addr server_id(struct dhcp_context* context, struct in_addr override, in server_id()
[all …]
Ddnsmasq.c445 struct dhcp_context* dhcp_tmp; in main()
Doption.c1459 struct dhcp_context* new = opt_malloc(sizeof(struct dhcp_context)); in one_opt()