aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/selftest/allowedips.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* allowedips: maintain per-peer list of allowedipsJason A. Donenfeld2019-02-261-50/+43
| | | | | | | | This makes `wg show` and `wg showconf` and the like significantly faster, since we don't have to iterate through every node of the trie for every single peer. It also makes netlink cursor resumption much less problematic, since we're just iterating through a list, rather than having to save a traversal stack.
* global: update copyrightJason A. Donenfeld2019-01-071-1/+1
|
* allowedips: fix sparse warnings in optional selftestsJason A. Donenfeld2018-10-271-12/+14
|
* global: give if statements brackets and other cleanupsJason A. Donenfeld2018-10-091-2/+4
|
* global: more nitsJason A. Donenfeld2018-10-081-36/+33
|
* global: rename struct wireguard_ to struct wg_Jason A. Donenfeld2018-10-081-3/+3
| | | | | | This required a bit of pruning of our christmas trees. Suggested-by: Jiri Pirko <jiri@resnulli.us>
* global: style nitsJason A. Donenfeld2018-10-071-26/+23
|
* allowedips: document additional nobsJason A. Donenfeld2018-10-071-0/+12
|
* global: rename include'd C files to be .cJason A. Donenfeld2018-10-061-0/+679
This is done by 259 other files in the kernel tree: linux $ rg '#include.*\.c' -l | wc -l 259 Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>