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

Method NetworkLayer

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

NetworkLayer returns the first network layer in the packet

()

Source from the content-addressed store, hash-verified

81 LinkLayer() LinkLayer
82 // NetworkLayer returns the first network layer in the packet
83 NetworkLayer() NetworkLayer
84 // TransportLayer returns the first transport layer in the packet
85 TransportLayer() TransportLayer
86 // ApplicationLayer returns the first application layer in the packet

Callers 9

getSerializeLayersFunction · 0.95
BenchmarkFlowFunction · 0.95
BenchmarkEndpointsFunction · 0.95
scanMethod · 0.95
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by 5

getSerializeLayersFunction · 0.76
BenchmarkFlowFunction · 0.76
BenchmarkEndpointsFunction · 0.76