I have a hw network device that can benefit from knowing what its associated IP addresses (if any) are... Is there a "correct" way to determine the IP address(es) from within the driver code? Its obviously possible to snoop into ARP and IP traffic to try to "guess", but this is not always 100% reliable (e.g. with bridging) and also only gives you the IP address once packets have started flowing... In other words, if userspace sets/changes or adds (e.g. IP alias) an IP address to the device (e.g. "ifconfig eth0 192.168.1.5"), I'd like to somehow be informed of that within my driver, or at the least, be able to somehow poll a kernel structure or API to determine said information...
-- gyrovague - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html