.. shows some compatibility problems with previous software and
De-facto standards.
(1) The netmask of the loop-back device can no longer be set
using:
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP)
ioctl(SIOCSIFNETMASK)
(2) The broadcast address of the loop-back device can no longer
be set using:
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP)
ioctl(SIOCSIFBRDADDR)
The errors returned are EADDRNOTAVAIL (cannot assign requested address)
This breaks embedded software that has to do everything itself, i.e.,
does not use 'ifconfig', but instead executes the ioctl()s.
A new `ifconfig`, that came with Red Hat 7, will not set these
addresses eitherB. However, an old `ifconfig` that uses two different
kinds of sockets, SOCK_PACKET and SOCK_RAW, is sucessful.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.0 on an i686 machine (799.53 BogoMips).
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/