

Initialization of IPv6 in NetX Duo requires a few additional NetX Duo services.
Python convert mac address to ipv6 link local address driver#
When the network driver returns from its initialization processing, the IP creation is complete. Calling the network driver from the internal IP thread enables the driver to perform I/O and suspend during its initialization processing. This is where the network driver, supplied during the first part of IP creation, is first called. The second part is performed during the initial execution from the internal IP thread. This includes setting up the IP data structure and creating various IP resources, including the internal IP thread.

Internally, creating an IP instance is accomplished in two parts: The first part is done within the context of the caller, either from tx_application_define or from an application thread's context. Creating packet pools and IP instances are allowed from the ThreadX initialization function tx_application_define and from application threads. Because creating an IP instance requires a default packet pool, at least one NetX Duo packet pool must exist prior to creating an IP instance. System initialization can be called either from the ThreadX tx_application_define function or from application threads.Īfter nx_system_initialize returns, the system is ready to create packet pools and IP instances. The service nx_system_initialize must be called before any other NetX Duo service is called. NetX Duo assumes the existence of ThreadX and depends on its thread execution, suspension, periodic timers, and mutual exclusion facilities.
