diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-10-20 00:01:26 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-10-20 00:01:26 +0000 |
commit | 82835638e1a7357bbbe7d010324e2790dca61ef6 (patch) | |
tree | 0d4dc254ccfa03aa67229063a1e9f3e5f06d18d4 /sys/compat/linux/linux_ioctl.h | |
parent | 259ed917409bf02ad697b2b2d7ab97b327c564c0 (diff) | |
download | src-82835638e1a7357bbbe7d010324e2790dca61ef6.tar.gz src-82835638e1a7357bbbe7d010324e2790dca61ef6.zip |
Tweak the way we determine if an interface needs to have its name translated.
Add some missing break statements in the socket ioctl switch.
Check the return value from copyin() / copyout().
Fix some disorderings and misindentations.
Support a couple more socket ioctls.
Add missing break statements.
Notes
Notes:
svn path=/head/; revision=85203
Diffstat (limited to 'sys/compat/linux/linux_ioctl.h')
-rw-r--r-- | sys/compat/linux/linux_ioctl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h index f933d67947e4..912ed567e05e 100644 --- a/sys/compat/linux/linux_ioctl.h +++ b/sys/compat/linux/linux_ioctl.h @@ -136,6 +136,11 @@ #define LINUX_SIOCGIFDSTADDR 0x8917 #define LINUX_SIOCGIFBRDADDR 0x8919 #define LINUX_SIOCGIFNETMASK 0x891b +#define LINUX_SIOCSIFNETMASK 0x891c +#define LINUX_SIOCGIFMTU 0x8921 +#define LINUX_SIOCSIFMTU 0x8922 +#define LINUX_SIOCSIFNAME 0x8923 +#define LINUX_SIOCSIFHWADDR 0x8924 #define LINUX_SIOCGIFHWADDR 0x8927 #define LINUX_SIOCADDMULTI 0x8931 #define LINUX_SIOCDELMULTI 0x8932 |