Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixup client, including a lot of refactoring | Thomas Gschwantner | 2019-09-28 | 1 | -8/+0 |
| | |||||
* | Extract all RTNETLINK code into ipm.{c,h} | Thomas Gschwantner | 2019-09-28 | 1 | -67/+0 |
| | |||||
* | Serialize/deserialize messages into a struct | Thomas Gschwantner | 2019-09-28 | 1 | -193/+196 |
| | | | | | | Instead of a list of attributes, parse messages into a proper struct to avoid duplicating code in the server/client for handling this list, as well as making parsing nicer in general. | ||||
* | Improve error handling and serialization | Thomas Gschwantner | 2019-08-20 | 1 | -33/+39 |
| | |||||
* | Implement lease expiration | Thomas Gschwantner | 2019-07-18 | 1 | -1/+0 |
| | |||||
* | Use epoll() instead of poll() | Thomas Gschwantner | 2019-06-14 | 1 | -28/+23 |
| | | | | | This enables us to later use the timeout parameter of epoll_wait() to timely remove expired leases. | ||||
* | Implement basic lease management | Thomas Gschwantner | 2019-06-12 | 1 | -2/+10 |
| | |||||
* | Add BUG() and BUG_ON() | Thomas Gschwantner | 2019-06-02 | 1 | -1/+1 |
| | |||||
* | Implement faked allocations, server side | Linus Nordberg | 2019-05-26 | 1 | -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 parsing | Thomas Gschwantner | 2019-02-09 | 1 | -0/+286 |