e1babe0c0a
This adds a test for the new ipv4_fragment feature. This test suite checks TCP and UDP messages are correctly fragmented and reassembled, checks that an ICMP error is sent if not all fragments were received and checks that packets with the do not fragment bit are not fragmented. Signed-off-by: Jamie McCrae <spam@helper3000.net>
17 lines
342 B
CMake
17 lines
342 B
CMake
#
|
|
# Copyright (c) 2022 Jamie McCrae
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(ipv4_fragment)
|
|
|
|
FILE(GLOB app_sources
|
|
src/*.c
|
|
)
|
|
|
|
target_sources(app PRIVATE ${app_sources})
|
|
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/net/ip)
|