- void *threadpool; // threadpool between Initialize and Start
- CASocket_t u6; // unicast IPv6
- CASocket_t u6s; // unicast IPv6 secure
- CASocket_t u4; // unicast IPv4
- CASocket_t u4s; // unicast IPv4 secure
- CASocket_t m6; // multicast IPv6
- CASocket_t m6s; // multicast IPv6 secure
- CASocket_t m4; // multicast IPv4
- CASocket_t m4s; // multicast IPv4 secure
- int netlinkFd; // netlink
- int shutdownFds[2]; // shutdown pipe
- int selectTimeout; // in seconds
- int maxfd; // highest fd (for select)
- int numInterfaces; // number of active interfaces
- bool started; // the IP adapter has started
- bool terminate; // the IP adapter needs to stop
- bool ipv6enabled; // IPv6 enabled by OCInit flags
- bool ipv4enabled; // IPv4 enabled by OCInit flags
+ void *threadpool; /**< threadpool between Initialize and Start */
+ CASocket_t u6; /**< unicast IPv6 */
+ CASocket_t u6s; /**< unicast IPv6 secure */
+ CASocket_t u4; /**< unicast IPv4 */
+ CASocket_t u4s; /**< unicast IPv4 secure */
+ CASocket_t m6; /**< multicast IPv6 */
+ CASocket_t m6s; /**< multicast IPv6 secure */
+ CASocket_t m4; /**< multicast IPv4 */
+ CASocket_t m4s; /**< multicast IPv4 secure */
+ int netlinkFd; /**< netlink */
+ int shutdownFds[2]; /**< shutdown pipe */
+ int selectTimeout; /**< in seconds */
+ int maxfd; /**< highest fd (for select) */
+ bool started; /**< the IP adapter has started */
+ bool terminate; /**< the IP adapter needs to stop */
+ bool ipv6enabled; /**< IPv6 enabled by OCInit flags */
+ bool ipv4enabled; /**< IPv4 enabled by OCInit flags */
+ bool dualstack; /**< IPv6 and IPv4 enabled */
+
+ struct networkmonitors
+ {
+ CAIfItem_t *ifItems; /**< current network interface index list */
+ size_t sizeIfItems; /**< size of network interface index array */
+ size_t numIfItems; /**< number of valid network interfaces */
+ } nm;