Package xdp allows one to use XDP sockets from the Go programming language.
Extend the dumpframes example, demonstrating how bpf2go
can be used to embed a different BPF program into the application instead of the built-in one.
Allow to configure Socket options, such as the sizes of the ring queues, using the SocketOptions struct. From @crandles.