summaryrefslogtreecommitdiffstats
path: root/libs/Network
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-05-05 19:17:10 -0600
committerEvan Lojewski <github@meklort.com>2019-05-05 19:17:10 -0600
commit7e5196c770e6a229e00c849de4fe41b6d962a7ef (patch)
tree62fa11179088876a4db411cbe09c4ba52dd6f38c /libs/Network
parent72eaf56f7ffaeb2d57cfdf63f32963bd08bfb290 (diff)
downloadbcm5719-ortega-7e5196c770e6a229e00c849de4fe41b6d962a7ef.tar.gz
bcm5719-ortega-7e5196c770e6a229e00c849de4fe41b6d962a7ef.zip
More cleanup - headers.
Diffstat (limited to 'libs/Network')
-rw-r--r--libs/Network/include/Network.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/libs/Network/include/Network.h b/libs/Network/include/Network.h
index 645569b..06bd57f 100644
--- a/libs/Network/include/Network.h
+++ b/libs/Network/include/Network.h
@@ -45,30 +45,27 @@
#ifndef NETWORK_H
#define NETWORK_H
-#include <stdint.h>
-#include <stdbool.h>
#include <APE_APE_PERI.h>
+#include <stdbool.h>
+#include <stdint.h>
void Network_InitTxRx(void);
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_transmitBePacket(uint8_t *packet, uint32_t length);
+void Network_TX_transmitLePacket(uint8_t *packet, uint32_t length);
void Network_TX_transmitPassthroughPacket(uint32_t length);
-// void Network_TX_transmitPassthroughPacket(RegAPE_PERIBmcToNcRxStatus_t rx_status);
+// void Network_TX_transmitPassthroughPacket(RegAPE_PERIBmcToNcRxStatus_t
+// rx_status);
-bool Network_RxLePatcket(uint32_t* buffer, uint32_t* length);
+bool Network_RxLePatcket(uint32_t *buffer, uint32_t *length);
bool Network_PassthroughRxPatcket(void);
-
-
-void Network_SetMACAddr(uint16_t high, uint32_t low, uint32_t index, bool enabled);
-
-
-
+void Network_SetMACAddr(uint16_t high, uint32_t low, uint32_t index,
+ bool enabled);
#endif /* NETWORK_H */ \ No newline at end of file
OpenPOWER on IntegriCloud