Searched refs:xid (Results 1 – 4 of 4) sorted by relevance
/system/core/libnetutils/ |
D | dhcpmsg.c | 24 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()
|
D | dhcpmsg.h | 42 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,
|
D | dhcpclient.c | 274 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg() 363 if (reply->xid != msg->xid) { in is_valid_reply() 364 if (verbose) ALOGD("Wrong Xid 0x%x != 0x%x\n", ntohl(reply->xid), in is_valid_reply() 365 ntohl(msg->xid)); in is_valid_reply() 398 uint32_t xid; in dhcp_init_ifc() local 405 xid = (uint32_t) get_msecs(); in dhcp_init_ifc() 449 size = init_dhcp_discover_msg(msg, hwaddr, xid); in dhcp_init_ifc() 453 size = init_dhcp_request_msg(msg, hwaddr, xid, info.ipaddr, info.serveraddr); in dhcp_init_ifc() 508 xid++; in dhcp_init_ifc()
|
/system/connectivity/dhcp_client/ |
D | dhcp_message.cc | 54 uint32_t xid; member 125 message->transaction_id_ = ntohl(raw_message->xid); in InitFromBuffer() 280 raw_message.xid = htonl(transaction_id_); in Serialize()
|