Lines Matching refs:sip
392 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument
401 sip = 0; in arp_ignore()
411 sip = 0; in arp_ignore()
425 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore()
428 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument
435 rt = ip_route_output(net, sip, tip, 0, 0); in arp_filter()
496 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument
503 if (sip == tip) in arp_fwd_pvlan()
656 __be32 sip, tip; in arp_process() local
719 memcpy(&sip, arp_ptr, 4); in arp_process()
767 if (sip == 0) { in arp_process()
770 !arp_ignore(in_dev, sip, tip)) in arp_process()
771 arp_send_dst(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip, in arp_process()
777 ip_route_input_noref(skb, tip, sip, 0, dev) == 0) { in arp_process()
785 dont_send = arp_ignore(in_dev, sip, tip); in arp_process()
787 dont_send = arp_filter(sip, tip, dev); in arp_process()
789 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process()
792 sip, dev, tip, sha, in arp_process()
802 arp_fwd_pvlan(in_dev, dev, rt, sip, tip) || in arp_process()
805 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process()
813 sip, dev, tip, sha, in arp_process()
828 n = __neigh_lookup(&arp_tbl, &sip, dev, 0); in arp_process()
831 unsigned int addr_type = inet_addr_type_dev_table(net, dev, sip); in arp_process()
837 is_garp = arp->ar_op == htons(ARPOP_REQUEST) && tip == sip && in arp_process()
843 n = __neigh_lookup(&arp_tbl, &sip, dev, 1); in arp_process()