sudo -s
export BPF_CLANG=clang
go build
ip link
is a command in Linux used to display and manage network interfaces.
When used without any arguments, the ip link
command displays a list of available network interfaces on the system along with their status, state, and hardware addresses
Here is an example output of the ip link
command:
In this example, lo
and wlp0s20f3
are the network interfaces on the system.
Run the following command, note the network interface in your system
ip link
Execute the program
./xdp wlp0s20f3
Expected Output: