2b1b51f1d7
Packets written via SOCK_RAW are guaranteed to have network headers, but not transport headers. Check first whether there are enough bytes left in the packet to contain a transport header before attempting to parse it. PiperOrigin-RevId: 282363895 |
||
---|---|---|
.. | ||
BUILD | ||
pcap.go | ||
sniffer.go |