Account
LESSON 39 OF 96

AF_PACKET, PACKET_MMAP, and AF_XDP

Exchange Feed Networking & Multicast · Advanced → Expert

Structured lesson outlineThis lesson's video and full tutorial are not yet published. The learning objectives and exercises below outline what the finished lesson will cover.

Learning objectives

Focus on the underlying model and the engineering decisions rather than memorizing a single code snippet.

  • 01

    Compare socket, mmap ring and XDP data paths

  • 02

    Understand copy and ownership boundaries

  • 03

    Choose a path by portability, complexity and latency

Hands-on exercise

Implement equivalent receivers using two Linux packet APIs.

What a good result looks like

A receiver comparison with feature, throughput and tail-latency matrix.

APPLY WHAT YOU LEARN

C++ practice problems

3 related C++ topics

In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.

Progress is saved on this device.