Skip to content

10.04 XDP

What is XDP |525

Why XDP? |600

HELLO XDP World

A Gentle Introduction to XDP | Datadog

#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>


SEC("xdp")
int xdp_counter(struct xdp_md *ctx)
{
  void *data = (void *)(long)ctx->data;
  void *data_end = (void *)(long)ctx->data_end;
}

Layer 4 Load Balancer

GitHub - facebookincubator/katran: A high performance layer 4 load balancer

eBPF XDP: The Basics and a Quick Tutorial | Tigera

Layer 7 Load Balancers and BPF sk_lookup