74 #define SLIP_ESC_END 0334 
   75 #define SLIP_ESC_ESC 0335 
   79 static uint16_t len, tmplen;
 
  105     if(i == UIP_TCPIP_HLEN) {
 
  162       if(lastc == SLIP_ESC) {
 
void slipdev_init(void)
Initialize the SLIP module. 
 
uip_len
The length of the packet in the uip_buf buffer. 
 
Header file for the uIP TCP/IP stack. 
 
void slipdev_char_put(uint8_t c)
Put a character on the serial device. 
 
#define UIP_BUFSIZE
The size of the uIP packet buffer. 
 
uint8_t slipdev_send(void)
Send the packet in the uip_buf and uip_appdata buffers using the SLIP protocol. 
 
#define UIP_LLH_LEN
The link level header length. 
 
uint8_t slipdev_char_poll(uint8_t *c)
Poll the serial device for a character. 
 
uint16_t slipdev_poll(void)
Poll the SLIP device for an available packet. 
 
uip_appdata
Pointer to the application data in the packet buffer.