mirror of
https://github.com/XboxDev/nxdk.git
synced 2026-02-04 16:45:31 +00:00
This commit adds networking support via pktdrv library, the LwIP stack, and a driver that interfaces the two. To add networking support to your project, specify NXDK_NET=y in your project Makefile.
12 lines
279 B
C
12 lines
279 B
C
#ifndef _Pktdrv_
|
|
#define _Pktdrv_
|
|
|
|
int Pktdrv_Init(void);
|
|
void Pktdrv_Quit(void);
|
|
int Pktdrv_ReceivePackets(void);
|
|
void Pktdrv_SendPacket(unsigned char *buffer,int length);
|
|
void Pktdrv_GetEthernetAddr(unsigned char *address);
|
|
int Pktdrv_GetQueuedTxPkts(void);
|
|
|
|
#endif
|