summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/sniffer/pcap.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-07-12 19:28:14 +0000
committergVisor bot <gvisor-bot@google.com>2021-07-12 19:28:14 +0000
commit423cb2c9120c571166b37b3e058eea7d76ffccf6 (patch)
treee143e2815d1b8ea2d644cd5b195dfbcedfa8e5e1 /pkg/tcpip/link/sniffer/pcap.go
parent35e8355f80c9f91c65fb3d0b5e2f7617fbd5f2de (diff)
parent4742f7d788e784aa2d86f81aecaef2039caad01c (diff)
Merge release-20210705.0-8-g4742f7d78 (automated)
Diffstat (limited to 'pkg/tcpip/link/sniffer/pcap.go')
-rw-r--r--pkg/tcpip/link/sniffer/pcap.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/tcpip/link/sniffer/pcap.go b/pkg/tcpip/link/sniffer/pcap.go
index 45475dcf1..3bb864ed2 100644
--- a/pkg/tcpip/link/sniffer/pcap.go
+++ b/pkg/tcpip/link/sniffer/pcap.go
@@ -39,8 +39,6 @@ type pcapHeader struct {
Network uint32
}
-const pcapPacketHeaderLen = 16
-
type pcapPacketHeader struct {
// Seconds is the timestamp seconds.
Seconds uint32