/[lwip]/lwip/src/include/lwip/raw.h
ViewVC logotype

Diff of /lwip/src/include/lwip/raw.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.2 by kieranm, Thu Aug 21 09:59:21 2003 UTC revision 1.1.2.3 by kieranm, Wed Sep 10 17:14:27 2003 UTC
# Line 46  struct raw_pcb { Line 46  struct raw_pcb {
46    
47    u16_t protocol;    u16_t protocol;
48    
49    void (* recv)(void *arg, struct raw_pcb *pcb, struct pbuf *p,    int (* recv)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
50      struct ip_addr *addr);      struct ip_addr *addr);
51    void *recv_arg;    void *recv_arg;
52  };  };
# Line 56  struct raw_pcb { Line 56  struct raw_pcb {
56  struct raw_pcb * raw_new        (u16_t proto);  struct raw_pcb * raw_new        (u16_t proto);
57  void             raw_remove     (struct raw_pcb *pcb);  void             raw_remove     (struct raw_pcb *pcb);
58  err_t            raw_bind       (struct raw_pcb *pcb, struct ip_addr *ipaddr);  err_t            raw_bind       (struct raw_pcb *pcb, struct ip_addr *ipaddr);
59    err_t            raw_connect    (struct raw_pcb *pcb, struct ip_addr *ipaddr);
60    
61  void             raw_recv       (struct raw_pcb *pcb,  void             raw_recv       (struct raw_pcb *pcb,
62           void (* recv)(void *arg, struct raw_pcb *pcb,                                   int (* recv)(void *arg, struct raw_pcb *pcb,
63                   struct pbuf *p,                                                struct pbuf *p,
64                   struct ip_addr *addr),                                                struct ip_addr *addr),
65           void *recv_arg);                                   void *recv_arg);
66  err_t            raw_send_payload (struct raw_pcb *pcb, struct pbuf *p, struct ip_addr *ipaddr);  err_t            raw_send_to    (struct raw_pcb *pcb, struct pbuf *p, struct ip_addr *ipaddr);
67    err_t            raw_send       (struct raw_pcb *pcb, struct pbuf *p);
68    
69  /* The following functions are the lower layer interface to RAW. */  /* The following functions are the lower layer interface to RAW. */
70  int              raw_input      (struct pbuf *p, struct netif *inp);  int              raw_input      (struct pbuf *p, struct netif *inp);

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26