Andrew Bettison
f37ec5af09
Reduce use of stderr in many places
...
serval_packetvisualise() is now replaced by DEBUG_packet_visualise() which uses
logging system not stderr (so now it will appear in Android log).
Replaced several fprintf(stderr,...) with DEBUGF(...).
Command line only prints a full help message on "help" command -- a command
parse failure simply informs the user about the "help" command.
2012-08-01 17:54:02 +09:30
Daniel O'Connor
313a6fbadc
Don't use hard coded port number.
2012-06-15 15:09:21 +09:30
Andrew Bettison
0ec3feaa29
Expunge setReason()
...
Replace with WHY() or WHYF() everywhere
Improve logMessage() to handle file/line/function printing internally
Mainly so that log messages from manifest alloc/free in rhizome_bundle.c
can make it into the Android log
2012-05-24 17:11:55 +09:30
Andrew Bettison
836f8332e8
Replace perror() with WHY_perror()
...
Puts more diagnostics to Android log
2012-05-08 14:53:34 +09:30
gardners
283b29af6b
Improved packet tx and rx debugging and made it more logical.
2012-04-14 06:38:11 +09:30
gardners
1eb4c34015
Renamed mphlr.h to serval.h
...
(also some temporary debugging has been added in some places)
2012-02-23 12:45:42 +10:30
gardners
800f8d41eb
Revamped debug/verbosity control to use flags for functions of interest
...
instead of general verbosity ramp.
2012-01-10 15:56:40 +10:30
gardners
cd346861d1
added parsing of arp table to find peers in the face of transient loss
...
of broadcast reception by peers.
2011-12-02 17:16:26 +10:30
gardners
70b287a1c9
Adding more robust broadcast address detection.
2011-12-02 14:39:14 +10:30
gardners
7e30d62b79
Cleaned up various compiler warnings. Added packet parser framework for
...
handling overlay frames.
2011-08-12 21:05:11 +02:00
Jeremy Lakeman
ca09fcf104
Move includes to header
2011-08-10 10:42:11 +09:30
gardners
6e172c76c9
Fixed broadcast address discovery to work on Mac.
...
Fixed Linux assumptions.
Added parsing of overlay mesh interface specification from command line.
Separated overlay mesh code out into several files.
Overlay mesh is still far from working, but the infrastructure is coming together.
2011-08-08 16:11:05 +09:30
Jeremy Lakeman
67eec6c3ff
Send broadcasts based on network addresses
2011-07-04 11:20:46 +09:30
gardners
09ca959fae
Assorted unknown changes. Updated Makefile.in etc to properly build serval.c for building asterisk module.
2011-06-15 13:52:30 +09:30
Jeremy Lakeman
a362fc074f
Default to use /proc/net/route table
2011-06-03 23:59:26 -04:00
gardners
9912678203
Merge branch 'master' of github.com:servalproject/serval-dna
2011-04-27 21:19:03 +09:30
gardners
5a7381bd2a
Fixes for OSX compilation, preparation for adding overlay mesh network.
2011-04-27 21:18:09 +09:30
Jeremy Lakeman
bfccb3816d
Allow clients to request variables for all records by passing empty did.
...
Always add DONE flag to the last packet sent.
2011-04-27 12:17:26 +09:30
Jeremy Lakeman
a2bcb56e1f
Minor bug fixes, mostly todo with uninitialised variables.
2011-03-31 00:09:42 +10:30
Jeremy Lakeman
59a0a4a2a0
Build a win32 console exe with VS2008 express
2011-03-30 22:17:11 +10:30
gardners
af2ec8dc51
Added -A option to ask for the address of a peer.
...
Compiled in to use batmand.peers by default without needing -l.
Added peerAddress() function to get address of a peer programatically.
2011-03-22 16:31:02 +10:30
gardners
601ca12499
Added support for batmand.peers file for reliable peer querying.
...
Re-ported for asterisk module.
2011-03-21 13:08:35 +10:30
paul.gardner.stephen
f225465dfc
Initial check in
...
git-svn-id: http://serval-dna.googlecode.com/svn/trunk/trunk/dna@2 6d01b88e-114a-4e5d-930d-818638e25ad7
2010-07-13 12:15:46 +00:00