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 /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 'include')
-rw-r--r-- | include/device/net_status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device/net_status.h b/include/device/net_status.h index 5131ef5..9ab95b9 100644 --- a/include/device/net_status.h +++ b/include/device/net_status.h @@ -72,6 +72,7 @@ struct net_status { #define NET_DSTADDR (('n'<<16) + 3) +#define NET_FLAGS (('n'<<16) + 4) /* * Input packet filter definition |