1 #ifndef PCAPPP_MACADDRESS 2 #define PCAPPP_MACADDRESS 55 MacAddress(uint8_t firstOctest, uint8_t secondOctet, uint8_t thirdOctet, uint8_t fourthOctet, uint8_t fifthOctet, uint8_t sixthOctet);
73 for (
int i = 0; i < 6; i++)
74 if (m_Address[i] != other.m_Address[i])
102 void copyTo(uint8_t** arr);
109 void copyTo(uint8_t* arr)
const;
116 uint8_t m_Address[6];
118 void init(
const char* addr);
bool operator!=(const MacAddress &other)
Definition: MacAddress.h:83
The main namespace for the PcapPlusPlus lib.
bool operator==(const MacAddress &other)
Definition: MacAddress.h:71
static MacAddress Zero
Definition: MacAddress.h:114
bool isValid()
Definition: MacAddress.h:90
Definition: MacAddress.h:21
MacAddress(uint8_t *addr)
void copyTo(uint8_t **arr)
MacAddress & operator=(const MacAddress &other)