Displaying 2 results from an estimated 2 matches for "95931a5".
Did you mean:
59315
2008 Aug 13
1
[PATCH 1/1] tun: TUNGETIFF interface to query name and flags
...NET_HDR set.
Signed-off-by: Mark McLoughlin <markmc at redhat.com>
---
drivers/net/tun.c | 39 +++++++++++++++++++++++++++++++++++++++
include/linux/if_tun.h | 1 +
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index e6bbc63..95931a5 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -748,6 +748,36 @@ static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
return err;
}
+static int tun_get_iff(struct net *net, struct file *file, struct ifreq *ifr)
+{
+ struct tun_struct *tun = file->private_...
2008 Aug 13
1
[PATCH 1/1] tun: TUNGETIFF interface to query name and flags
...NET_HDR set.
Signed-off-by: Mark McLoughlin <markmc at redhat.com>
---
drivers/net/tun.c | 39 +++++++++++++++++++++++++++++++++++++++
include/linux/if_tun.h | 1 +
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index e6bbc63..95931a5 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -748,6 +748,36 @@ static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
return err;
}
+static int tun_get_iff(struct net *net, struct file *file, struct ifreq *ifr)
+{
+ struct tun_struct *tun = file->private_...