diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-16 04:13:16 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-16 04:25:05 +0100 |
commit | 95e81892c9b4d069bf7d064ed8a644e92e751abb (patch) | |
tree | e66c1008b78619ee78103ea407d2a5f4fceaa5fe /src/socket.h | |
parent | 6e71b31d5116a9260be12e855672196bcec618cb (diff) |
packets: consolidate constants
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/socket.h b/src/socket.h index ce668ad..71d0a79 100644 --- a/src/socket.h +++ b/src/socket.h @@ -11,8 +11,6 @@ struct wireguard_device; struct endpoint; -#define SKB_HEADER_LEN (max(sizeof(struct iphdr), sizeof(struct ipv6hdr)) + sizeof(struct udphdr) + NET_SKB_PAD) - int socket_init(struct wireguard_device *wg); void socket_uninit(struct wireguard_device *wg); int socket_send_buffer_to_peer(struct wireguard_peer *peer, void *data, size_t len, uint8_t ds); |