Home
last modified time | relevance | path

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

/linux-5.19.10/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.c30 NF_INVF(info, EBT_ARP_OPCODE, info->opcode != ah->ar_op)) in ebt_arp_mt()
33 NF_INVF(info, EBT_ARP_HTYPE, info->htype != ah->ar_hrd)) in ebt_arp_mt()
36 NF_INVF(info, EBT_ARP_PTYPE, info->ptype != ah->ar_pro)) in ebt_arp_mt()
56 NF_INVF(info, EBT_ARP_SRC_IP, in ebt_arp_mt()
60 NF_INVF(info, EBT_ARP_DST_IP, in ebt_arp_mt()
64 NF_INVF(info, EBT_ARP_GRAT, *dap != *sap)) in ebt_arp_mt()
79 if (NF_INVF(info, EBT_ARP_SRC_MAC, in ebt_arp_mt()
91 if (NF_INVF(info, EBT_ARP_DST_MAC, in ebt_arp_mt()
Debt_ip.c50 NF_INVF(info, EBT_IP_TOS, info->tos != ih->tos)) in ebt_ip_mt()
53 NF_INVF(info, EBT_IP_SOURCE, in ebt_ip_mt()
57 NF_INVF(info, EBT_IP_DEST, in ebt_ip_mt()
61 if (NF_INVF(info, EBT_IP_PROTO, info->protocol != ih->protocol)) in ebt_ip_mt()
76 if (NF_INVF(info, EBT_IP_DPORT, in ebt_ip_mt()
83 if (NF_INVF(info, EBT_IP_SPORT, in ebt_ip_mt()
89 NF_INVF(info, EBT_IP_ICMP, in ebt_ip_mt()
96 NF_INVF(info, EBT_IP_IGMP, in ebt_ip_mt()
Debt_ip6.c50 NF_INVF(info, EBT_IP6_TCLASS, in ebt_ip6_mt()
54 NF_INVF(info, EBT_IP6_SOURCE, in ebt_ip6_mt()
58 NF_INVF(info, EBT_IP6_DEST, in ebt_ip6_mt()
70 if (NF_INVF(info, EBT_IP6_PROTO, info->protocol != nexthdr)) in ebt_ip6_mt()
83 if (NF_INVF(info, EBT_IP6_DPORT, in ebt_ip6_mt()
90 if (NF_INVF(info, EBT_IP6_SPORT, in ebt_ip6_mt()
96 NF_INVF(info, EBT_IP6_ICMP6, in ebt_ip6_mt()
Debt_802_3.c30 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt()
32 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt()
39 if (NF_INVF(info, EBT_802_3_TYPE, info->type != type)) in ebt_802_3_mt()
Debtables.c144 if (NF_INVF(e, EBT_IPROTO, eth_proto_is_802_3(ethproto))) in ebt_basic_match()
147 NF_INVF(e, EBT_IPROTO, e->ethproto != ethproto)) in ebt_basic_match()
150 if (NF_INVF(e, EBT_IIN, ebt_dev_check(e->in, in))) in ebt_basic_match()
152 if (NF_INVF(e, EBT_IOUT, ebt_dev_check(e->out, out))) in ebt_basic_match()
156 NF_INVF(e, EBT_ILOGICALIN, in ebt_basic_match()
160 NF_INVF(e, EBT_ILOGICALOUT, in ebt_basic_match()
165 if (NF_INVF(e, EBT_ISOURCE, in ebt_basic_match()
171 if (NF_INVF(e, EBT_IDEST, in ebt_basic_match()
/linux-5.19.10/net/ipv4/netfilter/
Darp_tables.c93 if (NF_INVF(arpinfo, ARPT_INV_ARPOP, in arp_packet_match()
97 if (NF_INVF(arpinfo, ARPT_INV_ARPHRD, in arp_packet_match()
101 if (NF_INVF(arpinfo, ARPT_INV_ARPPRO, in arp_packet_match()
105 if (NF_INVF(arpinfo, ARPT_INV_ARPHLN, in arp_packet_match()
117 if (NF_INVF(arpinfo, ARPT_INV_SRCDEVADDR, in arp_packet_match()
120 NF_INVF(arpinfo, ARPT_INV_TGTDEVADDR, in arp_packet_match()
125 if (NF_INVF(arpinfo, ARPT_INV_SRCIP, in arp_packet_match()
127 NF_INVF(arpinfo, ARPT_INV_TGTIP, in arp_packet_match()
134 if (NF_INVF(arpinfo, ARPT_INV_VIA_IN, ret != 0)) in arp_packet_match()
139 if (NF_INVF(arpinfo, ARPT_INV_VIA_OUT, ret != 0)) in arp_packet_match()
Dip_tables.c53 if (NF_INVF(ipinfo, IPT_INV_SRCIP, in ip_packet_match()
55 NF_INVF(ipinfo, IPT_INV_DSTIP, in ip_packet_match()
61 if (NF_INVF(ipinfo, IPT_INV_VIA_IN, ret != 0)) in ip_packet_match()
66 if (NF_INVF(ipinfo, IPT_INV_VIA_OUT, ret != 0)) in ip_packet_match()
71 NF_INVF(ipinfo, IPT_INV_PROTO, ip->protocol != ipinfo->proto)) in ip_packet_match()
76 if (NF_INVF(ipinfo, IPT_INV_FRAG, in ip_packet_match()
/linux-5.19.10/net/netfilter/
Dxt_tcpudp.c104 if (!NF_INVF(tcpinfo, XT_TCP_INV_FLAGS, in tcp_mt()
/linux-5.19.10/include/linux/netfilter/
Dx_tables.h12 #define NF_INVF(ptr, flag, boolean) \ macro
/linux-5.19.10/net/ipv6/netfilter/
Dip6_tables.c59 if (NF_INVF(ip6info, IP6T_INV_SRCIP, in ip6_packet_match()
62 NF_INVF(ip6info, IP6T_INV_DSTIP, in ip6_packet_match()
69 if (NF_INVF(ip6info, IP6T_INV_VIA_IN, ret != 0)) in ip6_packet_match()
74 if (NF_INVF(ip6info, IP6T_INV_VIA_OUT, ret != 0)) in ip6_packet_match()