#include <libmac.h>
Data Fields | |
| ether_header * | hptr |
| This pointer is initialized to NULL and when each frame is received, it is set to point to the ethernet frame header. | |
| unsigned char * | data |
| This pointer is initialized to NULL and when each frame is received, it is set to point to the first byte after the header. | |
| short | data_len |
| This member contains the total length of the received payload, i.e. length(length field + data + parameter information). | |
1.3.8