X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.netdev.xml;h=a57ba7ad8cf1ecf9cd00d5e2da21d93c100efd7b;hp=5d033e77d39c5e24259895b8d2bf1a0691a0fde2;hb=30ae9dfda3788cdfaf1b84d124dbc7feb638c77b;hpb=866ee3682213789f85b877700457fdca05695a0e diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index 5d033e77d..a57ba7ad8 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -339,6 +339,112 @@ + + [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 + to enable disable one queue . it determines whether all packets + queue at the device (enabled), or a fixed number queue at the device and + the rest at the "qdisc". Defaults to no. + + + + MultiQueue= + Takes a boolean argument. Configures whether the + to disable or disable . Linux supports multiqueue tuntap which can + uses multiple file descriptors (queues) to parallelize + packets sending or receiving. The device allocation is the same as before, + and if user wants to create multiple queues. Defaults to + no. + + + + PacketInfo= + Takes a boolean argument. Configures whether the + to enable or disable . PacketInfo tells the kernel to not provide packet + information. The purpose of PacketInfo is to tell the kernel that packets + will be "pure" IP packets, with no added bytes. Otherwise (if PacketInfo is unset), + 4 extra bytes are added to the beginning of the packet (2 flag bytes and 2 protocol bytes). + Defaults to no. + + + + User= + User to be allowed to access this device. Give ownership to unprivileged users, + so that /dev/net/tun device to be usable by this user. + + + + + Group= + Group to be allowed to access this device. Give ownership to unprivileged group, + so that /dev/net/tun device to be usable by this group. + + + + + + + + + [TAP] Section Options + + The [TAP] section only applies for netdevs of kind + tap, and accepts the following keys: + + + + + OneQueue= + Takes a boolean argument. Configures whether + to enable disable one queue . it determines whether all packets + queue at the device (enabled), or a fixed number queue at the device and + the rest at the "qdisc". Defaults to no. + + + + MultiQueue= + Takes a boolean argument. Configures whether the + to disable or disable . From version 3.8, Linux supports multiqueue + tuntap which can uses multiple file descriptors (queues) to parallelize + packets sending or receiving. The device allocation is the same as before, + and if user wants to create multiple queues. Defaults to + no. + + + + PacketInfo= + Takes a boolean argument. Configures whether the + to enable or disable . PacketInfo tells the kernel to not provide packet + information. The purpose of PacketInfo is to tell the kernel that packets + will be "pure" IP packets, with no added bytes. Otherwise (if PacketInfo is unset), + 4 extra bytes are added to the beginning of the packet (2 flag bytes and 2 protocol bytes). + Defaults to no. + + + + User= + User to be allowed to access this device. Give ownership to unprivileged users, + so that /dev/net/tun device to be usable by this user. + + + + + Group= + Group to be allowed to access this device. Give ownership to unprivileged group, + so that /dev/net/tun device to be usable by this group. + + + + + + Example @@ -374,6 +480,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