Add a function to get all pcap loop
[platform/core/connectivity/stc-manager.git] / plugin / pcap / include / stc-plugin-pcap.h
index a2b8c34..f545445 100755 (executable)
 #define DNS_QCLASS_ANY               255
 
 typedef struct {
-       char *name;
-       int group;
+       char *ifname;
+       int nflog_group;
        GThread *thread;
        pcap_t *handle;
 } stc_pcap_data_s;
@@ -218,8 +218,9 @@ typedef struct {
        int (*lookup_dev) (void);
        int (*lookup_net) (void);
        int (*find_alldevs) (void);
-       int (*register_loop_pcap) (const char *ifname, int group);
-       int (*unregister_loop_pcap) (const char *ifname, int group);
+       int (*register_loop) (const char *ifname, int group);
+       int (*unregister_loop) (const char *ifname, int group);
+       int (*get_all_loop) (GVariantBuilder *builder);
 } stc_plugin_pcap_s;
 
 #endif /* __STC_PLUGIN_PCAP_H__ */