Commit Graph

32 Commits

Author SHA1 Message Date
Ian Gulliver
3985182304 Stop relying on struct ordering and packing for peer. 2016-03-08 20:47:22 -08:00
Ian Gulliver
d39cd62991 Cleanup how we cast and close peers. 2016-03-08 20:41:00 -08:00
Ian Gulliver
b434b67dd8 Switch to LOG macro 2016-03-07 17:02:24 -08:00
Ian Gulliver
ff4f4da608 deheader cleanup 2016-03-07 15:19:00 -08:00
Ian Gulliver
6480a960fa Switch to standard logging framework 2016-03-05 22:54:26 -08:00
Ian Gulliver
45abe06467 Add hop limit to json and proto formats. 2016-03-03 22:00:02 -08:00
Ian Gulliver
939b3b1851 Add send-receive channels 2016-03-03 18:28:34 -08:00
Ian Gulliver
10ba451458 Move more socket options into the flow framework. 2016-03-02 21:51:30 -08:00
Ian Gulliver
7aa29f1364 Apparently I missed receive when I switched to the new list impl. 2016-03-02 18:54:41 -08:00
Ian Gulliver
eae1924c5c Fix corruption when we parse multiple packets form a single buffer. 2016-03-02 12:45:37 -08:00
Ian Gulliver
b6a582e95a Do flow-specific setsockopt() before accept() 2016-02-29 22:17:37 -08:00
Ian Gulliver
90de5b80bc Hide more interfaces behind the flow code. 2016-02-29 20:16:57 -08:00
Ian Gulliver
3fb3c02cf5 Encapsulate flow descriptions inside a struct. 2016-02-29 17:12:06 -08:00
Ian Gulliver
aa11eea121 Move more socket code into socket.c 2016-02-28 22:21:07 -08:00
Ian Gulliver
19a9d498bd Enable -Weverything, fix a ton of bugs. 2016-02-25 23:37:37 -08:00
Ian Gulliver
3155381678 Shut down if we run out of inputs or outputs. 2016-02-25 16:33:58 -08:00
Ian Gulliver
5e604f0596 In/out reference counting. 2016-02-25 16:17:25 -08:00
Ian Gulliver
3816be8b3d Fix leak of second+ receive/send object. 2016-02-25 15:17:45 -08:00
Ian Gulliver
3e2c426e95 Fix --connect-send. Half-close connections so we can detect two read sockets talking to each other. 2016-02-24 20:25:31 -08:00
Ian Gulliver
1635534243 Switch from sketchy dup() juggling to callbacks to retry outgoing connection. 2016-02-24 20:15:09 -08:00
Ian Gulliver
4f48153d4f More proto parsing. 2016-02-23 16:43:36 -08:00
Ian Gulliver
d2e521e90c json input support, some shutdown fixes. json needs cleanup. 2016-02-23 13:49:23 -08:00
Ian Gulliver
ab6b8cd5e9 Track and clean up receive objects. 2016-02-23 12:08:53 -08:00
Ian Gulliver
ebdb3f9dc0 Pass source ID through to JSON output. 2016-02-22 22:00:49 -08:00
Ian Gulliver
2ce2ed5bf5 Split out packet. Delete common. 2016-02-22 16:58:13 -08:00
Ian Gulliver
b5ab0cb0a6 Split out peer 2016-02-22 16:49:43 -08:00
Ian Gulliver
b5219d9c1a Split out buf 2016-02-22 16:41:34 -08:00
Ian Gulliver
d6a629fa7e Switch to an internal implementation of uuid generation, so we can use the randomness pool. 2016-02-22 16:27:44 -08:00
Ian Gulliver
c5a87e89a4 Restore airspy_adsb 2016-02-21 16:52:36 -08:00
Ian Gulliver
ec79ba0da1 Much closer to complete cleanup before exit. 2016-02-21 13:57:35 -08:00
Ian Gulliver
bca84394ce Remove airspy_adsb, as it's no longer used by upstream 2016-02-18 17:00:33 -08:00
Ian Gulliver
cf6eef6118 Move adsbus into its own dir. 2016-02-18 09:36:53 -08:00