Home
last modified time | relevance | path

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

/external/dhcpcd/
Ddhcp.h126 struct dhcp_message { struct
162 char *get_option_string(const struct dhcp_message *, uint8_t); argument
163 int get_option_addr(struct in_addr *, const struct dhcp_message *, uint8_t);
164 int get_option_uint32(uint32_t *, const struct dhcp_message *, uint8_t);
165 int get_option_uint16(uint16_t *, const struct dhcp_message *, uint8_t);
166 int get_option_uint8(uint8_t *, const struct dhcp_message *, uint8_t);
167 struct rt *get_option_routes(const struct dhcp_message *);
168 ssize_t configure_env(char **, const char *, const struct dhcp_message *,
171 ssize_t make_message(struct dhcp_message **,
176 ssize_t write_lease(const struct interface *, const struct dhcp_message *);
[all …]
Dconfigure.h36 const struct dhcp_message *, const struct dhcp_message *);
38 const struct dhcp_message *, const struct dhcp_message *,
Dshowlease.c121 struct dhcp_message *
125 struct dhcp_message *dhcp; in get_lease()
188 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type) in get_option()
204 dhcp_opt_buffer = malloc(sizeof(struct dhcp_message)); in get_option()
261 get_option_addr32(uint32_t *a, const struct dhcp_message *dhcp, uint8_t option) in get_option_addr32()
272 get_option_uint32(uint32_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint32()
316 struct dhcp_message *dhcp; in main()
Ddhcp.c257 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type) in get_option()
273 dhcp_opt_buffer = xmalloc(sizeof(struct dhcp_message)); in get_option()
330 get_option_addr(struct in_addr *a, const struct dhcp_message *dhcp, in get_option_addr()
342 get_option_uint32(uint32_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint32()
355 get_option_uint16(uint16_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint16()
368 get_option_uint8(uint8_t *i, const struct dhcp_message *dhcp, uint8_t option) in get_option_uint8()
603 get_option_string(const struct dhcp_message *dhcp, uint8_t option) in get_option_string()
667 get_option_routes(const struct dhcp_message *dhcp) in get_option_routes()
758 make_message(struct dhcp_message **message, in make_message()
762 struct dhcp_message *dhcp; in make_message()
[all …]
Dconfigure.c85 const struct dhcp_message *dhcpn, const struct dhcp_message *dhcpo) in run_script()
232 configure_routes(struct interface *iface, const struct dhcp_message *dhcp, in configure_routes()
340 const struct dhcp_message *dhcp, const struct dhcp_message *old, in configure()
Dclient.c131 struct dhcp_message *offer;
132 struct dhcp_message *new;
133 struct dhcp_message *old;
323 static struct dhcp_message*
327 struct dhcp_message *dhcp; in ipv4ll_get_dhcp()
363 get_lease(struct dhcp_lease *lease, const struct dhcp_message *dhcp) in get_lease()
394 struct dhcp_message *dhcp = NULL; in get_old_lease()
637 struct dhcp_message *dhcp; in send_message()
1352 log_dhcp(int lvl, const char *msg, const struct dhcp_message *dhcp) in log_dhcp()
1376 handle_dhcp(struct if_state *state, struct dhcp_message **dhcpp, in handle_dhcp()
[all …]
Dnet.c548 struct dhcp_message dhcp;