$ cd server
$ make
$ make run
run netcat
from another host
$ nc $(SERVER_IP) 12160
hello world
hello world
build BPF program and attach to eth0
$ sudo ip link set dev eth0 xdpgeneric obj sg.bpf.o sec xdp verbose
$ nc $(SERVER_IP) 12160
hello world
hello world
...
ping
run netcat
again, this time we specify client port
$ nc $(SERVER_IP) 12160 -p 10216
hello world
hello world
it works