udp_input() function
Process an incoming UDP datagram. Given an incoming UDP datagram (as a chain of pbufs) this function finds a corresponding UDP PCB and hands over the pbuf to the pcbs recv function. If no pcb is found or the datagram is incorrect, the pbuf is freed.
Arguments
p
pbuf to be demultiplexed to a UDP PCB (p->payload pointing to the UDP header)
inp
network interface on which the datagram was received.
Functions calling udp_input()
Functions called by udp_input()
udp_input()
printf() all items filtered out
Data read by udp_input()
Data written by udp_input()
udp_input()
Type of udp_input()
udp_input()