Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
ethernet.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
20
#include <stdint.h>
21
22
#include "
net/ethernet/hdr.h
"
23
#include "
net/eui64.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
#define ETHERNET_DATA_LEN (1500)
30
#define ETHERNET_FCS_LEN (4)
36
#define ETHERNET_FRAME_LEN (ETHERNET_DATA_LEN + sizeof(ethernet_hdr_t))
37
#define ETHERNET_MIN_LEN (64)
43
#define ETHERNET_MAX_LEN (ETHERNET_FRAME_LEN + ETHERNET_FCS_LEN)
44
45
#ifdef __cplusplus
46
}
47
#endif
48
eui64.h
EUI-64 data type definition.
hdr.h
Ethernet header definitions.
Generated on Mon Nov 24 2025 18:43:16 by
1.9.1