Re: screwy kernel messages about (AF_INET,SOCK_PACKET,..) being obsolete

A.N.Kuznetsov (
Thu, 22 Jan 1998 20:53:06 +0300

In article <> you wrote:
: > This does not seem to be an exact substitute for (AF_INET,SOCK_PACKET,..)
: > 1) It does not support ioctl(..., SIOCGIFADDR.\

: That will be a bug then
In diald.

In any case, if packet socket would support SIOCGIFADDR
it would return ll address rather than IP address.

: > 2) Diald uses select to watch for input on the proxy port when the link
: > is down.
: > With SOCK_PACKET incoming packets trigger the select; with SOCK_RAW,
: > they don't.

Umm... when link is down, no packets can arrive, so that I do not
understand the problem. Apparently, I misunderstood something.

In any case, wrt select they are indistinguishable.

Alexey Kuznetsov