@ -48,7 +48,7 @@ struct raw_pcb {
struct raw_pcb * next ;
u16 _t protocol ;
u8 _t protocol ;
u8_t ( * recv ) ( void * arg , struct raw_pcb * pcb , struct pbuf * p ,
struct ip_addr * addr ) ;
@ -57,7 +57,7 @@ struct raw_pcb {
/* The following functions is the application layer interface to the
RAW code . */
struct raw_pcb * raw_new ( u16 _t proto ) ;
struct raw_pcb * raw_new ( u8 _t proto ) ;
void raw_remove ( struct raw_pcb * pcb ) ;
err_t raw_bind ( struct raw_pcb * pcb , struct ip_addr * ipaddr ) ;
err_t raw_connect ( struct raw_pcb * pcb , struct ip_addr * ipaddr ) ;
@ -67,11 +67,11 @@ void raw_recv (struct raw_pcb *pcb,
struct pbuf * p ,
struct ip_addr * addr ) ,
void * recv_arg ) ;
err_t raw_sendto ( struct raw_pcb * pcb , struct pbuf * p , struct ip_addr * ipaddr ) ;
err_t raw_sendto ( struct raw_pcb * pcb , struct pbuf * p , struct ip_addr * ipaddr ) ;
err_t raw_send ( struct raw_pcb * pcb , struct pbuf * p ) ;
/* The following functions are the lower layer interface to RAW. */
u8_t raw_input ( struct pbuf * p , struct netif * inp ) ;
u8_t raw_input ( struct pbuf * p , struct netif * inp ) ;
void raw_init ( void ) ;
# ifdef __cplusplus