BENCH Fix stupid error introduced in last commit.
BENCH Fix stupid error introduced in last commit.

----------------------------------------------------------
BENCHMARK_MARKER_DO_NOT_CHANGE
----------------------------------------------------------

TEST BENCHMARKS
testing: warning: no tests to run
PASS
BenchmarkTypeAssertion	500000000	         3.45 ns/op
BenchmarkMapLookup	50000000	        43.2 ns/op
BenchmarkNilMapLookup	500000000	         8.16 ns/op
BenchmarkNilMapLookupWithNilCheck	2000000000	         0.80 ns/op
BenchmarkArrayLookup	2000000000	         0.53 ns/op
BenchmarkTypeToInterface1	2000000000	         0.80 ns/op
BenchmarkTypeToInterface2	2000000000	         0.53 ns/op
BenchmarkCheckEthernetPrefix	50000000	        35.2 ns/op
ok  	github.com/gconnell/gopacket	16.588s
PASS
BenchmarkLayerClassSliceContains	2000000000	         1.33 ns/op
BenchmarkLayerClassMapContains	50000000	        44.9 ns/op
BenchmarkLazyNoCopyEthLayer	 5000000	       575 ns/op
BenchmarkLazyNoCopyIPLayer	 2000000	       992 ns/op
BenchmarkLazyNoCopyTCPLayer	 1000000	      1632 ns/op
BenchmarkLazyNoCopyAllLayers	 1000000	      1859 ns/op
BenchmarkDefault	 1000000	      1755 ns/op
BenchmarkLazy	 5000000	       603 ns/op
BenchmarkNoCopy	 1000000	      1395 ns/op
BenchmarkLazyNoCopy	10000000	       261 ns/op
BenchmarkAlloc	10000000	       178 ns/op
BenchmarkFlow	10000000	       202 ns/op
BenchmarkEndpoints	100000000	        28.1 ns/op
BenchmarkTCPLayerFromDecodedPacket	100000000	        11.6 ns/op
BenchmarkTCPLayerClassFromDecodedPacket	50000000	        71.5 ns/op
BenchmarkTCPTransportLayerFromDecodedPacket	1000000000	         2.81 ns/op
BenchmarkDecodePacketIPSecESP	 2000000	       937 ns/op
ok  	github.com/gconnell/gopacket/layers	42.619s
?   	github.com/gconnell/gopacket/pcap	[no test files]
?   	github.com/gconnell/gopacket/pfring	[no test files]

PCAP BENCHMARK
Reading file once through to hopefully cache most of it
Read in file /tmp/gopacket_benchmark.pcap , total of 341401548 bytes
Opening file "/tmp/gopacket_benchmark.pcap" for read
Reading all packets into memory with BufferPacketSource.
Reading packet data into memory: 1237119 packets in 1.057146285s, 854ns per packet
Time to read packet data into memory from file: 1.057177534s
Benchmarking decode 1/10
	Read in 1237119 packets in 2.34885524s, 1.898us per packet
Benchmarking decode 2/10
	Read in 1237119 packets in 2.294297827s, 1.854us per packet
Benchmarking decode 3/10
	Read in 1237119 packets in 2.319307086s, 1.874us per packet
Benchmarking decode 4/10
	Read in 1237119 packets in 2.345578952s, 1.896us per packet
Benchmarking decode 5/10
	Read in 1237119 packets in 2.514293917s, 2.032us per packet
Benchmarking decode 6/10
	Read in 1237119 packets in 2.357871329s, 1.905us per packet
Benchmarking decode 7/10
	Read in 1237119 packets in 2.35695152s, 1.905us per packet
Benchmarking decode 8/10
	Read in 1237119 packets in 2.35774901s, 1.905us per packet
Benchmarking decode 9/10
	Read in 1237119 packets in 2.361192951s, 1.908us per packet
Benchmarking decode 10/10
	Read in 1237119 packets in 2.356587929s, 1.904us per packet
----------------------------------------------------------
BENCHMARKING AGAINST COMMIT 898692a5f5462d89e3da2c9b6a0dc0468196db21
----------------------------------------------------------

OLD TEST BENCHMARKS
testing: warning: no tests to run
PASS
BenchmarkTypeAssertion	500000000	         3.45 ns/op
BenchmarkMapLookup	50000000	        43.2 ns/op
BenchmarkNilMapLookup	500000000	         7.48 ns/op
BenchmarkNilMapLookupWithNilCheck	2000000000	         0.80 ns/op
BenchmarkArrayLookup	2000000000	         0.53 ns/op
BenchmarkTypeToInterface1	2000000000	         0.80 ns/op
BenchmarkTypeToInterface2	2000000000	         0.53 ns/op
BenchmarkCheckEthernetPrefix	50000000	        35.3 ns/op
ok  	github.com/gconnell/gopacket	16.231s
PASS
BenchmarkLayerClassSliceContains	2000000000	         1.57 ns/op
BenchmarkLayerClassMapContains	50000000	        50.9 ns/op
BenchmarkLazyNoCopyEthLayer	 1000000	      1968 ns/op
BenchmarkLazyNoCopyIPLayer	 1000000	      1974 ns/op
BenchmarkLazyNoCopyTCPLayer	 1000000	      1980 ns/op
BenchmarkLazyNoCopyAllLayers	 1000000	      1970 ns/op
BenchmarkDefault	 1000000	      2069 ns/op
BenchmarkLazy	 1000000	      2379 ns/op
BenchmarkNoCopy	 1000000	      1647 ns/op
BenchmarkLazyNoCopy	 1000000	      1959 ns/op
BenchmarkAlloc	10000000	       212 ns/op
BenchmarkFlow	10000000	       238 ns/op
BenchmarkEndpoints	50000000	        33.2 ns/op
BenchmarkTCPLayerFromDecodedPacket	100000000	        13.7 ns/op
BenchmarkTCPLayerClassFromDecodedPacket	20000000	        85.5 ns/op
BenchmarkTCPTransportLayerFromDecodedPacket	500000000	         3.37 ns/op
BenchmarkDecodePacketIPSecESP	 1000000	      1106 ns/op
ok  	github.com/gconnell/gopacket/layers	35.062s
?   	github.com/gconnell/gopacket/pcap	[no test files]
?   	github.com/gconnell/gopacket/pfring	[no test files]

OLD PCAP BENCHMARK
Reading file once through to hopefully cache most of it
Read in file /tmp/gopacket_benchmark.pcap , total of 341401548 bytes
Opening file "/tmp/gopacket_benchmark.pcap" for read
Reading all packets into memory with BufferPacketSource.
Reading packet data into memory: 1237119 packets in 1.056825534s, 854ns per packet
Time to read packet data into memory from file: 1.056857812s
Benchmarking decode 1/10
	Read in 1237119 packets in 1.87310214s, 1.514us per packet
Benchmarking decode 2/10
	Read in 1237119 packets in 1.796077742s, 1.451us per packet
Benchmarking decode 3/10
	Read in 1237119 packets in 1.836033543s, 1.484us per packet
Benchmarking decode 4/10
	Read in 1237119 packets in 1.856084407s, 1.5us per packet
Benchmarking decode 5/10
	Read in 1237119 packets in 2.028558102s, 1.639us per packet
Benchmarking decode 6/10
	Read in 1237119 packets in 1.868791541s, 1.51us per packet
Benchmarking decode 7/10
	Read in 1237119 packets in 1.869445953s, 1.511us per packet
Benchmarking decode 8/10
	Read in 1237119 packets in 1.870409013s, 1.511us per packet
Benchmarking decode 9/10
	Read in 1237119 packets in 1.869264027s, 1.51us per packet
Benchmarking decode 10/10
	Read in 1237119 packets in 1.868603694s, 1.51us per packet

UIKit0/gopacket-1,vtolstov/gopacket,dutchcoders/gopacket,ross-williams/gopacket,ccordes-snaproute/gopacket,ross-williams/gopacket,packetb-old/gopacket,lokikiller/gopacket,LrsK/gopacket,wheelcomplex/gopacket,cmillward/gopacket,vtolstov/gopacket,scroot/gopacket,hkwi/gopacket,xuzhaokui/gopacket,1d4Nf6/gopacket,levigross/gopacket,levigross/gopacket,cmillward/gopacket,ross-williams/gopacket,clarktrimble/gopacket,xuzhaokui/gopacket,breml/gopacket,skyportsystems/gopacket,1d4Nf6/gopacket,LrsK/gopacket,scroot/gopacket,aeppert/gopacket,wheelcomplex/gopacket,zerklabs/gopacket,packetbeat/gopacket,lokikiller/gopacket,cmillward/gopacket,xuzhaokui/gopacket,levigross/gopacket,vtolstov/gopacket,dazer-chen/gopacket,google/gopacket,chapayGhub/gopacket,adriantam/gopacket,aeppert/gopacket,dazer-chen/gopacket,zerklabs/gopacket,packetbeat/gopacket,LrsK/gopacket,adriantam/gopacket,dazer-chen/gopacket,josephcopenhaver/gopacket,urso/gopacket,clarktrimble/gopacket,1d4Nf6/gopacket,scroot/gopacket,nhooyr/gopacket,google/gopacket,dutchcoders/gopacket,josephcopenhaver/gopacket,rouzier/gopacket,breml/gopacket,aeppert/gopacket,clarktrimble/gopacket,UIKit0/gopacket-1,hkwi/gopacket,google/gopacket,packetb-old/gopacket,chapayGhub/gopacket,packetb-old/gopacket,skyportsystems/gopacket,rouzier/gopacket,rouzier/gopacket,UIKit0/gopacket-1,dutchcoders/gopacket,nhooyr/gopacket,packetbeat/gopacket,urso/gopacket,breml/gopacket,packetbeat/gopacket,packetb-old/gopacket,ccordes-snaproute/gopacket,zerklabs/gopacket,josephcopenhaver/gopacket,urso/gopacket,lokikiller/gopacket,ccordes-snaproute/gopacket,nhooyr/gopacket,skyportsystems/gopacket,hkwi/gopacket,wheelcomplex/gopacket,chapayGhub/gopacket,adriantam/gopacket