Lines Matching full:program
19 execute a BPF program in the kernel and return the results to userspace. This
44 object and (for program types operating on network packets) a buffer containing
45 the packet data that the BPF program will operate on. The kernel will then
46 execute the program and return the results to userspace. Note that programs will
48 will not actually be redirected or dropped, the program return code will just be
57 be processed by the kernel after the execution of the XDP program as if they
59 ``BPF_F_TEST_XDP_LIVE_FRAMES`` flag when supplying an XDP program to
63 XDP program many times (suitable for, e.g., running as a traffic generator),
67 - When executing an XDP program in live frame mode, the result of the execution
69 operation indicated by the program's return code (drop the packet, redirect
80 the regular (non-live) mode. The XDP program will be executed as though the
82 object will point to that interface. Furthermore, if the XDP program returns
86 because the program execution is not happening in driver context, an
91 - When running the program with multiple repetitions, the execution will happen
95 the kernel executes the XDP program repeatedly, each invocation getting a
96 separate copy of the packet data. For each repetition, if the program drops
104 invocation. When possible, the pages will be recycled on future program
109 (because the XDP program returns ``XDP_PASS``, or because it ends up being
115 be reset to the original values. This means that if a program rewrites the