Searched refs:dhcpData (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish/dhcp/common/ |
D | message.cpp | 40 memset(&dhcpData, 0, sizeof(dhcpData)); in Message() 45 if (size <= sizeof(dhcpData)) { in Message() 46 memcpy(&dhcpData, data, size); in Message() 49 memset(&dhcpData, 0, sizeof(dhcpData)); in Message() 90 memcpy(macAddress, sourceMessage.dhcpData.chaddr, sizeof(macAddress)); in offer() 93 message.dhcpData.xid = sourceMessage.dhcpData.xid; in offer() 94 message.dhcpData.flags = sourceMessage.dhcpData.flags; in offer() 95 message.dhcpData.yiaddr = offeredAddress; in offer() 96 message.dhcpData.giaddr = sourceMessage.dhcpData.giaddr; in offer() 119 memcpy(macAddress, sourceMessage.dhcpData.chaddr, sizeof(macAddress)); in ack() [all …]
|
/device/generic/goldfish/dhcp/common/include/ |
D | message.h | 56 return reinterpret_cast<const uint8_t*>(&dhcpData); in data() 59 return reinterpret_cast<uint8_t*>(&dhcpData); in data() 66 size_t capacity() const { return sizeof(dhcpData); } in capacity() 97 } dhcpData; variable
|
/device/generic/goldfish/dhcp/client/ |
D | dhcpclient.cpp | 248 mRequestAddress = msg.dhcpData.yiaddr; in waitAndReceive() 310 const uint8_t* options = msg.dhcpData.options; in configureDhcp() 396 mDhcpInfo.offeredAddress = msg.dhcpData.yiaddr; in configureDhcp() 485 msg->isValidDhcpMessage(OP_BOOTREPLY, mLastMsg.dhcpData.xid); in receiveDhcpMessage()
|