Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/netfilter/
H A Darp_tables.c93 if (NF_INVF(arpinfo, ARPT_INV_ARPOP, in arp_packet_match()
94 (arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop)) in arp_packet_match()
98 (arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd)) in arp_packet_match()
102 (arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro)) in arp_packet_match()
106 (arphdr->ar_hln & arpinfo->arhln_mask) != arpinfo->arhln)) in arp_packet_match()
125 if (NF_INVF(arpinfo, ARPT_INV_SRCIP, in arp_packet_match()
126 (src_ipaddr & arpinfo->smsk.s_addr) != arpinfo->src.s_addr) || in arp_packet_match()
127 NF_INVF(arpinfo, ARPT_INV_TGTIP, in arp_packet_match()
128 (tgt_ipaddr & arpinfo->tmsk.s_addr) != arpinfo->tgt.s_addr)) in arp_packet_match()
132 ret = ifname_compare(indev, arpinfo->iniface, arpinfo->iniface_mask); in arp_packet_match()
[all …]