From d06eab0a55ee367004676fa3ea4f6bdf79725ffa Mon Sep 17 00:00:00 2001 From: Tizian Maxime Weigt Date: Mon, 27 Oct 2025 16:02:46 +0000 Subject: [PATCH] main.c aktualisiert --- main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.c b/main.c index e1e365c..497583e 100644 --- a/main.c +++ b/main.c @@ -1,8 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Example of L3 forwarding via XDP and use of bpf FIB lookup helper. - * - * Copyright (c) 2017-18 David Ahern - */ #define KBUILD_MODNAME "xdp_l3fwd" #include #include @@ -23,7 +18,6 @@ struct bpf_map_def SEC("maps") xdp_l3fwd_ports = { .max_entries = 512, }; -/* from include/net/ip.h */ static __always_inline int ip_decrease_ttl(struct iphdr *iph) { u32 check = (__force u32)iph->check;