diff options
author | Evan Lojewski <github@meklort.com> | 2020-02-08 08:50:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-08 08:50:42 -0700 |
commit | 2607cb167def8afa220e5b674b18bb6cb85c96d2 (patch) | |
tree | fadec03187bca51295d0716a028962cf692d6dad /libs/Network/include/Network.h | |
parent | d4dba2b69e934189f3efd774e01cd29d5634e77e (diff) | |
download | bcm5719-ortega-2607cb167def8afa220e5b674b18bb6cb85c96d2.tar.gz bcm5719-ortega-2607cb167def8afa220e5b674b18bb6cb85c96d2.zip |
Network: Update network initialization code. (#27)
Diffstat (limited to 'libs/Network/include/Network.h')
-rw-r--r-- | libs/Network/include/Network.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/Network/include/Network.h b/libs/Network/include/Network.h index ac26f05..be92bd5 100644 --- a/libs/Network/include/Network.h +++ b/libs/Network/include/Network.h @@ -103,6 +103,9 @@ void Network_InitTxRx(void); void Network_resetTX(NetworkPort_t *port); void Network_resetRX(NetworkPort_t *port); +void Network_updatePortState(NetworkPort_t *port); + + uint32_t Network_TX_numBlocksNeeded(uint32_t frame_size); int32_t Network_TX_allocateBlock(NetworkPort_t *port); void Network_TX_releaseBlock(NetworkPort_t *port, int32_t block); |