lkml.org 
[lkml]   [2001]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.4.0 Network device incompatibility

Testing Linux version 2.4.0
(Linux chaos 2.4.0 #4 SMP Tue Jan 9 10:20:29 EST 2001 i686)

.. 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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.027 / U:1.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site