commit | 79d1760491a25bfc70aeac363142cadd3f1cda71 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Wed Apr 16 00:40:46 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 16 00:40:46 2008 -0700 |
tree | 8c5a2d8f2d1b0f09097013abad7b8c2dc2852494 | |
parent | 17515408a15fa51c553e67c415502e785145cd7f [diff] |
[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>