Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

XgUDP


Functions

void NutUdpInput (NETBUF *nb)
 Handle incoming UDP packets.

int NutUdpOutput (UDPSOCKET *sock, u_long dest, u_short port, NETBUF *nb)
 Send an UDP packet.


Function Documentation

void NutUdpInput NETBUF   nb
 

Handle incoming UDP packets.

Note:
This routine is called by the IP layer on incoming UDP packets. Applications typically do not call this function.
Parameters:
nb  Network buffer structure containing the UDP packet.

int NutUdpOutput UDPSOCKET   sock,
u_long    daddr,
u_short    port,
NETBUF   nb
 

Send an UDP packet.

Note:
Applications typically do not call this function but use the UDP socket interface.
Returns:
0 on success, -1 otherwise.


Generated on Thu Jan 30 22:30:59 2003 for EduNet by doxygen1.2.18