diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-08-09 14:35:27 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:18 +0200 |
commit | 5a97027c99163974a16614363dafc18a63b990e0 (patch) | |
tree | 544f2bea96a5d04c238b51b08ffb54b5f87421bf /linux/dev/include | |
parent | 511300311b1a57ad7279f91ab11d1bcf6fe202da (diff) |
2008-07-29 Zheng Da <zhengda1936@gmail.com>
Manuel Menal <mmenal@hurdfr.org>
* include/device/net_status.h (NET_FLAGS): New macro.
* linux/dev/glue/net.c (device_get_status): Handle NET_FLAGS case.
(device_set_status): Likewise, calls dev_change_flags.
* linux/dev/include/linux/netdevice.h (dev_change_flags): Declare
function.
* linux/dev/net/core/dev.c (dev_change_flags): Add function.
Diffstat (limited to 'linux/dev/include')
-rw-r--r-- | linux/dev/include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/dev/include/linux/netdevice.h b/linux/dev/include/linux/netdevice.h index ff25df1..e1a9a34 100644 --- a/linux/dev/include/linux/netdevice.h +++ b/linux/dev/include/linux/netdevice.h @@ -271,6 +271,7 @@ extern void net_bh(void); extern void dev_tint(struct linux_device *dev); #endif +extern int dev_change_flags(struct linux_device *dev, short flags); extern int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy); extern int dev_ioctl(unsigned int cmd, void *); |