#include "iface-linux.h"
#elif defined(HAVE_PF_ROUTE)
#include "iface-pfroute.h"
+#elif defined(_WIN32)
+#include "iface-windows.h"
#else
typedef struct CattaInterfaceMonitorOSDep CattaInterfaceMonitorOSDep;
struct CattaInterfaceMonitorOSDep {
CattaInterfaceMonitor *monitor;
CattaHwInterface *hardware;
- CATTA_LLIST_FIELDS(CattaInterface, interface);
+ CATTA_LLIST_FIELDS(CattaInterface, iface);
CATTA_LLIST_FIELDS(CattaInterface, by_hardware);
CattaProtocol protocol;
struct CattaInterfaceAddress {
CattaInterfaceMonitor *monitor;
- CattaInterface *interface;
+ CattaInterface *iface;
CATTA_LLIST_FIELDS(CattaInterfaceAddress, address);
void catta_hw_interface_update_rrs(CattaHwInterface *hw, int remove_rrs);
void catta_hw_interface_check_relevant(CattaHwInterface *hw);
-CattaHwInterface* catta_interface_monitor_get_hw_interface(CattaInterfaceMonitor *m, int idx);
+CattaHwInterface* catta_interface_monitor_get_hw_interface(CattaInterfaceMonitor *m, CattaIfIndex idx);
/* CattaInterface */