NetBurner User Datagram Protocol Header File. More...
#include <ip.h>Go to the source code of this file.
Classes | |
| class | UDPPacket |
| UDP Packet Class. More... | |
Functions | |
| void | RegisterUDPFifo (uint16_t listenPort, OS_FIFO *pFifo) |
| Register a FIFO to receive incoming UDP packets. More... | |
| void | RegisterUDPFifoWithNotify (uint16_t listenPort, OS_FIFO *pFifo, udp_data_notify *pNotifyFunction) |
| Register a FIFO to receive incoming UDP packets and a callback function to receive a notification when a packet is received. More... | |
| void | UnregisterUDPFifo (uint16_t listenPort, bool drain=false) |
| Unregister a UDP FIFO. More... | |
| int | CreateRxUdpSocket (uint16_t listening_port) |
| Open a UDP socket for receiving incoming UDP packets. More... | |
| int | CreateTxUdpSocket4 (IPADDR4 send_to_addr, uint16_t remote_port, uint16_t local_port) |
| Open a UDP socket for transmitting UDP packets. More... | |
| int | CreateRxTxUdpSocket4 (IPADDR4 send_to_addr, uint16_t send_to_remote_port, uint16_t local_port) |
| Open a UDP socket that can transmit and receive UDP packets. More... | |
| int | CreateTxUdpSocket6 (const IPADDR6 &send_to_addr, uint16_t remote_port, uint16_t local_port) |
| Open a UDP socket for transmitting UDP packets. More... | |
| int | CreateTxUdpSocket (const IPADDR6 &send_to_addr, uint16_t remote_port, uint16_t local_port) |
| Open a UDP socket for transmitting UDP packets. More... | |
| int | CreateRxTxUdpSocket6 (const IPADDR6 &send_to_addr, uint16_t send_to_remote_port, uint16_t local_port) |
| Open a UDP socket that can transmit and receive UDP packets. More... | |
| int | sendto4 (int sock, puint8_t what_to_send, int len_to_send, IPADDR4 to_addr, uint16_t remote_port) |
| Send a UDP packet. More... | |
| int | sendto6 (int sock, puint8_t what_to_send, int len_to_send, const IPADDR6 &to_addr, uint16_t remote_port) |
| Send a UDP packet. More... | |
| int | sendto (int sock, puint8_t what_to_send, int len_to_send, const IPADDR6 &to_addr, uint16_t remote_port) |
| Send a UDP packet. More... | |
| int | sendtovia4 (int sock, puint8_t what_to_send, int len_to_send, IPADDR4 to_addr, uint16_t remote_port, int intfnum) |
| Send a UDP packet on the specified interface. More... | |
| int | sendtovia6 (int sock, puint8_t what_to_send, int len_to_send, const IPADDR6 &to_addr, uint16_t remote_port, int intfnum) |
| Send a UDP packet on the specified interface. More... | |
| int | recvfrom4 (int sock, puint8_t buffer, int len, IPADDR4 *pAddr, uint16_t *pLocal_port, uint16_t *pRemote_port) |
| Receive a UDP packet. More... | |
| int | recvfrom6 (int sock, puint8_t buffer, int len, IPADDR6 *pAddr, uint16_t *pLocal_port, uint16_t *pRemote_port) |
| Receive a UDP packet. More... | |
| int | recvfrom (int sock, puint8_t buffer, int len, IPADDR6 *pAddr, uint16_t *pLocal_port, uint16_t *pRemote_port) |
| Receive a UDP packet. More... | |
NetBurner User Datagram Protocol Header File.