TCPIP_IPV4_MODULE_CONFIG Structure

C

typedef struct {
size_t arpEntries;
TCPIP_IPV4_FORWARD_FLAGS forwardFlags;
size_t forwardTxQueueSize;
size_t forwardTableMaxEntries;
size_t forwardTableSize;
const TCPIP_IPV4_FORWARD_ENTRY* forwardTable;
} TCPIP_IPV4_MODULE_CONFIG;

Description

IPv4 configuration.

The parameters needed for the IPv4 module initialization.

Parameters

ParametersDescription
arpEntriesThe number of entries that IPv4 can queue up for ARP resolution. Usually it should be <= the number of total ARP cache entries for all interfaces.
forwardFlagsThe maximum number of broadcast and multicast packets that can be queued and waiting for the output interface to transmit them. This applies only for packets that have to be both forwarded and processed internally, which is only broadcast or multicast. Adjust depending on your traffic. Note that if this limit is exceeded, the packets won't be forwarded but still processed internally. If 0, packets won't be forwarded, just processed internally.
forwardTableMaxEntriesThe maximum number of entries in the forwarding table for each interface.
forwardTableSizeThe number of entries in the initialization forwarding table. The number of entries per interface cannot exceed the forwardTableMaxEntries value.
forwardTableThe forwarding table entries to start with. It contains the entries for all interfaces involved in forwarding. The type of the table is given by the flag TCPIP_IPV4_FWD_FLAG_BINARY_TABLE/TCPIP_IPV4_FWD_FLAG_ASCII_TABLE.

Returns

None.

Remarks

None.