(r4864/r225)
#include "xbasic_types.h"
Go to the source code of this file.
Define Documentation
| #define ETHER_HEADER_OFFSET 0 |
| #define ETHER_PAYLOAD_OFFSET ETHER_HEADER_OFFSET + sizeof(struct ether_header) |
| #define ETHERTYPE_ARP 0x0806 |
| #define ETHERTYPE_IP 0x0800 |
| #define MAX_ETHER_FRAME_SIZE (1518 - ETHER_CRC_SIZE) |
| #define MAX_ETHER_PAYLOAD MAX_ETHER_FRAME_SIZE - sizeof(struct ether_header) |
| #define MIN_ETHER_FRAME_SIZE (64 - ETHER_CRC_SIZE) |
Function Documentation
| void cpy_ether_addr |
( |
Xuint8 * |
dest, |
|
|
Xuint8 * |
src | |
|
) |
| | |
| int ether_addr_equal |
( |
Xuint8 * |
one, |
|
|
Xuint8 * |
two | |
|
) |
| | |