Home
last modified time | relevance | path

Searched refs:sip (Results 1 – 5 of 5) sorted by relevance

/net/ipv4/
Darp.c382 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument
390 sip = 0; in arp_ignore()
400 sip = 0; in arp_ignore()
413 return !inet_confirm_addr(in_dev, sip, tip, scope); in arp_ignore()
416 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument
423 rt = ip_route_output(net, sip, tip, 0, 0); in arp_filter()
549 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument
556 if (sip == tip) in arp_fwd_pvlan()
728 __be32 sip, tip; in arp_process() local
790 memcpy(&sip, arp_ptr, 4); in arp_process()
[all …]
Dipconfig.c501 __be32 sip, tip; in ic_rarp_recv() local
555 memcpy(&sip, rarp_ptr, 4); in ic_rarp_recv()
566 if (ic_servaddr != NONE && ic_servaddr != sip) in ic_rarp_recv()
573 ic_servaddr = sip; in ic_rarp_recv()
574 ic_addrservaddr = sip; in ic_rarp_recv()
/net/netfilter/
Dnf_conntrack_sip.c1645 static struct nf_conntrack_helper sip[MAX_PORTS][4] __read_mostly; variable
1675 for (j = 0; j < ARRAY_SIZE(sip[i]); j++) { in nf_conntrack_sip_fini()
1676 if (sip[i][j].me == NULL) in nf_conntrack_sip_fini()
1678 nf_conntrack_helper_unregister(&sip[i][j]); in nf_conntrack_sip_fini()
1691 memset(&sip[i], 0, sizeof(sip[i])); in nf_conntrack_sip_init()
1693 sip[i][0].tuple.src.l3num = AF_INET; in nf_conntrack_sip_init()
1694 sip[i][0].tuple.dst.protonum = IPPROTO_UDP; in nf_conntrack_sip_init()
1695 sip[i][0].help = sip_help_udp; in nf_conntrack_sip_init()
1696 sip[i][1].tuple.src.l3num = AF_INET; in nf_conntrack_sip_init()
1697 sip[i][1].tuple.dst.protonum = IPPROTO_TCP; in nf_conntrack_sip_init()
[all …]
/net/bridge/netfilter/
Debt_among.c137 __be32 dip = 0, sip = 0; in ebt_among_mt() local
144 if (get_ip_src(skb, &sip)) in ebt_among_mt()
148 if (!ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt()
152 if (ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt()
/net/core/
Dnetpoll.c528 __be32 sip, tip; in netpoll_neigh_reply() local
577 memcpy(&sip, arp_ptr, 4); in netpoll_neigh_reply()
635 memcpy(arp_ptr, &sip, 4); in netpoll_neigh_reply()