A cross-platform library for writing packets at the IP layer/layer 3.
Why?
I wanted to use Go to send packets with forged source IP addresses and
historically to do this I used the google/gopacket library which necessiated
using CGO due to the dependency on the libpcap
library.
Also, I wanted the ability to send packets to the local system without
relying on the loopback interface- something that is not possible with
injecting frames at Layer 2 via libpcap.