* only define packetInfo.ifIndex on platforms where it's actually used
* fix comment and stylecheck for IP_DONTFRAGMENT on Windows
* fix build flags on test file
* ci: run golangci-lint on multiple platforms
This function is the equivalent to the function used to set the UDP
receive buffer size. It's so similar that code generation is used to
make a copy of the setReceiveBuffer function.