Lines Matching refs:recv
197 * recv function. If no pcb is found or the datagram is incorrect, the
226 UDP_STATS_INC(udp.recv);
411 if (mpcb->recv != NULL) {
419 mpcb->recv(mpcb->recv_arg, mpcb, q, ip_current_src_addr(), src);
428 if (pcb->recv != NULL) {
429 /* now the recv function is responsible for freeing p */
430 pcb->recv(pcb->recv_arg, pcb, p, ip_current_src_addr(), src);
432 /* no recv function registered? then we have to free the pbuf! */
1207 * @param pcb the pcb for which to set the recv callback
1208 * @param recv function pointer of the callback function
1212 udp_recv(struct udp_pcb *pcb, udp_recv_fn recv, void *recv_arg)
1218 /* remember recv() callback and user data */
1219 pcb->recv = recv;