File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,11 +194,11 @@ $ t exec -n left -- ./xdp_loader -d veth0 -F --progsec xdp_pass
194194$ t exec -n right -- ./xdp_loader -d veth0 -F --progsec xdp_pass
195195#+end_src
196196Configure parameters for both interfaces using the new =xdp_prog_user= helper.
197- For simplicity there is a new special helper, =t set_redirect_map =, which will
197+ For simplicity there is a new special helper, =t redirect =, which will
198198do the work for you. See its implementation to see how it obtains inner MAC
199199addresses by interface names.
200200#+begin_src sh
201- $ t set_redirect_map right left
201+ $ t redirect right left
202202#+end_src
203203Pings between the two inner interfaces should pass now. Check that they are
204204actually forwarded by our programs by running =xdp_stats= on both interfaces:
You can’t perform that action at this time.
0 commit comments