encx24j600_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Ell-i open source co-operative
3  * Kaspar Schleiser <kaspar@schleiser.de>
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser General
6  * Public License v2.1. See the file LICENSE in the top level directory for more
7  * details.
8  */
9 
20 #ifndef ENCX24J600_INTERNAL_H
21 #define ENCX24J600_INTERNAL_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
30 typedef struct __attribute__((packed)) encx24j600_frame_hdr {
31  uint16_t rx_next_ptr;
33  /* Receive Status Vector */
34  uint16_t frame_len;
36  uint32_t flags;
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 #endif /* ENCX24J600_INTERNAL_H */
44 
encx24j600_frame_hdr::frame_len
uint16_t frame_len
length of ethernet frame including 4 bytes checksum
Definition: encx24j600_internal.h:34
encx24j600_frame_hdr::flags
uint32_t flags
random flag field just mentioned for the sake of documentation completeness
Definition: encx24j600_internal.h:36
encx24j600_frame_hdr::rx_next_ptr
uint16_t rx_next_ptr
ptr to next packet within devices memory
Definition: encx24j600_internal.h:31
encx24j600_frame_hdr
structure resembling format as sent by device
Definition: encx24j600_internal.h:30
encx24j600_frame_hdr_t
struct encx24j600_frame_hdr encx24j600_frame_hdr_t
structure resembling format as sent by device