summaryrefslogtreecommitdiff
path: root/pfinet/pfinet.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-09-20 21:18:30 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-09-20 21:23:23 +0200
commite58f5b6e2ef7ec859b799ba3d58914443ae47efe (patch)
tree3f7422f1423c3ccf039c92ab1c309454d2deb446 /pfinet/pfinet.h
parent8e5239628b427facba761194ad655c1c908e146b (diff)
Add support for setting actual device flags
* pfinet/ethernet.c (ethernet_change_flags): New function. * pfinet/pfinet.h (ethernet_change_flags): New declaration. * pfinet/iioctl-ops.c (S_iioctl_siocsifflags): Also call `ethernet_change_flags' after calling `dev_change_flags'.
Diffstat (limited to 'pfinet/pfinet.h')
-rw-r--r--pfinet/pfinet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pfinet/pfinet.h b/pfinet/pfinet.h
index 77027b22..050ba6f7 100644
--- a/pfinet/pfinet.h
+++ b/pfinet/pfinet.h
@@ -67,6 +67,7 @@ uid_t pfinet_group;
void ethernet_initialize (void);
int ethernet_demuxer (mach_msg_header_t *, mach_msg_header_t *);
+int ethernet_change_flags (struct device *, short);
void setup_ethernet_device (char *, struct device **);
void setup_dummy_device (char *, struct device **);
void setup_tunnel_device (char *, struct device **);