Functions | |
int | Udp6Output (HANDLE hSock, UINT8 *buf, INT32 size, INT32 *pRetSize) |
void | Udp6Input (PBM_Pkt *pPkt, IPV6HDR *ptr_ipv6hdr) |
void Udp6Input | ( | PBM_Pkt * | pPkt, | |
IPV6HDR * | ptr_ipv6hdr | |||
) |
Description
The function is the receive handler which is invoked when a UDP packet is received over IPv6.
[in] | pPkt | The actual UDP6 packet received. |
[in] | ptr_ipv6hdr | The IPv6 Header of the received UDP packet. |
Not | Applicable. |
int Udp6Output | ( | HANDLE | hSock, | |
UINT8 * | buf, | |||
INT32 | size, | |||
INT32 * | pRetSize | |||
) |
Description
The function is called to transmit a UDP packet over an IPv6 network.
[in] | hSock | Socket handle using which the packet is sent out. |
[in] | buf | Data Buffer which is to be sent out. |
[in] | size | Length of the data buffer to be sent out. |
[out] | pRetSize | Actual Length of data sent out. |
Success | - 0 | |
Error | - Non Zero |