aboutsummaryrefslogtreecommitdiff
path: root/pfinet/pfinet.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-03-26 01:01:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-03-26 01:01:04 +0100
commit0992a61cafb0f3def3b6997f7c3670a4474f479b (patch)
treeda2819801a2f7c53c53962fef1fd2e048aa26c58 /pfinet/pfinet.h
parenta89bb489bfc0bb8d66f69e783b031b30233fdc82 (diff)
downloadhurd-0992a61cafb0f3def3b6997f7c3670a4474f479b.tar.gz
hurd-0992a61cafb0f3def3b6997f7c3670a4474f479b.tar.bz2
hurd-0992a61cafb0f3def3b6997f7c3670a4474f479b.zip
Fix tunnel and dummy interfaces
* pfinet/linux-src/include/linux/netdevice.h (netdevice): Add `change_flags' field. * pfinet/ethernet.c (ethernet_change_flags): Make function static. (setup_ethernet_device): Set `change_flags' field of `dev' to ethernet_change_flags. * pfinet/linux-src/net/core/dev.c (dev_change_flags): Call `change_flags' field of `dev' if non-nul, instead of calling ethernet_change_flags. * pfinet/pfinet.h (ethernet_change_flags): Remove function prototype.
Diffstat (limited to 'pfinet/pfinet.h')
-rw-r--r--pfinet/pfinet.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/pfinet/pfinet.h b/pfinet/pfinet.h
index 66353956..9725dabc 100644
--- a/pfinet/pfinet.h
+++ b/pfinet/pfinet.h
@@ -68,7 +68,6 @@ 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 **);