-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdevicetracker_drone.cc
More file actions
165 lines (127 loc) · 3.62 KB
/
Copy pathdevicetracker_drone.cc
File metadata and controls
165 lines (127 loc) · 3.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/*
This file is part of Kismet
Kismet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Kismet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Kismet; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <stdio.h>
#include <time.h>
#include <list>
#include <map>
#include <vector>
#include <algorithm>
#include <string>
#include <sstream>
#include "globalregistry.h"
#include "util.h"
#include "configfile.h"
#include "messagebus.h"
#include "packetchain.h"
#include "devicetracker.h"
#include "packet.h"
#include "gpswrapper.h"
#include "alertracker.h"
#include "manuf.h"
#include "packetsourcetracker.h"
#include "packetsource.h"
#include "dumpfile_devicetracker.h"
Devicetracker::Devicetracker(GlobalRegistry *in_globalreg) {
}
Devicetracker::~Devicetracker() {
}
void Devicetracker::SaveTags() {
}
vector<kis_tracked_device *> *Devicetracker::FetchDevices(int in_phy) {
return NULL;
}
Kis_Phy_Handler *Devicetracker::FetchPhyHandler(int in_phy) {
return NULL;
}
int Devicetracker::FetchNumDevices(int in_phy) {
return 0;
}
int Devicetracker::FetchNumPackets(int in_phy) {
return 0;
}
int Devicetracker::FetchNumDatapackets(int in_phy) {
return 0;
}
int Devicetracker::FetchNumCryptpackets(int in_phy) {
return 0;
}
int Devicetracker::FetchNumErrorpackets(int in_phy) {
return 0;
}
int Devicetracker::FetchNumFilterpackets(int in_phy) {
return 0;
}
int Devicetracker::FetchPacketRate(int in_phy) {
return 0;
}
int Devicetracker::RegisterDeviceComponent(string in_component) {
return -1;
}
int Devicetracker::RegisterPhyHandler(Kis_Phy_Handler *in_weak_handler) {
return -1;
}
// Send all devices to a client
void Devicetracker::BlitDevices(int in_fd) {
}
void Devicetracker::BlitPhy(int in_fd) {
}
int Devicetracker::TimerKick() {
return 0;
}
kis_tracked_device *Devicetracker::FetchDevice(mac_addr in_device) {
return NULL;
}
kis_tracked_device *Devicetracker::FetchDevice(mac_addr in_device,
unsigned int in_phy) {
return NULL;
}
int Devicetracker::StringCollector(kis_packet *in_pack) {
return 0;
}
int Devicetracker::CommonTracker(kis_packet *in_pack) {
return 0;
}
// Find a device, creating the device as needed and populating common data
kis_tracked_device *Devicetracker::MapToDevice(mac_addr in_device,
kis_packet *in_pack) {
return NULL;
}
// Find a device, creating the device as needed and populating common data
kis_tracked_device *Devicetracker::BuildDevice(mac_addr in_device,
kis_packet *in_pack) {
return NULL;
}
int Devicetracker::PopulateCommon(kis_tracked_device *device, kis_packet *in_pack) {
return 0;
}
void Devicetracker::WriteXML(FILE *in_logfile) {
}
void Devicetracker::WriteTXT(FILE *in_logfile) {
}
int Devicetracker::LogDevices(string in_logclass,
string in_logtype, FILE *in_logfile) {
return 0;
}
int Devicetracker::SetDeviceTag(mac_addr in_device, string in_tag, string in_data,
int in_persistent) {
return -1;
}
int Devicetracker::ClearDeviceTag(mac_addr in_device, string in_tag) {
return -1;
}
string Devicetracker::FetchDeviceTag(mac_addr in_device, string in_tag) {
return "";
}