14 lines
212 B
C++
14 lines
212 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace eth {
|
|
struct header {
|
|
uint8_t destination_address[6];
|
|
uint8_t source_address[6];
|
|
uint16_t ether_type;
|
|
};
|
|
|
|
char const * tostr(uint8_t const * buf);
|
|
}
|