1# Packet filtering config 2# Copyright (c) 2021 BayLibre SAS 3# SPDX-License-Identifier: Apache-2.0 4 5menu "Network Packet Filtering" 6 7config NET_PKT_FILTER 8 bool "Network packet filtering" 9 help 10 The Network Packet Filtering facility provides the infrastructure 11 to construct custom rules for accepting and/or denying packet 12 transmission and reception. 13 14if NET_PKT_FILTER 15 16config NET_PKT_FILTER_IPV4_HOOK 17 bool "Additional network packet filtering hook inside IPv4 stack" 18 depends on NET_IPV4 19 help 20 This additional hook provides infrastructure to construct custom 21 rules on the IP packet. 22 23config NET_PKT_FILTER_IPV6_HOOK 24 bool "Additional network packet filtering hook inside IPv6 stack" 25 depends on NET_IPV6 26 help 27 This additional hook provides infrastructure to construct custom 28 rules on the IP packet. 29 30config NET_PKT_FILTER_LOCAL_IN_HOOK 31 bool "Additional network packet filtering hook for connection input" 32 depends on NET_IP 33 help 34 This additional hook provides infrastructure to construct custom 35 rules for e.g. TCP/UDP packets. 36 37module = NET_PKT_FILTER 38module-dep = NET_LOG 39module-str = Log level for packet filtering 40module-help = Enables packet filter output debug messages 41source "subsys/net/Kconfig.template.log_config.net" 42endif # NET_PKT_FILTER 43 44endmenu 45