+ int udp_choice;
+
+ dev_class_traits_t dev_class_traits[DEV_CLASS_COUNT];
+
+ int netns;
+
+ bool default_blacklist;
+ bool discovery; // Whether Catta is enabled or not
+
+
+ // Configuration
+ char *confbase;
+ FILE *conffile;
+ void *config_key;
+
+ // Thread management
+ pthread_t thread;
+ pthread_cond_t cond;
+ pthread_mutex_t discovery_mutex;
+ pthread_cond_t discovery_cond;
+ bool threadstarted;
+ bool discovery_threadstarted;
+
+ // Catta
+ pthread_t discovery_thread;
+ struct CattaServer *catta_server;
+ struct CattaSServiceBrowser *catta_browser;
+ struct CattaSimplePoll *catta_poll;
+ struct CattaSEntryGroup *catta_group;
+ char *catta_servicetype;
+ unsigned int catta_interfaces;