46error_t pppHdlcDriverInit(NetInterface *interface);
48void pppHdlcDriverTick(NetInterface *interface);
50void pppHdlcDriverEnableIrq(NetInterface *interface);
51void pppHdlcDriverDisableIrq(NetInterface *interface);
52void pppHdlcDriverEventHandler(NetInterface *interface);
54error_t pppHdlcDriverSendPacket(NetInterface *interface,
55 const NetBuffer *buffer,
size_t offset, NetTxAncillary *ancillary);
57error_t pppHdlcDriverReceivePacket(NetInterface *interface);
59error_t pppHdlcDriverUpdateMacAddrFilter(NetInterface *interface);
61error_t pppHdlcDriverSendAtCommand(NetInterface *interface,
const char_t *data);
63error_t pppHdlcDriverReceiveAtCommand(NetInterface *interface, char_t *data,
66error_t pppHdlcDriverPurgeTxBuffer(PppContext *context);
67error_t pppHdlcDriverPurgeRxBuffer(PppContext *context);
69void pppHdlcDriverWriteTxQueue(PppContext *context, uint8_t c);
70uint8_t pppHdlcDriverReadRxQueue(PppContext *context);
72bool_t pppHdlcDriverReadTxQueue(NetInterface *interface, int_t *c);
73bool_t pppHdlcDriverWriteRxQueue(NetInterface *interface, uint8_t c);
error_t
Error codes.
Definition error.h:43
Network interface controller abstraction layer.
Structure describing a buffer that spans multiple chunks.
Definition net_mem.h:89
NIC driver.
Definition nic.h:283