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

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Thu, 22 Jan 1998 23:32:10 +0300 (MSK)


Hello!

> > : That will be a bug then
> > In diald.
>
> No. If you dont emulate AF_INET, SOCK_PACKET properly its a bug. You tell
> people to change to this and it doesnt work

I am forced to agree :-)
But such modularity violation makes me sick...

> > In any case, if packet socket would support SIOCGIFADDR
> > it would return ll address rather than IP address.
>
> Perhaps we should cover this case. To start with you do pass the family
> to SIOCGIFADDR..

Well, we could create separate linkage table to make selections
not traditionally by socket family, but by this field
and to move all the address related SIOC* back to core/dev.c.
In theory it is good idea, but practically...

Alan, are you sure that we want it?
To introduce new object only to make diald happy...

Alexey