aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/packets.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/packets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/packets.h b/src/packets.h
index 035c548..a8ecdf1 100644
--- a/src/packets.h
+++ b/src/packets.h
@@ -44,8 +44,8 @@ struct packet_data_encryption_ctx {
struct sk_buff *skb;
void (*callback)(struct sk_buff *, struct wireguard_peer *);
struct wireguard_peer *peer;
- size_t plaintext_len, trailer_len;
- unsigned int num_frags;
+ unsigned int plaintext_len, trailer_len;
+ uint8_t num_frags;
struct sk_buff *trailer;
struct noise_keypair *keypair;
uint64_t nonce;