Home
last modified time | relevance | path

Searched refs:dhcp_message (Results 1 – 10 of 10) sorted by relevance

/external/dhcpcd/
Ddhcp.h139 struct dhcp_message { struct
181 char *get_option_string(const struct dhcp_message *, uint8_t);
182 int get_option_addr(struct in_addr *, const struct dhcp_message *, uint8_t);
183 int get_option_uint32(uint32_t *, const struct dhcp_message *, uint8_t);
184 int get_option_uint16(uint16_t *, const struct dhcp_message *, uint8_t);
185 int get_option_uint8(uint8_t *, const struct dhcp_message *, uint8_t);
189 struct rt *get_option_routes(const struct dhcp_message *, const char *,
192 ssize_t configure_env(char **, const char *, const struct dhcp_message *,
195 int dhcp_message_add_addr(struct dhcp_message *, uint8_t, struct in_addr);
196 ssize_t make_message(struct dhcp_message **, const struct interface *,
[all …]
Ddhcpcd.h67 struct dhcp_message *sent;
68 struct dhcp_message *offer;
69 struct dhcp_message *new;
70 struct dhcp_message *old;
Ddhcpcd_test.cpp50 struct dhcp_message { struct
69 char * get_option_string(const struct dhcp_message *dhcp, uint8_t option); argument
79 memset(dhcpmsgs, 0, ARRAYSIZE(dhcpmsgs) * sizeof(struct dhcp_message)); in SetUp()
99 struct dhcp_message dhcpmsgs[2];
Dshowlease.c125 struct dhcp_message *
129 struct dhcp_message *dhcp; in get_lease_from_file()
192 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type) in get_option()
208 dhcp_opt_buffer = malloc(sizeof(struct dhcp_message)); in get_option()
265 get_option_addr32(uint32_t *a, const struct dhcp_message *dhcp, uint8_t option) in get_option_addr32()
276 get_option_uint32(uint32_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint32()
320 struct dhcp_message *dhcp; in main()
Dipv4ll.c43 static struct dhcp_message *
47 struct dhcp_message *dhcp; in make_ipv4ll_lease()
69 static struct dhcp_message *
Ddhcp.c305 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type) in get_option()
384 get_option_addr(struct in_addr *a, const struct dhcp_message *dhcp, in get_option_addr()
396 get_option_uint32(uint32_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint32()
409 get_option_uint16(uint16_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint16()
422 get_option_uint8(uint8_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint8()
718 get_option_string(const struct dhcp_message *dhcp, uint8_t option) in get_option_string()
782 get_option_routes(const struct dhcp_message *dhcp, in get_option_routes()
882 dhcp_message_add_addr(struct dhcp_message *dhcp, in dhcp_message_add_addr()
906 make_message(struct dhcp_message **message, in make_message()
910 struct dhcp_message *dhcp; in make_message()
[all …]
Ddhcpcd.c311 struct dhcp_message *dhcp; in send_message()
443 const struct interface *iface, const struct dhcp_message *dhcp, in log_dhcp()
504 handle_dhcp(struct interface *iface, struct dhcp_message **dhcpp, const struct in_addr *from) in handle_dhcp()
508 struct dhcp_message *dhcp = *dhcpp; in handle_dhcp()
665 struct dhcp_message *dhcp = NULL; in handle_dhcp_packet()
1039 static struct dhcp_message *
1042 struct dhcp_message *dhcp; in dhcp_message_new()
Dconfigure.c537 get_subnet_route(struct dhcp_message *dhcp) in get_subnet_route()
777 struct dhcp_message *dhcp = iface->state->new; in configure()
Dnet.c675 struct dhcp_message dhcp;
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c65 struct dhcp_message { struct
173 struct dhcp_message *msg; in handle_dhcp()
189 msg = (struct dhcp_message *) buf; in handle_dhcp()