X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.netdev.xml;h=857221fdb0bb71e160d9298bcd1d360a58df1f76;hb=108e8cd11e88bd4795a62bf335921d438592601c;hp=5d033e77d39c5e24259895b8d2bf1a0691a0fde2;hpb=9e358851b470a1994287c8cb1d9eb78837faaf60;p=elogind.git
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index 5d033e77d..857221fdb 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -163,7 +163,8 @@
macvlan, vxlan,
ipip, gre,
sit, vti,
- veth, and dummy
+ veth, tun,
+ tap and dummy
are supported. This option is compulsory.
@@ -339,6 +340,61 @@
+
+ [Tun] Section Options
+
+ The [Tun] section only applies for netdevs of kind
+ tun, and accepts the following keys:
+
+
+
+ OneQueue=
+ Takes a boolean argument. Configures whether
+ all packets are queued at the device (enabled), or a fixed number
+ of packets are queued at the device and the rest at the
+ qdisc. Defaults to no.
+
+
+
+ MultiQueue=
+ Takes a boolean argument. Configures whether to
+ use multiple file descriptors (queues) to parallelize packets
+ sending and receiving. Defaults to no.
+
+
+
+ PacketInfo=
+ Takes a boolean argument. Configures whether packets
+ should be prepened with four extra bytes (two flag bytes and two
+ protocol bytes). If disabled it indicates that the packets will be
+ pure IP packets. Defaults to no.
+
+
+
+ User=
+ User to grant access to the /dev/net/tun
+ device.
+
+
+
+ Group=
+ Group to grant access to the /dev/net/tun
+ device.
+
+
+
+
+
+
+
+
+ [Tap] Section Options
+
+ The [Tap] section only applies for netdevs of kind
+ tap, and accepts the same keys as the
+ [Tun] section.
+
+
Example
@@ -374,6 +430,15 @@ Local=192.168.223.238
Remote=192.169.224.239
TTL=64
+
+ /etc/systemd/network/tap.netdev
+ [NetDev]
+Name=tap-test
+Kind=tap
+
+[Tap]
+MultiQueue=true
+PacketInfo=true
/etc/systemd/network/sit.netdev