Lines Matching defs:tip
395 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip)
401 case 0: /* Reply, the tip is already validated */
403 case 1: /* Reply only if tip is configured on the incoming interface */
408 * Reply only if tip is configured on the incoming interface
428 return !inet_confirm_addr(net, in_dev, sip, tip, scope);
431 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev)
438 rt = ip_route_output(net, sip, tip, 0, l3mdev_master_ifindex_rcu(dev));
499 __be32 sip, __be32 tip)
506 if (sip == tip)
649 __be32 sip, __be32 tip,
652 bool is_garp = tip == sip;
686 __be32 sip, tip;
760 memcpy(&tip, arp_ptr, 4);
765 if (ipv4_is_multicast(tip) ||
766 (!IN_DEV_ROUTE_LOCALNET(in_dev) && ipv4_is_loopback(tip)))
774 if (sip == tip && IN_DEV_ORCONF(in_dev, DROP_GRATUITOUS_ARP))
808 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL &&
809 !arp_ignore(in_dev, sip, tip))
810 arp_send_dst(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip,
816 ip_route_input_noref(skb, tip, sip, 0, dev) == 0) {
824 dont_send = arp_ignore(in_dev, sip, tip);
826 dont_send = arp_filter(sip, tip, dev);
831 sip, dev, tip, sha,
841 arp_fwd_pvlan(in_dev, dev, rt, sip, tip) ||
843 pneigh_lookup(&arp_tbl, net, &tip, dev, 0)))) {
852 sip, dev, tip, sha,
872 sip, tip, sha, tha);