Searched hist:"79 d1760491a25bfc70aeac363142cadd3f1cda71" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ |
H A D | tun.c | diff 79d1760491a25bfc70aeac363142cadd3f1cda71 Wed Apr 16 02:40:46 CDT 2008 Pavel Emelyanov <xemul@openvz.org> [TUN]: Introduce the tun_net structure and init/exit net ops.
This is the first step in making tuntap devices work in net namespaces. The structure mentioned is pointed by generic net pointer with tun_net_id id, and tun driver fills one on its load. It will contain only the tun devices list.
So declare this structure and introduce net init and exit hooks.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|