aboutsummaryrefslogtreecommitdiff
path: root/helper/include/odph_eth.h
diff options
context:
space:
mode:
Diffstat (limited to 'helper/include/odph_eth.h')
-rw-r--r--helper/include/odph_eth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/helper/include/odph_eth.h b/helper/include/odph_eth.h
index 55a2b1e..065a94b 100644
--- a/helper/include/odph_eth.h
+++ b/helper/include/odph_eth.h
@@ -34,7 +34,7 @@ extern "C" {
/**
* Ethernet MAC address
*/
-typedef struct ODPH_PACKED {
+typedef struct ODP_PACKED {
uint8_t addr[ODPH_ETHADDR_LEN]; /**< @private Address */
} odph_ethaddr_t;
@@ -44,7 +44,7 @@ ODP_STATIC_ASSERT(sizeof(odph_ethaddr_t) == ODPH_ETHADDR_LEN, "ODPH_ETHADDR_T__S
/**
* Ethernet header
*/
-typedef struct ODPH_PACKED {
+typedef struct ODP_PACKED {
odph_ethaddr_t dst; /**< Destination address */
odph_ethaddr_t src; /**< Source address */
uint16be_t type; /**< Type */
@@ -58,7 +58,7 @@ ODP_STATIC_ASSERT(sizeof(odph_ethhdr_t) == ODPH_ETHHDR_LEN, "ODPH_ETHHDR_T__SIZE
*
* @todo Check usage of tpid vs ethertype. Check outer VLAN TPID.
*/
-typedef struct ODPH_PACKED {
+typedef struct ODP_PACKED {
uint16be_t tpid; /**< Tag protocol ID (located after ethhdr.src) */
uint16be_t tci; /**< Priority / CFI / VLAN ID */
} odph_vlanhdr_t;