Home
last modified time | relevance | path

Searched refs:ifa_local (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/net/decnet/
Ddn_dev.c340 if (ifa1->ifa_local != dn_eth2dn(dev->dev_addr)) { in dn_dev_del_ifa()
341 dn_dn2eth(mac_addr, ifa1->ifa_local); in dn_dev_del_ifa()
368 if (ifa1->ifa_local == ifa->ifa_local) in dn_dev_insert_ifa()
373 if (ifa->ifa_local != dn_eth2dn(dev->dev_addr)) { in dn_dev_insert_ifa()
374 dn_dn2eth(mac_addr, ifa->ifa_local); in dn_dev_insert_ifa()
464 *((__le16 *)sdn->sdn_nodeaddr) = ifa->ifa_local; in dn_dev_ioctl()
477 if (ifa->ifa_local == dn_saddr2dn(sdn)) in dn_dev_ioctl()
482 ifa->ifa_local = ifa->ifa_address = dn_saddr2dn(sdn); in dn_dev_ioctl()
598 nla_memcmp(tb[IFA_LOCAL], &ifa->ifa_local, 2)) in dn_nl_deladdr()
653 ifa->ifa_local = nla_get_le16(tb[IFA_LOCAL]); in dn_nl_newaddr()
[all …]
Ddn_fib.c576 .prefsrc = ifa->ifa_local, in fib_magic()
621 fib_magic(RTM_NEWROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_add_ifaddr()
649 if (ifa2->ifa_local == ifa->ifa_local) { in dn_fib_del_ifaddr()
658 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_del_ifaddr()
660 if (dnet_addr_type(ifa->ifa_local) != RTN_LOCAL) { in dn_fib_del_ifaddr()
661 if (dn_fib_sync_down(ifa->ifa_local, NULL, 0)) in dn_fib_del_ifaddr()
Ddn_route.c924 saddr = ifa->ifa_local; in dnet_select_source()
927 ret = dn_match_addr(daddr, ifa->ifa_local); in dnet_select_source()
929 saddr = ifa->ifa_local; in dnet_select_source()
931 saddr = ifa->ifa_local; in dnet_select_source()
/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c131 u32 hash = inet_addr_hash(net, ifa->ifa_local); in inet_hash_insert()
188 if (ifa->ifa_local == addr && in inet_lookup_ifaddr_rcu()
484 if (!ifa->ifa_local) { in __inet_insert_ifa()
504 if (ifa1->ifa_local == ifa->ifa_local) { in __inet_insert_ifa()
538 prandom_seed((__force u32) ifa->ifa_local); in __inet_insert_ifa()
581 if (ipv4_is_loopback(ifa->ifa_local)) in inet_set_ifa()
674 ifa->ifa_local != nla_get_in_addr(tb[IFA_LOCAL])) in inet_rtm_deladdr()
878 ifa->ifa_local = nla_get_in_addr(tb[IFA_LOCAL]); in rtm_to_ifaddr()
917 if (!ifa->ifa_local) in find_matching_ifa()
923 ifa1->ifa_local == ifa->ifa_local) in find_matching_ifa()
[all …]
Dfib_frontend.c560 cfg->fc_prefsrc = ifa->ifa_local; in rtentry_to_fib_config()
1067 .fc_prefsrc = ifa->ifa_local, in fib_magic()
1101 __be32 addr = ifa->ifa_local; in fib_add_ifaddr()
1152 (prefix == ifa->ifa_local && ifa->ifa_prefixlen == 32)) in fib_modify_prefix_metric()
1203 (any != ifa->ifa_local || ifa->ifa_prefixlen < 32)) { in fib_del_ifaddr()
1254 if (prim1->ifa_local != prim->ifa_local) in fib_del_ifaddr()
1258 if (prim->ifa_local != ifa1->ifa_local) in fib_del_ifaddr()
1264 if (ifa->ifa_local == ifa1->ifa_local) in fib_del_ifaddr()
1305 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim, 0); in fib_del_ifaddr()
1309 ifa->ifa_local); in fib_del_ifaddr()
[all …]
Digmp.c341 if (fl4->saddr == ifa->ifa_local) in igmpv3_get_srcaddr()
/kernel/linux/linux-5.10/include/net/
Ddn_dev.h11 __le16 ifa_local; member
190 if ((addr ^ ifa->ifa_local) == 0) { in dn_dev_islocal()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_nat_redirect.c57 newdst = ifa->ifa_local; in nf_nat_redirect_ipv4()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c66 laddr = ifa->ifa_local; in nf_tproxy_laddr4()
/kernel/linux/linux-5.10/fs/lockd/
Dsvc.c311 &ifa->ifa_local); in lockd_inetaddr_event()
313 sin.sin_addr.s_addr = ifa->ifa_local; in lockd_inetaddr_event()
/kernel/linux/linux-5.10/include/linux/
Dinetdevice.h142 __be32 ifa_local; member
/kernel/linux/linux-5.10/drivers/net/wan/
Dhdlc_cisco.c202 addr = ifa->ifa_local; in cisco_rx()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfssvc.c453 dprintk("nfsd_inetaddr_event: removed %pI4\n", &ifa->ifa_local); in nfsd_inetaddr_event()
455 sin.sin_addr.s_addr = ifa->ifa_local; in nfsd_inetaddr_event()
/kernel/linux/linux-5.10/net/sctp/
Dprotocol.c89 addr->a.v4.sin_addr.s_addr = ifa->ifa_local; in sctp_v4_copy_addrlist()
790 addr->a.v4.sin_addr.s_addr = ifa->ifa_local; in sctp_inetaddr_event()
804 ifa->ifa_local) { in sctp_inetaddr_event()
/kernel/linux/linux-5.10/drivers/parisc/
Dled.c370 if (ipv4_is_loopback(in_dev->ifa_list->ifa_local)) in led_get_net_activity()
/kernel/linux/linux-5.10/net/core/
Dnetpoll.c748 np->local_ip.ip = ifa->ifa_local; in netpoll_setup()
/kernel/linux/linux-5.10/drivers/net/plip/
Dplip.c1108 memcpy(dev->dev_addr+2, &ifa->ifa_local, 4); in plip_open()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c3255 if (!ifa || !ifa->ifa_local) in mwifiex_set_auto_arp_mef_entry()
3257 ips[i] = ifa->ifa_local; in mwifiex_set_auto_arp_mef_entry()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c2202 ips[index] = ifa->ifa_local; in ath6kl_wow_suspend_vif()
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c3146 addr.s6_addr32[3] = ifa->ifa_local; in sit_add_v4_addrs()