diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-10 23:28:35 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-15 02:42:36 +0100 |
commit | 46de6f340ae179741fb475ad6858a7a56a34af4a (patch) | |
tree | 132f9cdb49215e98285a70fb0decde84b2b34d81 /src/packets.h | |
parent | curve25519: use kmalloc in order to not overflow stack (diff) | |
download | wireguard-monolithic-historical-46de6f340ae179741fb475ad6858a7a56a34af4a.tar.xz wireguard-monolithic-historical-46de6f340ae179741fb475ad6858a7a56a34af4a.zip |
socket: keep track of src address in sending packets
Diffstat (limited to '')
-rw-r--r-- | src/packets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packets.h b/src/packets.h index c491640..22ce8fa 100644 --- a/src/packets.h +++ b/src/packets.h @@ -37,7 +37,7 @@ void packet_send_handshake_cookie(struct wireguard_device *wg, struct sk_buff *i /* data.c */ int packet_create_data(struct sk_buff_head *queue, struct wireguard_peer *peer, void(*callback)(struct sk_buff_head *, struct wireguard_peer *)); -void packet_consume_data(struct sk_buff *skb, size_t offset, struct wireguard_device *wg, void(*callback)(struct sk_buff *, struct wireguard_peer *, struct sockaddr_storage *, bool used_new_key, int err)); +void packet_consume_data(struct sk_buff *skb, size_t offset, struct wireguard_device *wg, void(*callback)(struct sk_buff *, struct wireguard_peer *, struct endpoint *, bool, int)); #ifdef CONFIG_WIREGUARD_PARALLEL int packet_init_data_caches(void); |