Lines Matching refs:raw_pcb
55 struct raw_pcb;
58 * @param arg user supplied argument (raw_pcb.recv_arg)
59 * @param pcb the raw_pcb which received data
67 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
71 struct raw_pcb {
75 struct raw_pcb *next;
92 struct raw_pcb * raw_new (u8_t proto);
93 struct raw_pcb * raw_new_ip_type(u8_t type, u8_t proto);
94 void raw_remove (struct raw_pcb *pcb);
95 err_t raw_bind (struct raw_pcb *pcb, const ip_addr_t *ipaddr);
96 err_t raw_connect (struct raw_pcb *pcb, const ip_addr_t *ipaddr);
98 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr);
99 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p);
101 void raw_recv (struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg);