summaryrefslogtreecommitdiffstats
path: root/libs/Network/include
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-05-04 10:34:10 -0600
committerEvan Lojewski <github@meklort.com>2019-05-04 10:34:10 -0600
commit418c47d20e0fe1b9074490f3e16109f80355cf3b (patch)
tree89f5a6e88dc3f2b9ed2e416231e6eb1ec52b3da6 /libs/Network/include
parentf3bcf9a4af7ada743fae84c3572d9e4cc1d44ae5 (diff)
downloadbcm5719-ortega-418c47d20e0fe1b9074490f3e16109f80355cf3b.tar.gz
bcm5719-ortega-418c47d20e0fe1b9074490f3e16109f80355cf3b.zip
Begin cleaning up tx/rx code
Diffstat (limited to 'libs/Network/include')
-rw-r--r--libs/Network/include/Network.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/Network/include/Network.h b/libs/Network/include/Network.h
index 8bfadcf..d96d665 100644
--- a/libs/Network/include/Network.h
+++ b/libs/Network/include/Network.h
@@ -46,6 +46,8 @@
#define NETWORK_H
#include <stdint.h>
+#include <stdbool.h>
+#include <APE_APE_PERI.h>
void Network_InitTxRx(void);
@@ -53,7 +55,11 @@ uint32_t Network_TX_numBlocksNeeded(uint32_t frame_size);
int32_t Network_TX_allocateBlock(void);
void Network_TX_transmitBePacket(uint8_t* packet, uint32_t length);
+void Network_TX_transmitLePacket(uint8_t* packet, uint32_t length);
+// void Network_TX_transmitPassthroughPacket(RegAPE_PERIBmcToNcRxStatus_t rx_status);
+
+void Network_SetMACAddr(uint16_t high, uint32_t low, uint32_t index, bool enabled);
OpenPOWER on IntegriCloud