Home
last modified time | relevance | path

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

/system/core/libnetutils/
Ddhcpmsg.h26 typedef struct dhcp_msg dhcp_msg; typedef
35 struct dhcp_msg struct
101 int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid);
103 int init_dhcp_request_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid,
Ddhcpmsg.c24 static void *init_dhcp_msg(dhcp_msg *msg, int type, void *hwaddr, uint32_t xid) in init_dhcp_msg()
28 memset(msg, 0, sizeof(dhcp_msg)); in init_dhcp_msg()
55 int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid) in init_dhcp_discover_msg()
73 int init_dhcp_request_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid, in init_dhcp_request_msg()
Dpacket.h21 int send_packet(int s, int if_index, struct dhcp_msg *msg, int size,
23 int receive_packet(int s, struct dhcp_msg *msg);
Ddhcpclient.c164 int decode_dhcp_msg(dhcp_msg *msg, int len, dhcp_info *info) in decode_dhcp_msg()
247 void dump_dhcp_msg(dhcp_msg *msg, int len) in dump_dhcp_msg()
342 static int send_message(int sock, int if_index, dhcp_msg *msg, int size) in send_message()
351 static int is_valid_reply(dhcp_msg *msg, dhcp_msg *reply, int sz) in is_valid_reply()
389 dhcp_msg discover_msg; in dhcp_init_ifc()
390 dhcp_msg request_msg; in dhcp_init_ifc()
391 dhcp_msg reply; in dhcp_init_ifc()
392 dhcp_msg *msg; in dhcp_init_ifc()
Dpacket.c89 int send_packet(int s, int if_index, struct dhcp_msg *msg, int size, in send_packet()
156 int receive_packet(int s, struct dhcp_msg *msg) in receive_packet()
163 struct dhcp_msg dhcp; in receive_packet()
229 ((int)sizeof(struct dhcp_msg) < dhcp_size)) { in receive_packet()