blob: f52c847a5bc3b5742e568f7b395cb72d6d9f4e68 [file]
# Kconfig.samples - Options for sample applications
#
# Copyright (c) 2016 Intel Corporation.
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#
menuconfig NET_SAMPLES_IP_ADDRESSES
bool "Set IP addresses for sample applications"
default n
select MINIMAL_LIBC_EXTENDED
help
Allow IP addresses to be set in config file for
networking client/server sample applications.
if NET_SAMPLES_IP_ADDRESSES
if NET_IPV6
config NET_SAMPLES_MY_IPV6_ADDR
string "My IPv6 address"
help
Use 2001:db8::1 here if uncertain.
config NET_SAMPLES_PEER_IPV6_ADDR
string "Peer IPv6 address"
help
This is only applicable in client side applications that try
to establish a connection to peer host.
Use 2001:db8::2 here if uncertain.
endif # NET_IPV6
if NET_IPV4
config NET_SAMPLES_MY_IPV4_ADDR
string "My IPv4 address"
help
Use 192.0.2.1 here if uncertain.
config NET_SAMPLES_PEER_IPV4_ADDR
string "Peer IPv4 address"
help
This is only applicable in client side applications that try
to establish a connection to peer host.
Use 192.0.2.2 here if uncertain.
endif # NET_IPV4
endif # NET_SAMPLES_IP_ADDRESSES