37 struct in_ifaddr *if_addr;
40 if (!ifa || !((
struct in_ifaddr *)ifa)->ifa_dev) {
45 ndev = ((
struct in_ifaddr *)ifa)->ifa_dev->
dev;
53 event, ndev, InterfacePriv);
58 unifi_error(
NULL,
"uf_inetaddr_event null priv (%lu) ndev=%p, InterfacePriv=%p\n",
59 event, ndev, InterfacePriv);
64 if_addr = (
struct in_ifaddr *)ifa;
72 priv->sta_ip_address = if_addr->ifa_address;
73 #ifdef CSR_SUPPORT_WEXT
79 priv->sta_ip_address = 0xFFFFFFFF;
80 #ifdef CSR_SUPPORT_WEXT
91 .notifier_call = uf_inetaddr_event,