Skip to content

Instantly share code, notes, and snippets.

View rgo3's full-sized avatar

Robin Gögge rgo3

View GitHub Profile
@rgo3
rgo3 / GSoC.md
Last active November 12, 2022 21:30
GSoC Cilium Contributions

Google Summer of Code with Cilium

Contributions

The following is a list of Pull request that will contain the included commits that were made for my GSoC application or my GSoC project which was a feature probe API in Go for cilium/ebpf. Some of the work I have submitted here was marked optional in my original proposal so I marked them accordingly in this gist.

@rgo3
rgo3 / drop-udp.c
Created August 29, 2020 13:59
XDP code to drop udp packets on port 5001
#include <linux/bpf.h>
#include <linux/if_ether.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/udp.h>
#include <stdint.h>
#define SEC(NAME) __attribute__((section(NAME), used))