Searched refs:dhcpData (Results 1 – 4 of 4) sorted by relevance
/device/generic/goldfish/dhcp/common/ |
D | message.cpp | 42 memset(&dhcpData, 0, sizeof(dhcpData)); in Message() 47 if (size <= sizeof(dhcpData)) { in Message() 48 memcpy(&dhcpData, data, size); in Message() 51 memset(&dhcpData, 0, sizeof(dhcpData)); in Message() 92 memcpy(macAddress, sourceMessage.dhcpData.chaddr, sizeof(macAddress)); in offer() 95 message.dhcpData.xid = sourceMessage.dhcpData.xid; in offer() 96 message.dhcpData.flags = sourceMessage.dhcpData.flags; in offer() 97 message.dhcpData.yiaddr = offeredAddress; in offer() 98 message.dhcpData.giaddr = sourceMessage.dhcpData.giaddr; in offer() 121 memcpy(macAddress, sourceMessage.dhcpData.chaddr, sizeof(macAddress)); in ack() [all …]
|
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 | 247 mRequestAddress = msg.dhcpData.yiaddr; in waitAndReceive() 311 const uint8_t* options = msg.dhcpData.options; in configureDhcp() 395 mDhcpInfo.offeredAddress = msg.dhcpData.yiaddr; in configureDhcp() 479 msg->isValidDhcpMessage(OP_BOOTREPLY, mLastMsg.dhcpData.xid); in receiveDhcpMessage()
|
/device/generic/goldfish/dhcp/server/ |
D | dhcpserver.cpp | 144 message.dhcpData.chaddr, in sendDhcpOffer() 180 message.dhcpData.chaddr, in sendAck() 228 message.dhcpData.chaddr, in isValidDhcpRequest()
|