Home
last modified time | relevance | path

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

/net/ipv4/
Darp.c387 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument
396 sip = 0; in arp_ignore()
406 sip = 0; in arp_ignore()
420 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore()
423 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument
430 rt = ip_route_output(net, sip, tip, 0, 0); in arp_filter()
556 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument
563 if (sip == tip) in arp_fwd_pvlan()
735 __be32 sip, tip; in arp_process() local
798 memcpy(&sip, arp_ptr, 4); in arp_process()
[all …]
Dipconfig.c500 __be32 sip, tip; in ic_rarp_recv() local
554 memcpy(&sip, rarp_ptr, 4); in ic_rarp_recv()
565 if (ic_servaddr != NONE && ic_servaddr != sip) in ic_rarp_recv()
572 ic_servaddr = sip; in ic_rarp_recv()
573 ic_addrservaddr = sip; in ic_rarp_recv()
/net/netfilter/
Dnf_conntrack_sip.c1593 static struct nf_conntrack_helper sip[MAX_PORTS][4] __read_mostly; variable
1623 for (j = 0; j < ARRAY_SIZE(sip[i]); j++) { in nf_conntrack_sip_fini()
1624 if (sip[i][j].me == NULL) in nf_conntrack_sip_fini()
1626 nf_conntrack_helper_unregister(&sip[i][j]); in nf_conntrack_sip_fini()
1639 memset(&sip[i], 0, sizeof(sip[i])); in nf_conntrack_sip_init()
1641 sip[i][0].tuple.src.l3num = AF_INET; in nf_conntrack_sip_init()
1642 sip[i][0].tuple.dst.protonum = IPPROTO_UDP; in nf_conntrack_sip_init()
1643 sip[i][0].help = sip_help_udp; in nf_conntrack_sip_init()
1644 sip[i][1].tuple.src.l3num = AF_INET; in nf_conntrack_sip_init()
1645 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()