MCPcopy
hub / github.com/google/gopacket / Layer

Method Layer

packet.go:72–72  ·  view source on GitHub ↗

Layer returns the first layer in this packet of the given type, or nil

(LayerType)

Source from the content-addressed store, hash-verified

70 Layers() []Layer
71 // Layer returns the first layer in this packet of the given type, or nil
72 Layer(LayerType) Layer
73 // LayerClass returns the first layer in this packet of the given class,
74 // or nil.
75 LayerClass(LayerClass) Layer

Callers 15

assembleMethod · 0.95
TestOrderedLCMDefragFunction · 0.95
TestUnorderedLCMDefragFunction · 0.95
TestNonLCMDefragFunction · 0.95
gentestDefragFunction · 0.95
TestPacketDot11CtrlCTSFunction · 0.95
TestPacketDot11CtrlAckFunction · 0.95
TestPacketDot11DataARPFunction · 0.95
TestPacketDot11HTControlFunction · 0.95

Calls

no outgoing calls

Tested by 15

TestOrderedLCMDefragFunction · 0.76
TestUnorderedLCMDefragFunction · 0.76
TestNonLCMDefragFunction · 0.76
gentestDefragFunction · 0.76
TestPacketDot11CtrlCTSFunction · 0.76
TestPacketDot11CtrlAckFunction · 0.76
TestPacketDot11DataARPFunction · 0.76
TestPacketDot11HTControlFunction · 0.76