aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/containers.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* netlink: use __kernel_timespec for handshake timeJason A. Donenfeld2019-01-231-1/+7
|
* global: update copyrightJason A. Donenfeld2019-01-071-1/+1
|
* global: put SPDX identifier on its own lineJason A. Donenfeld2018-09-201-2/+2
| | | | | The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments.
* tools: fix OpenBSD buildFilippo Valsorda2018-05-221-1/+1
| | | | | License: MIT Signed-off-by: Filippo Valsorda <valsorda@google.com>
* tools: fixup errno handlingJason A. Donenfeld2018-02-171-1/+0
|
* global: year bumpJason A. Donenfeld2018-01-031-1/+1
|
* global: add SPDX tags to all filesGreg Kroah-Hartman2017-12-091-2/+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: switch from timeval to timespecJason A. Donenfeld2017-11-221-2/+2
| | | | | | | | | | | | | | | | | | | This gets us nanoseconds instead of microseconds, which is better, and we can do this pretty much without freaking out existing userspace, which doesn't actually make use of the nano/micro seconds field: zx2c4@thinkpad ~ $ cat a.c void main() { puts(sizeof(struct timeval) == sizeof(struct timespec) ? "success" : "failure"); } zx2c4@thinkpad ~ $ gcc a.c -m64 && ./a.out success zx2c4@thinkpad ~ $ gcc a.c -m32 && ./a.out success This doesn't solve y2038 problem, but timespec64 isn't yet a thing in userspace.
* tools: allow for NULL keys everywhereJason A. Donenfeld2017-11-111-4/+6
|
* tools: remove ioctl cruftJason A. Donenfeld2017-11-111-4/+0
|
* tools: store tail pointer to make coalescing peers fastJason A. Donenfeld2017-10-101-2/+2
|
* tools: warn once on unrecognized itemsJason A. Donenfeld2017-10-091-0/+1
| | | | | | | | DaveM suggests we do in fact do this. Others on the same thread weren't happy about the length of the proposed message, so we also give a bit of a less dramatic warning. This reverts commit a2cc976a3b572cf308cc2d97c080eacac60416fe.
* global: satisfy bitshift pedantryJason A. Donenfeld2017-10-031-8/+8
| | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
* tools: do not warn on unrecognized itemsJason A. Donenfeld2017-10-021-1/+0
| | | | Upstream advice is to simply be silent.
* netlink: switch from ioctl to netlink for configurationJason A. Donenfeld2017-10-021-0/+95