|
Hybrid ICN (hICN) plugin
v21.06-rc0-4-g18fa668
|
Represents a UDP connection (socket) for the connection table. More...
#include <hicn/core/forwarder.h>#include <hicn/io/addressPair.h>#include <hicn/io/ioOperations.h>#include <hicn/utils/address.h>
Go to the source code of this file.
Functions | |
| IoOperations * | udpConnection_Create (Forwarder *forwarder, const char *interfaceName, int fd, const AddressPair *pair, bool isLocal) |
Represents a UDP connection (socket) for the connection table.
<#Detailed Description#>
| IoOperations* udpConnection_Create | ( | Forwarder * | forwarder, |
| const char * | interfaceName, | ||
| int | fd, | ||
| const AddressPair * | pair, | ||
| bool | isLocal | ||
| ) |
Creates a UDP connection that can send to the remote address
The address pair must both be same type (i.e. INET or INET6).
| [in] | metis | An allocated MetisForwarder (saves reference) |
| [in] | fd | The socket to use |
| [in] | pair | An allocated address pair for the connection (saves reference) |
| [in] | isLocal | determines if the remote address is on the current system |
| non-null | An allocated Io operations |
| null | An error |
Example:
1.8.17