aboutsummaryrefslogtreecommitdiffstats
path: root/common.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve error handling and serializationThomas Gschwantner2019-08-201-33/+39
|
* Implement lease expirationThomas Gschwantner2019-07-181-1/+0
|
* Use epoll() instead of poll()Thomas Gschwantner2019-06-141-28/+23
| | | | | This enables us to later use the timeout parameter of epoll_wait() to timely remove expired leases.
* Implement basic lease managementThomas Gschwantner2019-06-121-2/+10
|
* Add BUG() and BUG_ON()Thomas Gschwantner2019-06-021-1/+1
|
* Implement faked allocations, server sideLinus Nordberg2019-05-261-14/+170
| | | | | | | | | | Reject clients not connecting from an IPv6 address. Reject clients not connecting from the correct port. Fake address allocation. Update allowed-ips with leases handed out. Send response messages. Extend protocol to include lease start and lease time, errno and errmsg. Move common code to common.[ch].
* Implement key=value parsingThomas Gschwantner2019-02-091-0/+286