Lines Matching refs:sourceMessage
81 Message Message::offer(const Message& sourceMessage, in offer() argument
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()
96 message.dhcpData.giaddr = sourceMessage.dhcpData.giaddr; in offer()
111 Message Message::ack(const Message& sourceMessage, in ack() argument
119 memcpy(macAddress, sourceMessage.dhcpData.chaddr, sizeof(macAddress)); in ack()
122 message.dhcpData.xid = sourceMessage.dhcpData.xid; in ack()
123 message.dhcpData.flags = sourceMessage.dhcpData.flags; in ack()
125 message.dhcpData.giaddr = sourceMessage.dhcpData.giaddr; in ack()
140 Message Message::nack(const Message& sourceMessage, in_addr_t serverAddress) { in nack() argument
142 memcpy(macAddress, sourceMessage.dhcpData.chaddr, sizeof(macAddress)); in nack()
145 message.dhcpData.xid = sourceMessage.dhcpData.xid; in nack()
146 message.dhcpData.flags = sourceMessage.dhcpData.flags; in nack()
147 message.dhcpData.giaddr = sourceMessage.dhcpData.giaddr; in nack()