join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::DhcpPacket Struct Reference

DHCP message. More...

#include <dhcp_message.hpp>

Collaboration diagram for join::DhcpPacket:

Public Types

using Ptr = std::unique_ptr<DhcpPacket>
 pointer to a DHCP message.
 

Public Attributes

MacAddress src
 link layer source address, set by the transport.
 
MacAddress dest
 link layer destination address, set by the transport.
 
MacAddress hardware
 client hardware address, carried by the message itself.
 
IpAddress client {AF_INET}
 client IP address, set when the client already owns a lease.
 
IpAddress your {AF_INET}
 IP address the server assigns to the client.
 
IpAddress server {AF_INET}
 IP address of the next server to use at boot time.
 
IpAddress gateway {AF_INET}
 IP address of the relay agent the message went through.
 
uint32_t id = 0
 transaction identifier.
 
uint16_t secs = 0
 seconds elapsed since the client started the acquisition.
 
uint16_t flags = 0
 message flags.
 
uint8_t op = 0
 operation code.
 
DhcpOption options
 message options.
 

Detailed Description

DHCP message.

Member Typedef Documentation

◆ Ptr

using join::DhcpPacket::Ptr = std::unique_ptr<DhcpPacket>

pointer to a DHCP message.

Member Data Documentation

◆ client

IpAddress join::DhcpPacket::client {AF_INET}

client IP address, set when the client already owns a lease.

◆ dest

MacAddress join::DhcpPacket::dest

link layer destination address, set by the transport.

◆ flags

uint16_t join::DhcpPacket::flags = 0

message flags.

◆ gateway

IpAddress join::DhcpPacket::gateway {AF_INET}

IP address of the relay agent the message went through.

◆ hardware

MacAddress join::DhcpPacket::hardware

client hardware address, carried by the message itself.

◆ id

uint32_t join::DhcpPacket::id = 0

transaction identifier.

◆ op

uint8_t join::DhcpPacket::op = 0

operation code.

◆ options

DhcpOption join::DhcpPacket::options

message options.

◆ secs

uint16_t join::DhcpPacket::secs = 0

seconds elapsed since the client started the acquisition.

◆ server

IpAddress join::DhcpPacket::server {AF_INET}

IP address of the next server to use at boot time.

◆ src

MacAddress join::DhcpPacket::src

link layer source address, set by the transport.

◆ your

IpAddress join::DhcpPacket::your {AF_INET}

IP address the server assigns to the client.


The documentation for this struct was generated from the following file: