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 | 464dc025b8d1c435eaca9d1bd26b3585a1c19d3a (patch) | |
tree | e432090eb6a5da9f0558f01eb91094299ef20257 /src/socket.h | |
parent | various: nits from willy (diff) | |
download | wireguard-monolithic-historical-464dc025b8d1c435eaca9d1bd26b3585a1c19d3a.tar.xz wireguard-monolithic-historical-464dc025b8d1c435eaca9d1bd26b3585a1c19d3a.zip |
packets: consolidate constants
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); |