History

bpf: add XDP_TX xdp_action for direct forwarding

XDP enabled drivers must transmit received packets back out on the same port they were received on when a program returns this action.

Brenden Blanco committed 10 years ago

Commit 6ce96ca1 parent d576acf1 file · +1 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/bpf.h+1−0
@@ -449,6 +449,7 @@ enum xdp_action { · 448 unmodified lines
449 XDP_ABORTED = 0,449 XDP_ABORTED = 0,
450 XDP_DROP,450 XDP_DROP,
451 XDP_PASS,451 XDP_PASS,
452 XDP_TX,
452};453};
453 454
454/* user accessible metadata for XDP packet hook455/* user accessible metadata for XDP packet hook

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t