BOOTP header with DHCP messages. More...
#include "dhcp-header.h"
Public Types | |
enum | Messages { DHCPDISCOVER = 0 , DHCPOFFER = 1 , DHCPREQ = 2 , DHCPACK = 4 , DHCPNACK = 5 } |
DHCP messages. More... | |
enum | Options { OP_MASK = 1 , OP_ROUTE = 3 , OP_ADDREQ = 50 , OP_LEASE = 51 , OP_MSGTYPE = 53 , OP_SERVID = 54 , OP_RENEW = 58 , OP_REBIND = 59 , OP_END = 255 } |
BOOTP options. More... | |
Public Member Functions | |
DhcpHeader () | |
Constructor. | |
~DhcpHeader () override | |
Destructor. | |
Address | GetChaddr () |
Get the Address of the client. | |
Ipv4Address | GetDhcps () const |
Get the information about the DHCP server. | |
uint32_t | GetLease () const |
Return the lease time of the IPv4Address. | |
uint32_t | GetMask () const |
Return the mask of the network. | |
uint32_t | GetRebind () const |
Return the Rebind time of the address. | |
uint32_t | GetRenew () const |
Return the Renewal time of the address. | |
Ipv4Address | GetReq () const |
Get the IPv4Address requested by the client. | |
Ipv4Address | GetRouter () const |
Return the Ipv4Address of gateway to be used. | |
uint32_t | GetTran () const |
Get the transaction id. | |
uint8_t | GetType () const |
Return the type of DHCP message. | |
Ipv4Address | GetYiaddr () const |
Get the IPv4Address of the client. | |
void | ResetOpt () |
Reset the BOOTP options. | |
void | SetChaddr (Address addr) |
Set the Address of the device. | |
void | SetChaddr (uint8_t *addr, uint8_t len) |
Set the Address of the device. | |
void | SetDhcps (Ipv4Address addr) |
Set the DHCP server information. | |
void | SetHWType (uint8_t htype, uint8_t hlen) |
Set the hardware information. | |
void | SetLease (uint32_t time) |
Set the lease time of the IPv4Address. | |
void | SetMask (uint32_t addr) |
Set the mask of the IPv4Address. | |
void | SetRebind (uint32_t time) |
Set the Rebind time of the IPv4Address. | |
void | SetRenew (uint32_t time) |
Set the Renewal time of the IPv4Address. | |
void | SetReq (Ipv4Address addr) |
Set the Ipv4Address requested by the client. | |
void | SetRouter (Ipv4Address addr) |
Set the Ipv4Address of gateway to be used. | |
void | SetTime () |
Set the time when message is sent. | |
void | SetTran (uint32_t tran) |
Set the transaction ID. | |
void | SetType (uint8_t type) |
Set the type of BOOTP and DHCP messages. | |
void | SetYiaddr (Ipv4Address addr) |
Set the IPv4Address of the client. | |
Public Member Functions inherited from ns3::Header | |
~Header () override | |
virtual uint32_t | Deserialize (Buffer::Iterator start, Buffer::Iterator end) |
Deserialize the object from a buffer iterator. | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. | |
void | GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const |
Get the value of an attribute, raising fatal errors if unsuccessful. | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising errors. | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::Header | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::Chunk | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId () |
Get the type ID. | |
Private Member Functions | |
uint32_t | Deserialize (Buffer::Iterator start) override |
TypeId | GetInstanceTypeId () const override |
Get the most derived TypeId for this Object. | |
uint32_t | GetSerializedSize () const override |
void | Print (std::ostream &os) const override |
void | Serialize (Buffer::Iterator start) const override |
Private Attributes | |
uint8_t | m_bootp |
The BOOTP Message type. | |
uint8_t | m_chaddr [16] |
The address identifier. | |
Ipv4Address | m_ciAddr |
The IP address of the client. | |
Ipv4Address | m_dhcps |
DHCP server IP address. | |
uint8_t | m_file [128] |
File name (Padded for now) | |
uint16_t | m_flags |
BOOTP flags. | |
Ipv4Address | m_giAddr |
Relay Agent IP address. | |
uint8_t | m_hLen |
The hardware length. | |
uint8_t | m_hops |
The number of hops covered by the message. | |
uint8_t | m_hType |
The hardware type. | |
uint32_t | m_lease |
The lease time of the address. | |
uint32_t | m_len |
The length of the header. | |
uint8_t | m_magic_cookie [4] |
DHCP Magic Cookie. | |
uint32_t | m_mask |
The mask of the network. | |
uint8_t | m_op |
The DHCP Message type. | |
bool | m_opt [255] |
BOOTP option list. | |
uint32_t | m_rebind |
The rebinding time for the client. | |
uint32_t | m_renew |
The renewal time for the client. | |
Ipv4Address | m_req |
Requested Address. | |
Ipv4Address | m_route |
Router Option Address. | |
uint16_t | m_secs |
Seconds elapsed. | |
Ipv4Address | m_siAddr |
Next Server IP address. | |
uint8_t | m_sname [64] |
Server name (Padded for now) | |
uint32_t | m_xid |
The transaction number. | |
Ipv4Address | m_yiAddr |
Your (client) IP address. | |
Additional Inherited Members | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. | |
virtual void | NotifyConstructionCompleted () |
Notifier called once the ObjectBase is fully constructed. | |
Related Symbols inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid () |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. | |
BOOTP header with DHCP messages.
This supports the following options: Subnet Mask (1), Address Request (50), Refresh Lease Time (51), DHCP Message Type (53), DHCP Server ID (54), Renew Time (58), Rebind Time (59) and End (255) of BOOTP
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | op (1) | htype (1) | hlen (1) | hops (1) | +---------------+---------------+---------------+---------------+ | xid (4) | +-------------------------------+-------------------------------+ | secs (2) | flags (2) | +-------------------------------+-------------------------------+ | ciaddr (4) | +---------------------------------------------------------------+ | yiaddr (4) | +---------------------------------------------------------------+ | siaddr (4) | +---------------------------------------------------------------+ | giaddr (4) | +---------------------------------------------------------------+ | | | chaddr (16) | | | | | +---------------------------------------------------------------+ | | | sname (64) | +---------------------------------------------------------------+ | | | file (128) | +---------------------------------------------------------------+ | | | options (variable) | +---------------------------------------------------------------+
Definition at line 72 of file dhcp-header.h.
DHCP messages.
Enumerator | |
---|---|
DHCPDISCOVER | Code for DHCP Discover. |
DHCPOFFER | Code for DHCP Offer. |
DHCPREQ | Code for DHCP Request. |
DHCPACK | Code for DHCP ACK. |
DHCPNACK | Code for DHCP NACK. |
Definition at line 106 of file dhcp-header.h.
BOOTP options.
Enumerator | |
---|---|
OP_MASK | BOOTP Option 1: Address Mask. |
OP_ROUTE | BOOTP Option 3: Router Option. |
OP_ADDREQ | BOOTP Option 50: Requested Address. |
OP_LEASE | |
OP_MSGTYPE | BOOTP Option 53: DHCP Message Type. |
OP_SERVID | BOOTP Option 54: Server Identifier. |
OP_RENEW | |
OP_REBIND | |
OP_END | BOOTP Option 255: END. |
Definition at line 92 of file dhcp-header.h.
ns3::DhcpHeader::DhcpHeader | ( | ) |
|
override |
Destructor.
Definition at line 60 of file dhcp-header.cc.
|
overrideprivatevirtual |
start | an iterator which points to where the header should read from. |
This method is used by Packet::RemoveHeader to re-create a header from the byte buffer of a packet. The data read is expected to match bit-for-bit the representation of this header in real networks.
Note that data is not actually removed from the buffer to which the iterator points. Both Packet::RemoveHeader() and Packet::PeekHeader() call Deserialize(), but only the RemoveHeader() has additional statements to remove the header bytes from the underlying buffer and associated metadata.
Implements ns3::Header.
Definition at line 372 of file dhcp-header.cc.
References m_bootp, m_chaddr, m_ciAddr, m_dhcps, m_file, m_flags, m_giAddr, m_hLen, m_hops, m_hType, m_lease, m_len, m_magic_cookie, m_mask, m_op, m_rebind, m_renew, m_req, m_route, m_secs, m_siAddr, m_sname, m_xid, m_yiAddr, NS_LOG_WARN, OP_ADDREQ, OP_END, OP_LEASE, OP_MASK, OP_MSGTYPE, OP_REBIND, OP_RENEW, OP_ROUTE, OP_SERVID, ns3::Buffer::Iterator::Read(), ns3::ReadFrom(), ns3::Buffer::Iterator::ReadNtohU16(), ns3::Buffer::Iterator::ReadNtohU32(), ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU32(), and ns3::Buffer::Iterator::ReadU8().
Address ns3::DhcpHeader::GetChaddr | ( | ) |
Get the Address of the client.
Note: the address is always 16-bytes long.
Definition at line 124 of file dhcp-header.cc.
References ns3::Address::CopyFrom(), and m_chaddr.
Referenced by ns3::DhcpClient::NetHandler(), ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
Ipv4Address ns3::DhcpHeader::GetDhcps | ( | ) | const |
Get the information about the DHCP server.
Definition at line 155 of file dhcp-header.cc.
References m_dhcps.
Referenced by ns3::DhcpClient::Select().
|
overrideprivatevirtual |
Get the most derived TypeId for this Object.
This method is typically implemented by ns3::Object::GetInstanceTypeId but some classes which derive from ns3::ObjectBase directly have to implement it themselves.
Implements ns3::ObjectBase.
Definition at line 290 of file dhcp-header.cc.
References GetTypeId().
uint32_t ns3::DhcpHeader::GetLease | ( | ) | const |
Return the lease time of the IPv4Address.
Definition at line 223 of file dhcp-header.cc.
References m_lease.
Referenced by ns3::DhcpClient::Select().
uint32_t ns3::DhcpHeader::GetMask | ( | ) | const |
Return the mask of the network.
Definition at line 189 of file dhcp-header.cc.
References m_mask.
Referenced by ns3::DhcpClient::Select().
uint32_t ns3::DhcpHeader::GetRebind | ( | ) | const |
Return the Rebind time of the address.
Definition at line 257 of file dhcp-header.cc.
References m_rebind.
Referenced by ns3::DhcpClient::Select().
uint32_t ns3::DhcpHeader::GetRenew | ( | ) | const |
Return the Renewal time of the address.
Definition at line 240 of file dhcp-header.cc.
References m_renew.
Referenced by ns3::DhcpClient::Select().
Ipv4Address ns3::DhcpHeader::GetReq | ( | ) | const |
Get the IPv4Address requested by the client.
Definition at line 172 of file dhcp-header.cc.
References m_req.
Referenced by ns3::DhcpServer::NetHandler(), and ns3::DhcpServer::SendAck().
Ipv4Address ns3::DhcpHeader::GetRouter | ( | ) | const |
Return the Ipv4Address of gateway to be used.
Definition at line 206 of file dhcp-header.cc.
References m_route.
Referenced by ns3::DhcpClient::Select().
|
overrideprivatevirtual |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. This method should return the number of bytes which are needed to store the full header data by Serialize.
Implements ns3::Header.
Definition at line 274 of file dhcp-header.cc.
References m_len.
uint32_t ns3::DhcpHeader::GetTran | ( | ) | const |
Get the transaction id.
Definition at line 96 of file dhcp-header.cc.
References m_xid.
Referenced by ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
uint8_t ns3::DhcpHeader::GetType | ( | ) | const |
Return the type of DHCP message.
Definition at line 77 of file dhcp-header.cc.
References m_op.
Referenced by ns3::DhcpClient::NetHandler(), and ns3::DhcpServer::NetHandler().
|
static |
Get the type ID.
Definition at line 280 of file dhcp-header.cc.
References ns3::TypeId::SetParent().
Referenced by GetInstanceTypeId().
Ipv4Address ns3::DhcpHeader::GetYiaddr | ( | ) | const |
Get the IPv4Address of the client.
Definition at line 138 of file dhcp-header.cc.
References m_yiAddr.
Referenced by ns3::DhcpClient::Select().
|
overrideprivatevirtual |
os | output stream This method is used by Packet::Print to print the content of a header as ascii data to a c++ output stream. Although the header is free to format its output as it wishes, it is recommended to follow a few rules to integrate with the packet pretty printer: start with flags, small field values located between a pair of parens. Values should be separated by whitespace. Follow the parens with the important fields, separated by whitespace. i.e.: (field1 val1 field2 val2 field3 val3) field4 val4 field5 val5 |
Implements ns3::Header.
Definition at line 296 of file dhcp-header.cc.
References m_op.
void ns3::DhcpHeader::ResetOpt | ( | ) |
Reset the BOOTP options.
Definition at line 263 of file dhcp-header.cc.
References m_len, m_opt, and OP_END.
Referenced by ns3::DhcpClient::Boot(), ns3::DhcpClient::Request(), ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
|
overrideprivatevirtual |
start | an iterator which points to where the header should be written. |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. The data written is expected to match bit-for-bit the representation of this header in a real network.
Implements ns3::Header.
Definition at line 302 of file dhcp-header.cc.
References m_bootp, m_chaddr, m_ciAddr, m_dhcps, m_file, m_flags, m_giAddr, m_hLen, m_hops, m_hType, m_lease, m_magic_cookie, m_mask, m_op, m_opt, m_rebind, m_renew, m_req, m_route, m_secs, m_siAddr, m_sname, m_xid, m_yiAddr, OP_ADDREQ, OP_END, OP_LEASE, OP_MASK, OP_MSGTYPE, OP_REBIND, OP_RENEW, OP_ROUTE, OP_SERVID, ns3::Buffer::Iterator::Write(), ns3::Buffer::Iterator::WriteHtonU16(), ns3::Buffer::Iterator::WriteHtonU32(), ns3::WriteTo(), ns3::Buffer::Iterator::WriteU16(), ns3::Buffer::Iterator::WriteU32(), and ns3::Buffer::Iterator::WriteU8().
void ns3::DhcpHeader::SetChaddr | ( | Address | addr | ) |
Set the Address of the device.
Only the relevant bits are considered (i.e., not the type and length)
addr | Address of the device |
Definition at line 108 of file dhcp-header.cc.
References ns3::Address::CopyTo(), ns3::Address::GetLength(), m_chaddr, and NS_ASSERT_MSG.
Referenced by ns3::DhcpClient::Boot(), ns3::DhcpClient::Request(), ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetChaddr | ( | uint8_t * | addr, |
uint8_t | len ) |
Set the Address of the device.
Definition at line 116 of file dhcp-header.cc.
References m_chaddr, and NS_ASSERT_MSG.
void ns3::DhcpHeader::SetDhcps | ( | Ipv4Address | addr | ) |
Set the DHCP server information.
addr | IPv4Address of the server |
Definition at line 144 of file dhcp-header.cc.
References m_dhcps, m_len, m_opt, and OP_SERVID.
Referenced by ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetHWType | ( | uint8_t | htype, |
uint8_t | hlen ) |
Set the hardware information.
htype | Hardware type |
hlen | Hardware length |
Definition at line 83 of file dhcp-header.cc.
void ns3::DhcpHeader::SetLease | ( | uint32_t | time | ) |
Set the lease time of the IPv4Address.
time | 32 bit time |
Definition at line 212 of file dhcp-header.cc.
References m_lease, m_len, m_opt, and OP_LEASE.
Referenced by ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetMask | ( | uint32_t | addr | ) |
Set the mask of the IPv4Address.
addr | 32 bit mask |
Definition at line 178 of file dhcp-header.cc.
References m_len, m_mask, m_opt, and OP_MASK.
Referenced by ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetRebind | ( | uint32_t | time | ) |
Set the Rebind time of the IPv4Address.
time | 32 bit time |
Definition at line 246 of file dhcp-header.cc.
References m_len, m_opt, m_rebind, and OP_REBIND.
Referenced by ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetRenew | ( | uint32_t | time | ) |
Set the Renewal time of the IPv4Address.
time | 32 bit time |
Definition at line 229 of file dhcp-header.cc.
References m_len, m_opt, m_renew, and OP_RENEW.
Referenced by ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetReq | ( | Ipv4Address | addr | ) |
Set the Ipv4Address requested by the client.
addr | Ipv4Address requested by the client |
Definition at line 161 of file dhcp-header.cc.
References m_len, m_opt, m_req, and OP_ADDREQ.
Referenced by ns3::DhcpClient::Request().
void ns3::DhcpHeader::SetRouter | ( | Ipv4Address | addr | ) |
Set the Ipv4Address of gateway to be used.
addr | The Ipv4Address of the gateway |
Definition at line 195 of file dhcp-header.cc.
References m_len, m_opt, m_route, and OP_ROUTE.
Referenced by ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetTime | ( | ) |
Set the time when message is sent.
Definition at line 102 of file dhcp-header.cc.
References ns3::Time::GetSeconds(), m_secs, and ns3::Simulator::Now().
Referenced by ns3::DhcpClient::Boot(), ns3::DhcpClient::Request(), ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetTran | ( | uint32_t | tran | ) |
Set the transaction ID.
tran | The transaction number |
Definition at line 90 of file dhcp-header.cc.
References m_xid.
Referenced by ns3::DhcpClient::Boot(), ns3::DhcpClient::Request(), ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetType | ( | uint8_t | type | ) |
Set the type of BOOTP and DHCP messages.
type | The type of message |
Definition at line 65 of file dhcp-header.cc.
References m_bootp, m_len, m_op, m_opt, and OP_MSGTYPE.
Referenced by ns3::DhcpClient::Boot(), ns3::DhcpClient::Request(), ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
void ns3::DhcpHeader::SetYiaddr | ( | Ipv4Address | addr | ) |
Set the IPv4Address of the client.
addr | The client Ipv4Address |
Definition at line 132 of file dhcp-header.cc.
References m_yiAddr.
Referenced by ns3::DhcpServer::SendAck(), and ns3::DhcpServer::SendOffer().
|
private |
The BOOTP Message type.
Definition at line 285 of file dhcp-header.h.
Referenced by Deserialize(), Serialize(), and SetType().
|
private |
The address identifier.
Definition at line 294 of file dhcp-header.h.
Referenced by Deserialize(), GetChaddr(), Serialize(), SetChaddr(), and SetChaddr().
|
private |
The IP address of the client.
Definition at line 296 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
DHCP server IP address.
Definition at line 299 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), GetDhcps(), Serialize(), and SetDhcps().
|
private |
File name (Padded for now)
Definition at line 303 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
BOOTP flags.
Definition at line 293 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
Relay Agent IP address.
Definition at line 298 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
The hardware length.
Definition at line 287 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), Serialize(), and SetHWType().
|
private |
The number of hops covered by the message.
Definition at line 288 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
The hardware type.
Definition at line 286 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), Serialize(), and SetHWType().
|
private |
The lease time of the address.
Definition at line 305 of file dhcp-header.h.
Referenced by Deserialize(), GetLease(), Serialize(), and SetLease().
|
private |
The length of the header.
Definition at line 291 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), GetSerializedSize(), ResetOpt(), SetDhcps(), SetLease(), SetMask(), SetRebind(), SetRenew(), SetReq(), SetRouter(), and SetType().
|
private |
DHCP Magic Cookie.
Definition at line 304 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
The mask of the network.
Definition at line 290 of file dhcp-header.h.
Referenced by Deserialize(), GetMask(), Serialize(), and SetMask().
|
private |
The DHCP Message type.
Definition at line 284 of file dhcp-header.h.
Referenced by Deserialize(), GetType(), Print(), Serialize(), and SetType().
|
private |
BOOTP option list.
Definition at line 308 of file dhcp-header.h.
Referenced by ResetOpt(), Serialize(), SetDhcps(), SetLease(), SetMask(), SetRebind(), SetRenew(), SetReq(), SetRouter(), and SetType().
|
private |
The rebinding time for the client.
Definition at line 307 of file dhcp-header.h.
Referenced by Deserialize(), GetRebind(), Serialize(), and SetRebind().
|
private |
The renewal time for the client.
Definition at line 306 of file dhcp-header.h.
Referenced by Deserialize(), GetRenew(), Serialize(), and SetRenew().
|
private |
Requested Address.
Definition at line 300 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), GetReq(), Serialize(), and SetReq().
|
private |
Router Option Address.
Definition at line 301 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), GetRouter(), Serialize(), and SetRouter().
|
private |
Seconds elapsed.
Definition at line 292 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), Serialize(), and SetTime().
|
private |
Next Server IP address.
Definition at line 297 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
Server name (Padded for now)
Definition at line 302 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), and Serialize().
|
private |
The transaction number.
Definition at line 289 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), GetTran(), Serialize(), and SetTran().
|
private |
Your (client) IP address.
Definition at line 295 of file dhcp-header.h.
Referenced by DhcpHeader(), Deserialize(), GetYiaddr(), Serialize(), and SetYiaddr().