NetBurner 3.5.0
PDF Version
 
MACADR Class Reference

Used to store and manipulate MAC addresses. More...

#include <nettypes.h>

Public Member Functions

bool IsNull ()
 Checks if MAC is null.
 
bool IsMultiCast ()
 Checks if MAC is a Multicast MAC.
 
bool IsBroadCast ()
 Checks if MAC is a Broadcast MAC.
 
uint8_t GetByte (int n) const
 Get the nth byte of the MAC.
 
void SetFromBytes (const uint8_t *pb)
 Set the MAC Address from a pointer to an array of 6 bytes.
 
void fdprint (int fd)
 print the MAC to a file descriptor
 
void print ()
 print the MAC to file descriptor 1
 
MACADR operator+ (uint32_t rhs)
 

Detailed Description

Used to store and manipulate MAC addresses.

Member Function Documentation

◆ operator+()

MACADR MACADR::operator+ ( uint32_t rhs)
inline

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