Search K
Appearance
Appearance
网络支持的组件名称为 networking_support, 相关内核选项为
# Networking support
CONFIG_NET=y
# Networking support
# -> Networking options
# -> TCP/IP networking
CONFIG_INET=y
# Networking support
# -> Networking options
# -> TCP/IP networking
# -> The IPv6 protocol
CONFIG_IPV6=y
# Networking support
# -> Networking options
# -> QoS and/or fair queueing
CONFIG_NET_SCHED=y检查工具为
#!/bin/bash
source ./kernel_config_utils.sh
source ./net_utils.sh
networking_support_check() {
is_error=false
if ! kernel_config_check CONFIG_NET; then
is_error=true
fi
if ! kernel_config_check CONFIG_INET; then
is_error=true
fi
if ! kernel_config_check CONFIG_IPV6; then
is_error=true
fi
if ! kernel_config_check CONFIG_NET_SCHED; then
is_error=true
fi
if [ "$is_error" == "true" ]; then
return 1
fi
return 0
}TLS 协议的组件名称为 tls, 相关内核选项为
# Networking support
# -> Networking options
# -> Transport Layer Security support
CONFIG_TLS=y检查工具为
#!/bin/bash
source ./kernel_config_utils.sh
source ./net_utils.sh
tls_check() {
if ! kernel_config_check CONFIG_TLS tls; then
return 1
fi
}