Home
last modified time | relevance | path

Searched refs:sourceMessage (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/dhcp/common/
Dmessage.cpp83 Message Message::offer(const Message& sourceMessage, in offer() argument
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()
98 message.dhcpData.giaddr = sourceMessage.dhcpData.giaddr; in offer()
113 Message Message::ack(const Message& sourceMessage, in ack() argument
121 memcpy(macAddress, sourceMessage.dhcpData.chaddr, sizeof(macAddress)); in ack()
124 message.dhcpData.xid = sourceMessage.dhcpData.xid; in ack()
125 message.dhcpData.flags = sourceMessage.dhcpData.flags; in ack()
127 message.dhcpData.giaddr = sourceMessage.dhcpData.giaddr; in ack()
[all …]
Dmessage.h33 static Message offer(const Message& sourceMessage,
40 static Message ack(const Message& sourceMessage,
47 static Message nack(const Message& sourceMessage, in_addr_t serverAddress);