summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.