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

Method LinkLayer

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

Functions for accessing specific types of packet layers. These functions return the first layer of each type found within the packet. ------------------------------------------------------------------ LinkLayer returns the first link layer in the packet

()

Source from the content-addressed store, hash-verified

79 //// ------------------------------------------------------------------
80 // LinkLayer returns the first link layer in the packet
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

Callers 1

Calls

no outgoing calls

Tested by 1