| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Minimal BPF debugger |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 12 | 13 | * for making a verdict when multiple simple BPF programs are combined |
|---|
| 13 | 14 | * into one in order to prevent parsing same headers multiple times. |
|---|
| 14 | 15 | * |
|---|
| 15 | | - * More on how to debug BPF opcodes see Documentation/networking/filter.txt |
|---|
| 16 | + * More on how to debug BPF opcodes see Documentation/networking/filter.rst |
|---|
| 16 | 17 | * which is the main document on BPF. Mini howto for getting started: |
|---|
| 17 | 18 | * |
|---|
| 18 | 19 | * 1) `./bpf_dbg` to enter the shell (shell cmds denoted with '>'): |
|---|
| .. | .. |
|---|
| 28 | 29 | * 7) > step [-<n>, +<n>] (performs single stepping through the BPF) |
|---|
| 29 | 30 | * |
|---|
| 30 | 31 | * Copyright 2013 Daniel Borkmann <borkmann@redhat.com> |
|---|
| 31 | | - * Licensed under the GNU General Public License, version 2.0 (GPLv2) |
|---|
| 32 | 32 | */ |
|---|
| 33 | 33 | |
|---|
| 34 | 34 | #include <stdio.h> |
|---|