1# Private config options for gPTP sample app 2 3# Copyright (c) 2018 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6# This sample application will have three network interfaces. 7# gPTP protocol will run in the non-VLAN interface and then there 8# will be two VLAN interface for other use. This is just an example 9# how to do this kind of setup. See also VLAN sample application 10# for vlan-setup-linux.sh script that can be used to setup the 11# VLAN IP addressing in Linux side (if that is desired). 12 13mainmenu "gPTP sample application" 14 15if NET_GPTP 16 17config NET_SAMPLE_IFACE2_MY_IPV6_ADDR 18 string "My IPv6 address for second interface" 19 help 20 The value depends on your network setup. 21 22config NET_SAMPLE_IFACE2_MY_IPV4_ADDR 23 string "My IPv4 address for second interface" 24 help 25 The value depends on your network setup. 26 27config NET_SAMPLE_IFACE2_VLAN_TAG 28 int "VLAN tag for second interface" 29 default 100 30 range 0 4094 31 depends on NET_VLAN 32 help 33 Set VLAN (virtual LAN) tag (id) that is used in the sample 34 application. 35 36config NET_SAMPLE_IFACE3_MY_IPV6_ADDR 37 string "My IPv6 address for third interface" 38 help 39 The value depends on your network setup. 40 41config NET_SAMPLE_IFACE3_MY_IPV4_ADDR 42 string "My IPv4 address for third interface" 43 help 44 The value depends on your network setup. 45 46config NET_SAMPLE_IFACE3_VLAN_TAG 47 int "VLAN tag for third interface" 48 default 200 49 range 0 4094 50 depends on NET_VLAN 51 help 52 Set VLAN (virtual LAN) tag (id) that is used in the sample 53 application. 54 55config NET_SAMPLE_RUN_DURATION 56 int "Run the application this many seconds" 57 default 0 58 help 59 A value of zero means that the sample application is run forever. 60 61endif 62 63 64source "Kconfig.zephyr" 65