Commit Graph

81 Commits

Author SHA1 Message Date
gardners
62a7a65fd6 More work on parsing overlay frames. Now has bare bones to think about
forwarding frames. routing is still not implemented, so it doesn't do anything yet,
but it does try.
2011-08-15 16:22:29 +02:00
gardners
bd16fbbf5b Address lookup from cache works :)
This gets us a functional system once we add the code to send PLEASEEXPLAIN
messages to request resolutions.
2011-08-15 13:50:30 +02:00
gardners
02bf80246e Fixed bugs with overlay frame parsing. 2011-08-15 13:10:37 +02:00
gardners
cf778e1efd Various further work on overlay mesh.
Now resolves some kinds of abbreviated address, and queues up
the need to remind peers of abbreviation schemes it does not support.
2011-08-15 12:51:00 +02:00
gardners
229850c8d7 Overlay mode with address summarisation closer to working.
Self-announcements now abbreviate addresses, and in theory they
get expanded on reception -- but more testing and coding required.
2011-08-15 09:27:29 +02:00
gardners
f8064a1795 Substantial further work towards address abbreviation support.
Abbreviation and expansion functions are now present, although
untested.
2011-08-14 20:44:11 +02:00
gardners
0cf6e545c4 Fixed select() problems with dummy interfaces and EOF reporting.
Dummy interfaces now work.
Supressed lots of debug messages.
2011-08-14 10:36:39 +02:00
gardners
ec1fe22e93 Added support for using a dummy interface to allow testing of multiple mesh
nodes on the same machine.  Also handly for linking to unusual interfaces
such as the UHF radio dongles we are planning.
2011-08-13 13:17:49 +02:00
gardners
c8229c8517 More work towards handling overlay or DNA packets.
handling of sender address and sockets to use is still a big fat mess
and likely to be broken.
2011-08-12 21:34:38 +02:00
gardners
7e30d62b79 Cleaned up various compiler warnings. Added packet parser framework for
handling overlay frames.
2011-08-12 21:05:11 +02:00
gardners
b8e8a78828 Revamped interface management code for overlay mode.
Now just specify list of interfaces and their characteristics.
Addresses get configured automatically.
2011-08-12 09:47:29 +02:00
gardners
5f1f510be5 overlay mesh now sends basic self-announcements. 2011-08-12 08:34:56 +02:00
gardners
d6ec3f32c1 fixed compile error with overlay_route.c 2011-08-12 08:15:26 +02:00
gardners
2f0307a08d Added mesh potato build script.
Updated gateway operation to support mesh potato again.
2011-08-10 15:39:40 +02:00
Jeremy Lakeman
ca09fcf104 Move includes to header 2011-08-10 10:42:11 +09:30
gardners
92768cdcd0 core of overlay mode getting closer.
Compiles. With -N start to try to send regular packets.
2011-08-08 22:41:46 +08:00
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
a362fc074f Default to use /proc/net/route table 2011-06-03 23:59:26 -04:00
gardners
803def3633 Add find hlr check, fix compile errors 2011-05-24 10:10:58 +09:30
Jeremy Lakeman
83f88a6d08 Thomas' modifications to recieve DT SMS and escalate to Java via an intent. 2011-05-23 21:05:15 +09:30
gardners
d20da9616e Initial work on proper gateway support with direct tie-in to Asterisk. 2011-05-16 16:58:25 +09:30
gardners
bba5ec6bd8 Reimported features from Raiders Of The Lost Source (gateway, hlr import/export) 2011-05-06 11:57:33 +09:30
gardners
f024213414 Added instrumentation logging option. 2011-05-05 18:40:38 +09:30
gardners
554bb8cbae Added statistics operation code in preparation for statistics gathering code. 2011-05-02 22:32:38 +09:30
gardners
5a7381bd2a Fixes for OSX compilation, preparation for adding overlay mesh network. 2011-04-27 21:18:09 +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
f537141b13 Preparatory work for Thomas to implement sending/receiving SMS over the mesh. 2011-03-22 17:03:14 +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