nl::Inet::IPPacketInfo

#include <src/inet/InetLayer.h>

Information about an incoming/outgoing message/connection.

Summary

Do not alter the contents of this class without first reading and understanding the code/comments in UDPEndPoint::GetPacketInfo().

Public attributes

DestAddress
The destination IPAddress in the packet.
DestPort
uint16_t
The destination port in the packet.
Interface
InterfaceId
The interface identifier for the connection.
SrcAddress
The source IPAddress in the packet.
SrcPort
uint16_t
The source port in the packet.

Public functions

Clear(void)
void
Reset the members of the IPPacketInfo object.

Public attributes

DestAddress

IPAddress DestAddress

The destination IPAddress in the packet.

DestPort

uint16_t DestPort

The destination port in the packet.

Interface

InterfaceId Interface

The interface identifier for the connection.

SrcAddress

IPAddress SrcAddress

The source IPAddress in the packet.

SrcPort

uint16_t SrcPort

The source port in the packet.

Public functions

Clear

void Clear(
  void
)

Reset the members of the IPPacketInfo object.