aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ratelimiter.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: year bumpJason A. Donenfeld2018-01-031-1/+1
|
* global: add SPDX tags to all filesGreg Kroah-Hartman2017-12-091-1/+4
| | | | | | | | | | | | | It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: use _WG prefix for include guardsJason A. Donenfeld2017-10-031-3/+3
| | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
* ratelimiter: add self-testJason A. Donenfeld2017-07-061-0/+4
|
* ratelimiter: rewrite from scratchJason A. Donenfeld2017-06-261-18/+4
| | | | | | | This not only removes the depenency on x_tables, but it also gives us much better performance and memory usage. Now, systems are able to have millions of WireGuard interfaces, without having to worry about a thundering herd of garbage collection.
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* ratelimiter: load hashlimit at modinsert timeJason A. Donenfeld2016-11-291-2/+7
| | | | This fixes a potential race with net_lock and rtnl_lock.
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* Rework headers and includesJason A. Donenfeld2016-09-291-0/+1
|
* Initial commitJason A. Donenfeld2016-06-251-0/+20