| /* |
| * 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. |
| */ |
| |
| #ifndef _TCP_CONFIG_H_ |
| #define _TCP_CONFIG_H_ |
| |
| #include <net/net_ip.h> |
| |
| #define NETMASK0 255 |
| #define NETMASK1 255 |
| #define NETMASK2 255 |
| #define NETMASK3 0 |
| |
| #define CLIENT_IPADDR0 192 |
| #define CLIENT_IPADDR1 168 |
| #define CLIENT_IPADDR2 1 |
| #define CLIENT_IPADDR3 100 |
| |
| #define SERVER_IPADDR0 192 |
| #define SERVER_IPADDR1 168 |
| #define SERVER_IPADDR2 1 |
| #define SERVER_IPADDR3 10 |
| |
| #define SERVER_PORT 5353 |
| #define CLIENT_PORT 0 |
| |
| #define TCP_RX_TIMEOUT 50 |
| #define TCP_RETRY_TIMEOUT 50 |
| |
| #define APP_SLEEP_TICKS 10 |
| #define APP_PROTOCOL IPPROTO_UDP |
| |
| #endif |