MCPcopy Index your code
hub / github.com/google/gopacket / Contains

Method Contains

layerclass.go:14–14  ·  view source on GitHub ↗

Contains returns true if the given layer type should be considered part of this layer class.

(LayerType)

Source from the content-addressed store, hash-verified

12 // Contains returns true if the given layer type should be considered part
13 // of this layer class.
14 Contains(LayerType) bool
15 // LayerTypes returns the set of all layer types in this layer class.
16 // Note that this may not be a fast operation on all LayerClass
17 // implementations.

Callers 11

LayerClassMethod · 0.65
LayerClassMethod · 0.65
packetsToChannelMethod · 0.65
TestDNSMalformedPacketFunction · 0.65
TestDNSMalformedPacket2Function · 0.65
TestAnotherMalformedDNSFunction · 0.65
TestMalformedDNSAgainFunction · 0.65
TestMalformedDNSOPTFunction · 0.65
TestPacketDNSPanic7Function · 0.65
routeMethod · 0.65

Calls

no outgoing calls

Tested by 7

TestDNSMalformedPacketFunction · 0.52
TestDNSMalformedPacket2Function · 0.52
TestAnotherMalformedDNSFunction · 0.52
TestMalformedDNSAgainFunction · 0.52
TestMalformedDNSOPTFunction · 0.52
TestPacketDNSPanic7Function · 0.52