Searched refs:FWINV (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/net/bridge/netfilter/ |
D | ebt_stp.c | 53 FWINV(c->flags != stpc->flags, EBT_STP_FLAGS)) in ebt_filter_config() 57 if (FWINV(v16 < c->root_priol || in ebt_filter_config() 66 if (FWINV(verdict != 0, EBT_STP_ROOTADDR)) in ebt_filter_config() 71 if (FWINV(v32 < c->root_costl || in ebt_filter_config() 77 if (FWINV(v16 < c->sender_priol || in ebt_filter_config() 86 if (FWINV(verdict != 0, EBT_STP_SENDERADDR)) in ebt_filter_config() 91 if (FWINV(v16 < c->portl || in ebt_filter_config() 97 if (FWINV(v16 < c->msg_agel || in ebt_filter_config() 103 if (FWINV(v16 < c->max_agel || in ebt_filter_config() 109 if (FWINV(v16 < c->hello_timel || in ebt_filter_config() [all …]
|
D | ebt_arp.c | 28 if (info->bitmask & EBT_ARP_OPCODE && FWINV(info->opcode != in ebt_arp_mt() 31 if (info->bitmask & EBT_ARP_HTYPE && FWINV(info->htype != in ebt_arp_mt() 34 if (info->bitmask & EBT_ARP_PTYPE && FWINV(info->ptype != in ebt_arp_mt() 55 FWINV(info->saddr != (*sap & info->smsk), EBT_ARP_SRC_IP)) in ebt_arp_mt() 58 FWINV(info->daddr != (*dap & info->dmsk), EBT_ARP_DST_IP)) in ebt_arp_mt() 61 FWINV(*dap != *sap, EBT_ARP_GRAT)) in ebt_arp_mt() 81 if (FWINV(verdict != 0, EBT_ARP_SRC_MAC)) in ebt_arp_mt() 95 if (FWINV(verdict != 0, EBT_ARP_DST_MAC)) in ebt_arp_mt()
|
D | ebt_ip6.c | 49 FWINV(info->tclass != ipv6_get_dsfield(ih6), EBT_IP6_TCLASS)) in ebt_ip6_mt() 51 if (FWINV(ipv6_masked_addr_cmp(&ih6->saddr, &info->smsk, in ebt_ip6_mt() 53 FWINV(ipv6_masked_addr_cmp(&ih6->daddr, &info->dmsk, in ebt_ip6_mt() 64 if (FWINV(info->protocol != nexthdr, EBT_IP6_PROTO)) in ebt_ip6_mt() 77 if (FWINV(dst < info->dport[0] || in ebt_ip6_mt() 83 if (FWINV(src < info->sport[0] || in ebt_ip6_mt() 88 FWINV(pptr->icmphdr.type < info->icmpv6_type[0] || in ebt_ip6_mt()
|
D | ebt_ip.c | 40 FWINV(info->tos != ih->tos, EBT_IP_TOS)) in ebt_ip_mt() 43 FWINV((ih->saddr & info->smsk) != in ebt_ip_mt() 47 FWINV((ih->daddr & info->dmsk) != in ebt_ip_mt() 51 if (FWINV(info->protocol != ih->protocol, EBT_IP_PROTO)) in ebt_ip_mt() 64 if (FWINV(dst < info->dport[0] || in ebt_ip_mt() 71 if (FWINV(src < info->sport[0] || in ebt_ip_mt()
|
D | ebt_802_3.c | 23 if (FWINV(info->sap != hdr->llc.ui.ssap, EBT_802_3_SAP)) in ebt_802_3_mt() 25 if (FWINV(info->sap != hdr->llc.ui.dsap, EBT_802_3_SAP)) in ebt_802_3_mt() 32 if (FWINV(info->type != type, EBT_802_3_TYPE)) in ebt_802_3_mt()
|
/linux-3.4.99/net/ipv4/netfilter/ |
D | arp_tables.c | 112 #define FWINV(bool, invflg) ((bool) ^ !!(arpinfo->invflags & (invflg))) in arp_packet_match() macro 114 if (FWINV((arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop, in arp_packet_match() 122 if (FWINV((arphdr->ar_hrd & arpinfo->arhrd_mask) != arpinfo->arhrd, in arp_packet_match() 130 if (FWINV((arphdr->ar_pro & arpinfo->arpro_mask) != arpinfo->arpro, in arp_packet_match() 138 if (FWINV((arphdr->ar_hln & arpinfo->arhln_mask) != arpinfo->arhln, in arp_packet_match() 154 if (FWINV(arp_devaddr_compare(&arpinfo->src_devaddr, src_devaddr, dev->addr_len), in arp_packet_match() 156 FWINV(arp_devaddr_compare(&arpinfo->tgt_devaddr, tgt_devaddr, dev->addr_len), in arp_packet_match() 163 if (FWINV((src_ipaddr & arpinfo->smsk.s_addr) != arpinfo->src.s_addr, in arp_packet_match() 165 FWINV(((tgt_ipaddr & arpinfo->tmsk.s_addr) != arpinfo->tgt.s_addr), in arp_packet_match() 185 if (FWINV(ret != 0, ARPT_INV_VIA_IN)) { in arp_packet_match() [all …]
|
D | ip_tables.c | 82 #define FWINV(bool, invflg) ((bool) ^ !!(ipinfo->invflags & (invflg))) in ip_packet_match() macro 84 if (FWINV((ip->saddr&ipinfo->smsk.s_addr) != ipinfo->src.s_addr, in ip_packet_match() 86 FWINV((ip->daddr&ipinfo->dmsk.s_addr) != ipinfo->dst.s_addr, in ip_packet_match() 101 if (FWINV(ret != 0, IPT_INV_VIA_IN)) { in ip_packet_match() 110 if (FWINV(ret != 0, IPT_INV_VIA_OUT)) { in ip_packet_match() 119 FWINV(ip->protocol != ipinfo->proto, IPT_INV_PROTO)) { in ip_packet_match() 128 if (FWINV((ipinfo->flags&IPT_F_FRAG) && !isfrag, IPT_INV_FRAG)) { in ip_packet_match() 176 #undef FWINV in unconditional()
|
/linux-3.4.99/include/linux/netfilter_bridge/ |
D | ebtables.h | 298 #define FWINV(bool,invflg) ((bool) ^ !!(info->invflags & invflg)) macro
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | ip6_tables.c | 94 #define FWINV(bool, invflg) ((bool) ^ !!(ip6info->invflags & (invflg))) in ip6_packet_match() macro 96 if (FWINV(ipv6_masked_addr_cmp(&ipv6->saddr, &ip6info->smsk, in ip6_packet_match() 98 FWINV(ipv6_masked_addr_cmp(&ipv6->daddr, &ip6info->dmsk, in ip6_packet_match() 113 if (FWINV(ret != 0, IP6T_INV_VIA_IN)) { in ip6_packet_match() 122 if (FWINV(ret != 0, IP6T_INV_VIA_OUT)) { in ip6_packet_match()
|