Hello!
> (2) IPX does not provide SIOCGIFCONF ioctl. I was using specific IPX code
> to implement SIOCGIFCONF on IPX sockets. Last week, when I found
> register_gifconf function, I rewrote it to use this function (so IPX
> interfaces are returned on any socket type SIOCGIFCONF). Should not be one
> of these ways included in kernel? And what's better?
If you return sockaddr of size 16, it is OK and will not break any
sane application.
The problem is that not all of them are sane yet 8)
So that hooking by protocol is more safe way. Certainly, it is wrong
way, because it does not allow to discover available transports,
but it is enough good in real life. Unfortunetely, really existing
applications cannot discover transports by more deep reasons
than absence of good interface 8)
> econet and appletalk calls standard dev_ioctl() for SIOCGIFCONF, but do
> not register their interfaces (this brings question: What does IPV6?)
IPv6 does nothing. Its address is too long to fit to 4.3BSD SIOCGIFCONF.
Alexey Kuznetsov
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]