Lines Matching refs:sip

397 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip)  in arp_ignore()  argument
406 sip = 0; in arp_ignore()
416 sip = 0; in arp_ignore()
430 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore()
433 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument
440 rt = ip_route_output(net, sip, tip, 0, l3mdev_master_ifindex_rcu(dev)); in arp_filter()
501 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument
508 if (sip == tip) in arp_fwd_pvlan()
651 __be32 sip, __be32 tip, in arp_is_garp() argument
654 bool is_garp = tip == sip; in arp_is_garp()
668 *addr_type = inet_addr_type_dev_table(net, dev, sip); in arp_is_garp()
688 __be32 sip, tip; in arp_process() local
751 memcpy(&sip, arp_ptr, 4); in arp_process()
776 if (sip == tip && IN_DEV_ORCONF(in_dev, DROP_GRATUITOUS_ARP)) in arp_process()
808 if (sip == 0) { in arp_process()
811 !arp_ignore(in_dev, sip, tip)) in arp_process()
812 arp_send_dst(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip, in arp_process()
818 ip_route_input_noref(skb, tip, sip, 0, dev) == 0) { in arp_process()
826 dont_send = arp_ignore(in_dev, sip, tip); in arp_process()
828 dont_send = arp_filter(sip, tip, dev); in arp_process()
830 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process()
833 sip, dev, tip, sha, in arp_process()
843 arp_fwd_pvlan(in_dev, dev, rt, sip, tip) || in arp_process()
846 n = neigh_event_ns(&arp_tbl, sha, &sip, dev); in arp_process()
854 sip, dev, tip, sha, in arp_process()
869 n = __neigh_lookup(&arp_tbl, &sip, dev, 0); in arp_process()
874 sip, tip, sha, tha); in arp_process()
888 inet_addr_type_dev_table(net, dev, sip) == in arp_process()
890 n = __neigh_lookup(&arp_tbl, &sip, dev, 1); in arp_process()