Skip to content

Commit 19707d2

Browse files
committed
packet: put all solutions to a separate directory
Sometimes it doesn't make sense to keep solutions from previous lessons in the next. However, we want to have all solutions published. Create a new directory, packet-solutions, which will store all the solutions from packet-* lessons. Move existing solutions from the packet03-redirecting directory to the new one. Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
1 parent 50b9bc5 commit 19707d2

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

packet-solutions/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
3+
XDP_TARGETS := xdp_prog_kern
4+
USER_TARGETS :=
5+
6+
LIBBPF_DIR = ../libbpf/src/
7+
COMMON_DIR = ../common
8+
9+
COPY_LOADER := xdp_loader
10+
EXTRA_DEPS := $(COMMON_DIR)/parsing_helpers.h
11+
12+
include $(COMMON_DIR)/common.mk

packet-solutions/README.org

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- fill-column: 76; -*-
2+
#+TITLE: Tutorial: Packet - solutions
3+
#+OPTIONS: ^:nil
4+
5+
This directory contains solutions to all the assignments in the
6+
[[file:../packet01-parsing/][packet01]],
7+
[[file:../packet02-rewriting/][packet02]], and
8+
[[file:../packet03-redirecting/][packet03]] lessons.

0 commit comments

Comments
 (0)