Skip to content

Instantly share code, notes, and snippets.

View qdeslandes's full-sized avatar
🏠
Working from home

Quentin Deslandes qdeslandes

🏠
Working from home
View GitHub Profile
@qdeslandes
qdeslandes / ipv6_eh_processing.patch
Created June 23, 2025 16:23
tests: benchmarks: benchmark IPv6 EH processing
From a6bd49c7b066f9ffe5d1e80348ed4e4131c8906d Mon Sep 17 00:00:00 2001
From: Quentin Deslandes <qde@naccy.de>
Date: Mon, 23 Jun 2025 18:22:36 +0200
Subject: [PATCH] tests: benchmarks: benchmark IPv6 EH processing
---
tools/benchmarks/benchmark.cpp | 11 +++++++++++
tools/benchmarks/benchmark.hpp | 18 ++++++++++++++++++
tools/benchmarks/main.cpp | 17 +++++++++++++++++
3 files changed, 46 insertions(+)
@qdeslandes
qdeslandes / gen_large_ruleset.py
Created May 9, 2025 22:01
Generate a ruleset for bpfilter with a large set of IPv4
#!/usr/bin/env python3
import argparse
parser = argparse.ArgumentParser()
parser.add_argument(
"--output",
"-o",
help="File to output the ruleset to",
type=str,