aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/socket.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>
* socket: only free socket after successful creation of newJason A. Donenfeld2017-11-171-2/+2
| | | | | | | | | | | | | | When an interface is down, the socket port can change freely. A socket will be allocated when the interface comes up, and if a socket can't be allocated, the interface doesn't come up. However, a socket port can change while the interface is up. In this case, if a new socket with a new port cannot be allocated, it's important to keep the interface in a consistent state. The choices are either to bring down the interface or to preserve the old socket. This patch implements the latter. Reported-by: Marc-Antoine Perennou <keruspe@exherbo.org>
* global: get rid of useless forward declarationsJason A. Donenfeld2017-10-311-3/+0
|
* global: accept decent check_patch.pl suggestionsJason A. Donenfeld2017-10-311-1/+1
|
* socket: gcc inlining makes this fasterJason A. Donenfeld2017-10-061-0/+1
|
* socket: compare while unlocked firstJason A. Donenfeld2017-10-061-2/+2
| | | | | | This should be a bit faster. Suggested-by: Willy Tarreau <w@1wt.eu>
* global: use _WG prefix for include guardsJason A. Donenfeld2017-10-031-3/+3
| | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
* socket: move print function from compatJason A. Donenfeld2017-07-281-0/+10
|
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* global: move to consistent use of uN instead of uintN_t for kernel codeJason A. Donenfeld2016-12-111-2/+2
|
* socket: clear src address when retrying handshakeJason A. Donenfeld2016-12-091-0/+1
|
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* packets: consolidate constantsJason A. Donenfeld2016-11-161-2/+0
|
* socket: keep track of src address in sending packetsJason A. Donenfeld2016-11-151-2/+3
|
* socket: use more reasonable skb paddingJason A. Donenfeld2016-11-071-1/+1
|
* socket: big refactoringJason A. Donenfeld2016-11-051-3/+3
|
* socket: use dst_cache instead of handrolled cacheJason A. Donenfeld2016-11-041-1/+0
|
* send: properly encapsulate ECNJason A. Donenfeld2016-08-291-2/+2
| | | | We're not leaking the DSCP, but we do deal with ECN.
* Initial commitJason A. Donenfeld2016-06-251-0/+25