XDP enabled drivers must transmit received packets back out on the same port they were received on when a program returns this action.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -449,6 +449,7 @@ enum xdp_action { · 448 unmodified lines | ||
| 449 | 449 | XDP_ABORTED = 0, |
| 450 | 450 | XDP_DROP, |
| 451 | 451 | XDP_PASS, |
| 452 | + XDP_TX, | |
| 452 | 453 | }; |
| 453 | 454 | |
| 454 | 455 | /* user accessible metadata for XDP packet hook |