Lines Matching refs:tip
396 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument
429 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore()
452 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument
459 rt = ip_route_output(net, sip, tip, 0, l3mdev_master_ifindex_rcu(dev)); in arp_filter()
520 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument
527 if (sip == tip) in arp_fwd_pvlan()
670 __be32 sip, __be32 tip, in arp_is_garp() argument
673 bool is_garp = tip == sip; in arp_is_garp()
707 __be32 sip, tip; in arp_process() local
781 memcpy(&tip, arp_ptr, 4); in arp_process()
786 if (ipv4_is_multicast(tip) || in arp_process()
787 (!IN_DEV_ROUTE_LOCALNET(in_dev) && ipv4_is_loopback(tip))) in arp_process()
795 if (sip == tip && IN_DEV_ORCONF(in_dev, DROP_GRATUITOUS_ARP)) in arp_process()
829 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process()
830 !arp_ignore(in_dev, sip, tip)) in arp_process()
831 arp_send_dst(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip, in arp_process()
837 ip_route_input_noref(skb, tip, sip, 0, dev) == 0) { in arp_process()
845 dont_send = arp_ignore(in_dev, sip, tip); in arp_process()
847 dont_send = arp_filter(sip, tip, dev); in arp_process()
852 sip, dev, tip, sha, in arp_process()
862 arp_fwd_pvlan(in_dev, dev, rt, sip, tip) || in arp_process()
864 pneigh_lookup(&arp_tbl, net, &tip, dev, 0)))) { in arp_process()
873 sip, dev, tip, sha, in arp_process()
893 sip, tip, sha, tha); in arp_process()