---
title: "The Linux packet pipeline"
---

> Documentation Index
> Fetch the complete documentation index at: https://example.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Linux packet pipeline

A packet enters the NIC via DMA into a ring buffer, triggers a `NET_RX` softirq, gets wrapped in a kernel [sk_buff](https://example.com/ebpf-field-guide/glossary/#sk_buff) descriptor, traverses Traffic Control (TC) and IP routing, and lands in a socket queue.

eBPF lets you attach at *three* altitudes along that climb: XDP at the driver, TC right after `sk_buff`, and socket/cgroup hooks right beside the app.

Source: https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/pipeline/index.mdx
