[systemd-devel] [PATCH] networkd: Introduce tun/tap device

Tomasz Torcz tomek at pipebreaker.pl
Wed Jun 25 06:59:58 PDT 2014


On Wed, Jun 25, 2014 at 04:13:39PM +0530, Susant Sahani wrote:
> This patch introduces TUN/TAP device creation support
> to networkd.
> 
> Example conf to create a tap device:
> 
> file: tap.netdev
> ------------------
> [NetDev]
> Name=tap-test
> Kind=tap
> 
> [Tap]
> OneQueue=true
> MultiQueue=true
> PacketInfo=true
> ------------------
> 
> Modifications:
> 
> Added:
> 1. file networkd-tuntap.c
> 3. netdev kind NETDEV_KIND_TUN and NETDEV_KIND_TAP
> 2. Tun and Tap Sections and config params to parse
>    conf and gperf conf parameters
> 
> TODO:
>    1. Add user(uid) group(gid) parameters
> ---
>  Makefile.am                             |   1 +
>  src/network/networkd-netdev-gperf.gperf |   6 ++
>  src/network/networkd-netdev.c           |  34 ++++++++---
>  src/network/networkd-tuntap.c           | 101 ++++++++++++++++++++++++++++++++
>  src/network/networkd.h                  |   9 +++

  Updated manpage please?

-- 
Tomasz Torcz                        To co nierealne -- tutaj jest normalne.
xmpp: zdzichubg at chrome.pl          Ziomale na życie mają tu patenty specjalne.



More information about the systemd-devel mailing list