/drivers/staging/csr/ |
D | inet.c | 33 static int uf_inetaddr_event(struct notifier_block *notif, unsigned long event, void *ifa) in uf_inetaddr_event() argument 40 if (!ifa || !((struct in_ifaddr *)ifa)->ifa_dev) { in uf_inetaddr_event() 41 unifi_trace(NULL, UDBG1, "uf_inetaddr_event (%lu) ifa=%p\n", event, ifa); in uf_inetaddr_event() 45 ndev = ((struct in_ifaddr *)ifa)->ifa_dev->dev; in uf_inetaddr_event() 64 if_addr = (struct in_ifaddr *)ifa; in uf_inetaddr_event()
|
/drivers/isdn/hysdn/ |
D | hysdn_net.c | 73 struct in_ifaddr *ifa = in_dev->ifa_list; in net_open() local 74 if (ifa != NULL) in net_open() 75 …memcpy(dev->dev_addr + (ETH_ALEN - sizeof(ifa->ifa_local)), &ifa->ifa_local, sizeof(ifa->ifa_local… in net_open()
|
/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 658 u8 *ip = (u8 *) & ifa->ifa_address; in c2_pseudo_up() 661 ifa->ifa_label, ip[0], ip[1], ip[2], ip[3]); in c2_pseudo_up() 663 c2_add_addr(c2dev, ifa->ifa_address, ifa->ifa_mask); in c2_pseudo_up() 683 u8 *ip = (u8 *) & ifa->ifa_address; in c2_pseudo_down() 686 ifa->ifa_label, ip[0], ip[1], ip[2], ip[3]); in c2_pseudo_down() 688 c2_del_addr(c2dev, ifa->ifa_address, ifa->ifa_mask); in c2_pseudo_down()
|
D | c2_provider.h | 173 if (ifa->ifa_address == addr) { in is_rnic_addr()
|
/drivers/staging/vt6655/ |
D | device.h | 807 struct in_ifaddr *ifa; in device_get_ip() local 810 ifa = (struct in_ifaddr *)in_dev->ifa_list; in device_get_ip() 811 if (ifa != NULL) { in device_get_ip() 812 memcpy(pInfo->abyIPAddr, &ifa->ifa_address, 4); in device_get_ip()
|
/drivers/net/plip/ |
D | plip.c | 1003 const struct in_ifaddr *ifa = in_dev->ifa_list; in plip_rewrite_address() local 1004 if (ifa) { in plip_rewrite_address() 1007 memcpy(eth->h_dest+2, &ifa->ifa_address, 4); in plip_rewrite_address() 1098 struct in_ifaddr *ifa=in_dev->ifa_list; in plip_open() local 1099 if (ifa != NULL) { in plip_open() 1100 memcpy(dev->dev_addr+2, &ifa->ifa_local, 4); in plip_open()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 3162 struct in_ifaddr *ifa, unsigned long event) in netxen_list_config_ip() argument 3169 dev = ifa->ifa_dev ? ifa->ifa_dev->dev : NULL; in netxen_list_config_ip() 3179 if (cur->ip_addr == ifa->ifa_address) in netxen_list_config_ip() 3189 cur->ip_addr = ifa->ifa_address; in netxen_list_config_ip() 3191 netxen_config_ipaddr(adapter, ifa->ifa_address, NX_IP_UP); in netxen_list_config_ip() 3197 if (cur->ip_addr == ifa->ifa_address) { in netxen_list_config_ip() 3200 netxen_config_ipaddr(adapter, ifa->ifa_address, in netxen_list_config_ip() 3227 netxen_list_config_ip(adapter, ifa, NX_IP_UP); in netxen_config_indev_addr() 3230 netxen_list_config_ip(adapter, ifa, NX_IP_DOWN); in netxen_config_indev_addr() 3358 struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; in netxen_inetaddr_event() local [all …]
|
/drivers/s390/net/ |
D | qeth_l3_main.c | 1763 struct in_ifaddr *ifa; in qeth_l3_free_vlan_addresses4() local 1775 for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) { in qeth_l3_free_vlan_addresses4() 1778 addr->u.a4.addr = ifa->ifa_address; in qeth_l3_free_vlan_addresses4() 1779 addr->u.a4.mask = ifa->ifa_mask; in qeth_l3_free_vlan_addresses4() 1793 struct inet6_ifaddr *ifa; in qeth_l3_free_vlan_addresses6() local 1805 list_for_each_entry(ifa, &in6_dev->addr_list, if_list) { in qeth_l3_free_vlan_addresses6() 1808 memcpy(&addr->u.a6.addr, &ifa->addr, in qeth_l3_free_vlan_addresses6() 1810 addr->u.a6.pfxlen = ifa->prefix_len; in qeth_l3_free_vlan_addresses6() 3615 struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; in qeth_l3_ip_event() local 3616 struct net_device *dev = (struct net_device *)ifa->ifa_dev->dev; in qeth_l3_ip_event() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 198 struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr; in ocrdma_inet6addr_event() local 199 struct net_device *netdev = ifa->idev->dev; in ocrdma_inet6addr_event() 224 if (!rdma_link_local_addr((struct in6_addr *)&ifa->addr)) in ocrdma_inet6addr_event()
|
/drivers/net/ethernet/via/ |
D | via-velocity.h | 1513 struct in_ifaddr *ifa; in velocity_get_ip() local 1519 ifa = (struct in_ifaddr *) in_dev->ifa_list; in velocity_get_ip() 1520 if (ifa != NULL) { in velocity_get_ip() 1521 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip()
|
D | via-velocity.c | 3523 struct in_ifaddr *ifa = ptr; in velocity_netdev_event() local 3524 struct net_device *dev = ifa->ifa_dev->dev; in velocity_netdev_event()
|
/drivers/infiniband/hw/nes/ |
D | nes.c | 134 struct in_ifaddr *ifa = ptr; in nes_inetaddr_event() local 135 struct net_device *event_netdev = ifa->ifa_dev->dev; in nes_inetaddr_event() 143 &ifa->ifa_address, &ifa->ifa_mask); in nes_inetaddr_event() 188 nesvnic->local_ipaddr = ifa->ifa_address; in nes_inetaddr_event()
|
/drivers/isdn/i4l/ |
D | isdn_net.c | 249 struct in_ifaddr *ifa = in_dev->ifa_list; in isdn_net_open() local 250 if (ifa != NULL) in isdn_net_open() 251 memcpy(dev->dev_addr + 2, &ifa->ifa_local, 4); in isdn_net_open() 1642 struct in_ifaddr *ifa = in_dev->ifa_list; in isdn_net_ciscohdlck_slarp_send_reply() local 1643 if (ifa != NULL) { in isdn_net_ciscohdlck_slarp_send_reply() 1644 addr = ifa->ifa_local; in isdn_net_ciscohdlck_slarp_send_reply() 1645 mask = ifa->ifa_mask; in isdn_net_ciscohdlck_slarp_send_reply()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 100 struct inet6_ifaddr *ifa; in iwl_mvm_ipv6_addr_change() local 104 list_for_each_entry(ifa, &idev->addr_list, if_list) { in iwl_mvm_ipv6_addr_change() 105 mvmvif->target_ipv6_addrs[idx] = ifa->addr; in iwl_mvm_ipv6_addr_change()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 3484 ifa->ifa_address, QLCNIC_IP_UP); in qlcnic_config_indev_addr() 3488 ifa->ifa_address, QLCNIC_IP_DOWN); in qlcnic_config_indev_addr() 3554 struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; in qlcnic_inetaddr_event() local 3556 dev = ifa->ifa_dev ? ifa->ifa_dev->dev : NULL; in qlcnic_inetaddr_event() 3580 qlcnic_config_ipaddr(adapter, ifa->ifa_address, QLCNIC_IP_UP); in qlcnic_inetaddr_event() 3584 qlcnic_config_ipaddr(adapter, ifa->ifa_address, QLCNIC_IP_DOWN); in qlcnic_inetaddr_event()
|
/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 2120 struct in_ifaddr *ifa; in ath6kl_wow_suspend_vif() local 2186 ifa = in_dev->ifa_list; in ath6kl_wow_suspend_vif() 2190 while (index < MAX_IP_ADDRS && ifa) { in ath6kl_wow_suspend_vif() 2191 ips[index] = ifa->ifa_local; in ath6kl_wow_suspend_vif() 2192 ifa = ifa->ifa_next; in ath6kl_wow_suspend_vif() 2196 if (ifa) { in ath6kl_wow_suspend_vif()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 3148 struct in_ifaddr *ifa; in vmxnet3_suspend() local 3184 ifa = (struct in_ifaddr *)in_dev->ifa_list; in vmxnet3_suspend() 3185 if (!ifa) in vmxnet3_suspend() 3206 *(u32 *)arpreq = ifa->ifa_address; in vmxnet3_suspend()
|