mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
Add sio.h containing interface to platform specific serial layer.Make slipif use it instead of defining extern functions.This is in preparation for PPP
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "lwip/pbuf.h"
|
||||
#include "lwip/sys.h"
|
||||
#include "lwip/stats.h"
|
||||
#include "lwip/sio.h"
|
||||
|
||||
#define SLIP_END 0300
|
||||
#define SLIP_ESC 0333
|
||||
@@ -50,11 +51,6 @@
|
||||
|
||||
#define MAX_SIZE 1500
|
||||
|
||||
/* Low level serial functions */
|
||||
extern void sio_send(u8_t, void*);
|
||||
extern u8_t sio_recv(void *);
|
||||
extern void * sio_open(u8_t);
|
||||
|
||||
/**
|
||||
* Send a pbuf doing the necessary SLIP encapsulation
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user