|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <miniOS/types.h>

Go to the source code of this file.
Classes | |
| struct | ethernet_frame_info_t |
Macros | |
| #define | ETH_ADDR_LEN 6 |
| #define | ETH_HEADER_LEN 14 |
| #define | ETH_MIN_FRAME_LEN 60 /* minimum Ethernet frame without FCS */ |
| #define | ETHERTYPE_IPV4 0x0800 |
| #define | ETHERTYPE_ARP 0x0806 |
Functions | |
| bool | ethernet_frame_info_parse (const void *frame, size_t frame_len, ethernet_frame_info_t *info_out) |
| #define ETH_ADDR_LEN 6 |
| #define ETH_HEADER_LEN 14 |
| #define ETH_MIN_FRAME_LEN 60 /* minimum Ethernet frame without FCS */ |
| #define ETHERTYPE_ARP 0x0806 |
| #define ETHERTYPE_IPV4 0x0800 |
| bool ethernet_frame_info_parse | ( | const void * | frame, |
| size_t | frame_len, | ||
| ethernet_frame_info_t * | info_out ) |

