3
0
mirror of https://github.com/XboxDev/nxdk.git synced 2026-02-04 16:45:31 +00:00
Files
nxdk/lib/net/pktdrv/pktdrv.h
Matt Borgerson 104d8e39be Add networking support
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.
2016-02-03 19:56:23 -07:00

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