Lines Matching refs:raw_pcb
48 struct raw_pcb;
51 * @param arg user supplied argument (raw_pcb.recv_arg)
52 * @param pcb the raw_pcb which received data
60 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
63 struct raw_pcb {
67 struct raw_pcb *next;
79 struct raw_pcb * raw_new (u8_t proto);
80 void raw_remove (struct raw_pcb *pcb);
81 err_t raw_bind (struct raw_pcb *pcb, ip_addr_t *ipaddr);
82 err_t raw_connect (struct raw_pcb *pcb, ip_addr_t *ipaddr);
84 void raw_recv (struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg);
85 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr);
86 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p);