summaryrefslogtreecommitdiffstatshomepage
path: root/src/socket.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-16 04:13:16 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-16 04:25:05 +0100
commit464dc025b8d1c435eaca9d1bd26b3585a1c19d3a (patch)
treee432090eb6a5da9f0558f01eb91094299ef20257 /src/socket.h
parentvarious: nits from willy (diff)
downloadwireguard-monolithic-historical-464dc025b8d1c435eaca9d1bd26b3585a1c19d3a.tar.xz
wireguard-monolithic-historical-464dc025b8d1c435eaca9d1bd26b3585a1c19d3a.zip
packets: consolidate constants
Diffstat (limited to '')
-rw-r--r--src/socket.h2
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);