|
Hybrid ICN (hICN) plugin
v21.06-rc0-4-g18fa668
|
Represents a Hicn connection 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 * | hicnConnection_Create (Forwarder *forwarder, const char *interfaceName, int fd, const AddressPair *pair, bool isLocal) |
Represents a Hicn connection for the connection table.
<#Detailed Description#>
| IoOperations* hicnConnection_Create | ( | Forwarder * | forwarder, |
| const char * | interfaceName, | ||
| int | fd, | ||
| const AddressPair * | pair, | ||
| bool | isLocal | ||
| ) |
Creates a Hicn connection that can send to the remote address
The address pair must both be same type (i.e. INET or INET6).
| [in] | an | allocated hicn-light Forwarder (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