Home
last modified time | relevance | path

Searched refs:xid (Results 1 – 3 of 3) sorted by relevance

/system/core/libnetutils/
Ddhcpmsg.c24 static void *init_dhcp_msg(dhcp_msg *msg, int type, void *hwaddr, uint32_t xid) in init_dhcp_msg() argument
37 msg->xid = xid; in init_dhcp_msg()
55 int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid) in init_dhcp_discover_msg() argument
59 x = init_dhcp_msg(msg, DHCPDISCOVER, hwaddr, 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() argument
78 x = init_dhcp_msg(msg, DHCPREQUEST, hwaddr, xid); in init_dhcp_request_msg()
Ddhcpmsg.h42 uint32_t xid; /* transaction id */ member
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,
Ddhcpclient.c272 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()
361 if (reply->xid != msg->xid) { in is_valid_reply()
362 if (verbose) ALOGD("Wrong Xid 0x%x != 0x%x\n", ntohl(reply->xid), in is_valid_reply()
363 ntohl(msg->xid)); in is_valid_reply()
396 uint32_t xid; in dhcp_init_ifc() local
403 xid = (uint32_t) get_msecs(); in dhcp_init_ifc()
447 size = init_dhcp_discover_msg(msg, hwaddr, xid); in dhcp_init_ifc()
451 size = init_dhcp_request_msg(msg, hwaddr, xid, info.ipaddr, info.serveraddr); in dhcp_init_ifc()
506 xid++; in dhcp_init_ifc()