2015-05-20 18:40:39 +02:00
|
|
|
# Kconfig - net stack configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2015-10-06 18:00:37 +02:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
2015-05-20 18:40:39 +02:00
|
|
|
#
|
2015-10-06 18:00:37 +02:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2015-05-20 18:40:39 +02:00
|
|
|
#
|
2015-10-06 18:00:37 +02:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2015-05-20 18:40:39 +02:00
|
|
|
#
|
|
|
|
|
2016-06-22 09:21:53 +02:00
|
|
|
menu "Networking"
|
2015-06-20 16:47:30 +02:00
|
|
|
|
2015-10-07 17:32:54 +02:00
|
|
|
config NET_BUF
|
|
|
|
bool "Network buffer support"
|
|
|
|
default n
|
|
|
|
help
|
2016-10-05 07:02:12 +02:00
|
|
|
This option enables support for generic network protocol
|
|
|
|
buffers.
|
2015-10-07 17:32:54 +02:00
|
|
|
|
2016-12-15 11:18:30 +01:00
|
|
|
config NET_BUF_LOG
|
|
|
|
bool "Network buffer logging"
|
2015-10-07 17:32:54 +02:00
|
|
|
depends on NET_BUF
|
2015-11-16 16:07:10 +01:00
|
|
|
select STDOUT_CONSOLE
|
2016-10-25 12:36:44 +02:00
|
|
|
select SYS_LOG
|
2015-10-07 17:32:54 +02:00
|
|
|
default n
|
|
|
|
help
|
2016-12-15 11:18:30 +01:00
|
|
|
Enable logs and checks for the generic network buffers.
|
2015-10-07 17:32:54 +02:00
|
|
|
|
2016-12-15 11:18:30 +01:00
|
|
|
config SYS_LOG_NET_BUF_LEVEL
|
|
|
|
int
|
|
|
|
prompt "Network buffer Logging level"
|
|
|
|
depends on NET_BUF_LOG
|
|
|
|
default 1
|
|
|
|
range 0 4
|
|
|
|
help
|
|
|
|
Sets log level for network buffers.
|
|
|
|
Levels are:
|
|
|
|
0 OFF, do not write
|
|
|
|
1 ERROR, only write SYS_LOG_ERR
|
|
|
|
2 WARNING, write SYS_LOG_WRN in adition to previous level
|
|
|
|
3 INFO, write SYS_LOG_INF in adition to previous levels
|
|
|
|
4 DEBUG, write SYS_LOG_DBG in adition to previous levels
|
|
|
|
|
|
|
|
config NET_BUF_SIMPLE_LOG
|
2016-10-24 12:31:20 +02:00
|
|
|
bool "Network buffer memory debugging"
|
2016-12-15 11:18:30 +01:00
|
|
|
depends on NET_BUF_LOG
|
2016-10-24 12:31:20 +02:00
|
|
|
select STDOUT_CONSOLE
|
2016-10-25 12:36:44 +02:00
|
|
|
select SYS_LOG
|
2016-10-24 12:31:20 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable extra debug logs and checks for the generic network buffers.
|
|
|
|
|
2016-06-22 09:21:53 +02:00
|
|
|
config NETWORKING
|
|
|
|
bool "Link layer and IP networking support"
|
|
|
|
select NANO_TIMEOUTS
|
|
|
|
select NANO_TIMERS
|
|
|
|
select NET_BUF
|
2016-12-12 23:01:24 +01:00
|
|
|
select RANDOM_GENERATOR
|
2016-06-22 09:21:53 +02:00
|
|
|
default n
|
|
|
|
help
|
2016-10-05 07:02:12 +02:00
|
|
|
This option enabled generic link layer and IP networking support.
|
2016-06-22 09:21:53 +02:00
|
|
|
|
|
|
|
if NETWORKING
|
|
|
|
|
2016-11-11 22:46:28 +01:00
|
|
|
source "subsys/net/ip/Kconfig"
|
2016-06-14 15:31:30 +02:00
|
|
|
|
|
|
|
endif
|
2016-06-22 09:21:53 +02:00
|
|
|
|
|
|
|
endmenu
|