LwIP + 0/6 examples
CodeScope will show references to udp_send() from the following samples and libraries:
Examples
STM32469I_EVAL
Applications
LwIP
STM324x9I_EVAL
Applications
LwIP
STM324xG_EVAL
Applications
LwIP
 
Symbols
loading...
Files
loading...

udp_send() function

Sends the pbuf p using UDP. The pbuf is not deallocated. The datagram will be sent to the current remote_ip & remote_port stored in pcb. If the pcb is not bound to a port, it will automatically be bound to a random port. @see udp_disconnect() udp_sendto()

Syntax

err_t udp_send (struct udp_pcb *pcb,     struct pbuf *p);
Implemented in udp.c:466

Arguments

pcb

UDP PCB used to send the data.

p

chain of pbuf's to be sent.

Return value

lwIP error code. - ERR_OK. Successful. No error occurred. - ERR_MEM. Out of memory. - ERR_RTE. Could not find route to destination address. - ERR_VAL. No PCB or PCB is dual-stack - More errors could be returned by lower protocol layers.

Examples

udp_send() is referenced by 6 libraries and example projects.

References

LocationReferrerText
udp.c:467
udp_send(struct udp_pcb *pcb, struct pbuf *p)
udp.h:138
err_t udp_send (struct udp_pcb *pcb, struct pbuf *p);
api_msg.c:1562lwip_netconn_do_send()
err = udp_send(msg->conn->pcb.udp, msg->msg.b->p);

Call Tree

Functions calling udp_send()
Functions called by udp_send()
all items filtered out
udp_send()
printf()
all items filtered out
Type of udp_send()
udp_send()
all items filtered out