summaryrefslogtreecommitdiffhomepage
path: root/src/device.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-01-24 17:43:35 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-02-13 21:55:18 +0100
commitbdc0caee9cf2dfa40f46d0e96f9c944463d77830 (patch)
treee804e8ac7f2537c73117b5c785da752254e96c0f /src/device.h
parent95507a57344431b890c12f3132a019f31d824b01 (diff)
socket: enable setting of fwmark
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index 3cbbbaa..855ec27 100644
--- a/src/device.h
+++ b/src/device.h
@@ -19,6 +19,7 @@
struct wireguard_device {
struct sock __rcu *sock4, *sock6;
u16 incoming_port;
+ u32 fwmark;
struct net *creating_net;
struct workqueue_struct *workqueue;
struct workqueue_struct *parallelqueue;