Matteo Cypriani
f71a56bb9a
[Listener] Use verbose levels
2011-07-25 12:46:20 +02:00
Matteo Cypriani
a62387e465
[Listener] Switch verbose mode to verbose level
2011-07-25 12:46:19 +02:00
Matteo Cypriani
02da7c7851
[Listener] Define le*toh() for OpenBSD
...
OpenBSD's endian.h uses the names letoh* instead of le*toh.
2011-06-27 10:09:14 +02:00
Matteo Cypriani
306e855ad1
[Listener] Test the platform for endian.h
...
The <endian.h> header is Glibc-specific. On BSD platforms, one have to
use <sys/endian.h>.
(This was the occasion to improve the preprocessor code here.)
2011-06-27 10:09:14 +02:00
Matteo Cypriani
3ac53e7b76
[Listener] Fix compilation without USE_PTHREAD
2011-06-27 10:09:14 +02:00
Matteo Cypriani
00d89efd40
[lib] Move owl_iface_mode_monitor() in Listener
...
Only owlps-listener uses owl_iface_mode_monitor(), so we don't need to
keep it in libowlps.
2011-06-27 10:09:14 +02:00
Matteo Cypriani
7499ef9ec5
[Listener] Refactor endianess #defines
2011-04-07 16:14:55 +02:00
Matteo Cypriani
d1c6abdaf7
[Listener] Send coordinates in autocalib. requests
...
One can now provide the coordinates of the listener on the command line.
2011-04-07 09:17:46 +02:00
Matteo Cypriani
df5ed19834
Include headers as needed
...
Move #includes from .h to .c wherever possible.
2011-03-31 16:03:22 +02:00
Matteo Cypriani
e8aa0838f4
Use ETHER_ADDR_LEN instead of 6
2011-03-25 11:48:25 +01:00
Matteo Cypriani
5f9de6e1dc
[Listener] Fix the "don't want to quit" bug
...
In capture(), the pcap_loop() call was blocking, so the program did not
quit if no packet came on rtap_iface. This is now fixed by a call to
pcap_breakloop() in the signal handlers.
2011-03-25 11:48:24 +01:00
Matteo Cypriani
98386514e5
Use INET_ADDRSTRLEN instead of 16
2011-03-25 11:48:23 +01:00
Matteo Cypriani
f71a4650e2
[Listener] Better handling of threads
...
Fix thread headers, check the return value of pthread_create(), and wait
for the threads at the end of the program.
2011-03-25 11:48:23 +01:00
Matteo Cypriani
a72a76d5a9
mv /infrastructure-centred/* /
...
Get rid of the infrastructure-centred directory: all the modules are now
at the same level.
2011-03-25 11:48:22 +01:00