summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate the ntrip_state global.Eric S. Raymond2011-02-261-8/+10
|
* The NTRIP connection state musn't be zeroed on gpsd_activate().Eric S. Raymond2011-02-241-3/+3
| | | | Andre Naujoks informed me of this.
* Eliminate the context->netgnss_service member.Eric S. Raymond2011-02-241-3/+2
| | | | | | | | | This is more global context that really needed to be per-device state. Instead, create a per-devicd servicetype member to carry this information. Practically apeaking, this means gpsd can now watch multiple NTRIP and DGPS sessions without getting confused. All regressuin tests pass.
* Eliminate the context sentdgps member in favor of a per-session state flag.Eric S. Raymond2011-02-241-2/+3
| | | | All regressuin tests pass.
* Eliminate the dsock member in the context structure.Eric S. Raymond2011-02-241-88/+11
| | | | | | | | | | | | Another step towards integrating NTRIP support in a way that's actually correct for the daemon architecture. This involved conditioning out code for DGPSIP server lookups, a feature which was never documented and has probably been broken forever. It's actually not even clear there are still any DGPSIP servers still running; the dgpsip package was removed from Debiann at maintainer request in 2008 (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392666). I may yet just rip out that code entirely.
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Partial splint cleanup.Eric S. Raymond2010-12-241-1/+1
|
* deheader broke the build againChris Kuethe2010-12-221-0/+2
|
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-2/+1
|
* Work around a splint bug.Eric S. Raymond2010-12-151-1/+1
|
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2010-12-151-1/+1
|
* Remove second include of <sys/socket.h>.Eric S. Raymond2010-12-141-1/+0
|
* Add sys/socket.h, following POSIX.Greg Troxel2010-12-141-0/+1
| | | | | | | This file failed to compile due to use of AF_UNSPEC. POSIX says that one needs to include sys/socket.h. http://pubs.opengroup.org/onlinepubs/007908799/xns/syssocket.h.html
* missing headers for openbsdChris Kuethe2010-12-141-0/+2
|
* Because we're taking SuS seriously we can simplify the configuration machinery.Eric S. Raymond2010-12-141-7/+1
|
* Taking SuS seriously some more.Eric S. Raymond2010-12-141-7/+0
|
* More header rationalizations,Eric S. Raymond2010-12-141-3/+6
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-5/+0
|
* Stop trying to special-case terminating whitespace in gpsd_report().Eric S. Raymond2010-05-051-2/+2
|
* Reindent the network support. All regression tests pass.Eric S. Raymond2010-04-141-28/+40
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+7
|
* Internal IPv6 support, derived from a support patch by Olivier Mehani.Eric S. Raymond2010-01-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The patch original is at: https://lists.berlios.de/pipermail/gpsd-dev/attachments/20100111/85ad4e15/attachment.bin This revision changes netlib_connectsock() to take a first argument that is an address family and can specify IPv4, IPv6, or either. It also changes gpsd.c to open two client sockets, one IPv4 and one IPv6, and listen on both. As a required cleanup, a number of defaults to "127.0.0.1" become defaults to "localhost" so we're not hardwiring in IPv4 assumptions anymore. I've omitted a significant portion of the Mehani patch that changed the interface of the client library in an incompatible way. Currently there is no way to make gpsd listen to IPv4 or IPv6 only, and no way to make a client query over IPV4 or IPv6 only. Also, we'd really like to be able to condition out IPv6 or (someday) IPv4 support for a leaner runtime, and there's no way to do that yet, either. Under IPv4, regression tests pass; live operation with a GPS mouse and the aishub feed both work. However, the resulting code does not splint clean; this will need to be fixed, and that's going to be tricky due to the new sockaddr_t struct.
* David Ludlow's housekeeping and type-cleanup patch.Eric S. Raymond2010-01-021-4/+9
| | | | All regression tests pass,
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+1
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* Finally found the right set of exclusions to stop splint from choking.Eric S. Raymond2009-09-111-0/+2
| | | | Now to see if I can trim them any.
* Guard some inclusions that splint doesn't like. Eric S. Raymond2009-09-101-1/+1
| | | | No effect on compilation. All regression tests pass.
* change the dgnss_ prefix to netgnss_Chris Kuethe2009-07-041-2/+2
| | | | | this more accurately reflects that this is now becoming a generic network gnss interface
* create a net_ namespace for gpsd-as-a-client protocols. currently these areChris Kuethe2009-07-041-0/+149
dgpsip and ntrip. eventually, gpsd will be able to connect to a remote gpsd.