Home
last modified time | relevance | path

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

/Linux-v4.19/net/bridge/netfilter/
Debt_stp.c52 NF_INVF(info, EBT_STP_FLAGS, c->flags != stpc->flags)) in ebt_filter_config()
56 if (NF_INVF(info, EBT_STP_ROOTPRIO, in ebt_filter_config()
61 if (NF_INVF(info, EBT_STP_ROOTADDR, in ebt_filter_config()
69 if (NF_INVF(info, EBT_STP_ROOTCOST, in ebt_filter_config()
75 if (NF_INVF(info, EBT_STP_SENDERPRIO, in ebt_filter_config()
80 if (NF_INVF(info, EBT_STP_SENDERADDR, in ebt_filter_config()
88 if (NF_INVF(info, EBT_STP_PORT, in ebt_filter_config()
94 if (NF_INVF(info, EBT_STP_MSGAGE, in ebt_filter_config()
100 if (NF_INVF(info, EBT_STP_MAXAGE, in ebt_filter_config()
106 if (NF_INVF(info, EBT_STP_HELLOTIME, in ebt_filter_config()
[all …]
Debt_arp.c29 NF_INVF(info, EBT_ARP_OPCODE, info->opcode != ah->ar_op)) in ebt_arp_mt()
32 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
35 NF_INVF(info, EBT_ARP_PTYPE, info->ptype != ah->ar_pro)) in ebt_arp_mt()
55 NF_INVF(info, EBT_ARP_SRC_IP, in ebt_arp_mt()
59 NF_INVF(info, EBT_ARP_DST_IP, in ebt_arp_mt()
63 NF_INVF(info, EBT_ARP_GRAT, *dap != *sap)) in ebt_arp_mt()
78 if (NF_INVF(info, EBT_ARP_SRC_MAC, in ebt_arp_mt()
90 if (NF_INVF(info, EBT_ARP_DST_MAC, in ebt_arp_mt()
Debt_ip.c49 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt()
52 NF_INVF(info, EBT_IP_SOURCE, in ebt_ip_mt()
56 NF_INVF(info, EBT_IP_DEST, in ebt_ip_mt()
60 if (NF_INVF(info, EBT_IP_PROTO, info->protocol != ih->protocol)) in ebt_ip_mt()
75 if (NF_INVF(info, EBT_IP_DPORT, in ebt_ip_mt()
82 if (NF_INVF(info, EBT_IP_SPORT, in ebt_ip_mt()
88 NF_INVF(info, EBT_IP_ICMP, in ebt_ip_mt()
95 NF_INVF(info, EBT_IP_IGMP, in ebt_ip_mt()
Debt_ip6.c49 NF_INVF(info, EBT_IP6_TCLASS, in ebt_ip6_mt()
53 NF_INVF(info, EBT_IP6_SOURCE, in ebt_ip6_mt()
57 NF_INVF(info, EBT_IP6_DEST, in ebt_ip6_mt()
69 if (NF_INVF(info, EBT_IP6_PROTO, info->protocol != nexthdr)) in ebt_ip6_mt()
82 if (NF_INVF(info, EBT_IP6_DPORT, in ebt_ip6_mt()
89 if (NF_INVF(info, EBT_IP6_SPORT, in ebt_ip6_mt()
95 NF_INVF(info, EBT_IP6_ICMP6, in ebt_ip6_mt()
Debt_802_3.c23 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt()
25 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt()
32 if (NF_INVF(info, EBT_802_3_TYPE, info->type != type)) in ebt_802_3_mt()
Debtables.c139 if (NF_INVF(e, EBT_IPROTO, eth_proto_is_802_3(ethproto))) in ebt_basic_match()
142 NF_INVF(e, EBT_IPROTO, e->ethproto != ethproto)) in ebt_basic_match()
145 if (NF_INVF(e, EBT_IIN, ebt_dev_check(e->in, in))) in ebt_basic_match()
147 if (NF_INVF(e, EBT_IOUT, ebt_dev_check(e->out, out))) in ebt_basic_match()
151 NF_INVF(e, EBT_ILOGICALIN, in ebt_basic_match()
155 NF_INVF(e, EBT_ILOGICALOUT, in ebt_basic_match()
160 if (NF_INVF(e, EBT_ISOURCE, in ebt_basic_match()
166 if (NF_INVF(e, EBT_IDEST, in ebt_basic_match()
/Linux-v4.19/net/ipv4/netfilter/
Darp_tables.c92 if (NF_INVF(arpinfo, ARPT_INV_ARPOP, in arp_packet_match()
96 if (NF_INVF(arpinfo, ARPT_INV_ARPHRD, in arp_packet_match()
100 if (NF_INVF(arpinfo, ARPT_INV_ARPPRO, in arp_packet_match()
104 if (NF_INVF(arpinfo, ARPT_INV_ARPHLN, in arp_packet_match()
116 if (NF_INVF(arpinfo, ARPT_INV_SRCDEVADDR, in arp_packet_match()
119 NF_INVF(arpinfo, ARPT_INV_TGTDEVADDR, in arp_packet_match()
124 if (NF_INVF(arpinfo, ARPT_INV_SRCIP, in arp_packet_match()
126 NF_INVF(arpinfo, ARPT_INV_TGTIP, in arp_packet_match()
133 if (NF_INVF(arpinfo, ARPT_INV_VIA_IN, ret != 0)) in arp_packet_match()
138 if (NF_INVF(arpinfo, ARPT_INV_VIA_OUT, ret != 0)) in arp_packet_match()
Dip_tables.c56 if (NF_INVF(ipinfo, IPT_INV_SRCIP, in ip_packet_match()
58 NF_INVF(ipinfo, IPT_INV_DSTIP, in ip_packet_match()
64 if (NF_INVF(ipinfo, IPT_INV_VIA_IN, ret != 0)) in ip_packet_match()
69 if (NF_INVF(ipinfo, IPT_INV_VIA_OUT, ret != 0)) in ip_packet_match()
74 NF_INVF(ipinfo, IPT_INV_PROTO, ip->protocol != ipinfo->proto)) in ip_packet_match()
79 if (NF_INVF(ipinfo, IPT_INV_FRAG, in ip_packet_match()
/Linux-v4.19/net/netfilter/
Dxt_tcpudp.c103 if (!NF_INVF(tcpinfo, XT_TCP_INV_FLAGS, in tcp_mt()
/Linux-v4.19/include/linux/netfilter/
Dx_tables.h12 #define NF_INVF(ptr, flag, boolean) \ macro
/Linux-v4.19/net/ipv6/netfilter/
Dip6_tables.c62 if (NF_INVF(ip6info, IP6T_INV_SRCIP, in ip6_packet_match()
65 NF_INVF(ip6info, IP6T_INV_DSTIP, in ip6_packet_match()
72 if (NF_INVF(ip6info, IP6T_INV_VIA_IN, ret != 0)) in ip6_packet_match()
77 if (NF_INVF(ip6info, IP6T_INV_VIA_OUT, ret != 0)) in ip6_packet_match()