SYMBOL INDEX (5291 symbols across 210 files) FILE: afpacket/afpacket.go type AncillaryVLAN (line 55) | type AncillaryVLAN struct type Stats (line 61) | type Stats struct type SocketStats (line 71) | type SocketStats method Packets (line 74) | func (s *SocketStats) Packets() uint { method Drops (line 79) | func (s *SocketStats) Drops() uint { type SocketStatsV3 (line 84) | type SocketStatsV3 method Packets (line 87) | func (s *SocketStatsV3) Packets() uint { method Drops (line 92) | func (s *SocketStatsV3) Drops() uint { method QueueFreezes (line 97) | func (s *SocketStatsV3) QueueFreezes() uint { type TPacket (line 102) | type TPacket struct method bindToInterface (line 139) | func (h *TPacket) bindToInterface(ifaceName string) error { method setTPacketVersion (line 157) | func (h *TPacket) setTPacketVersion(version OptTPacketVersion) error { method setRequestedTPacketVersion (line 165) | func (h *TPacket) setRequestedTPacketVersion() error { method setUpRing (line 180) | func (h *TPacket) setUpRing() (err error) { method Close (line 217) | func (h *TPacket) Close() { method SetBPF (line 266) | func (h *TPacket) SetBPF(filter []bpf.RawInstruction) error { method SetEBPF (line 278) | func (h *TPacket) SetEBPF(progFd int32) error { method releaseCurrentPacket (line 282) | func (h *TPacket) releaseCurrentPacket() error { method ZeroCopyReadPacketData (line 300) | func (h *TPacket) ZeroCopyReadPacketData() (data []byte, ci gopacket.C... method Stats (line 335) | func (h *TPacket) Stats() (Stats, error) { method InitSocketStats (line 343) | func (h *TPacket) InitSocketStats() error { method SocketStats (line 369) | func (h *TPacket) SocketStats() (SocketStats, SocketStatsV3, error) { method ReadPacketDataTo (line 407) | func (h *TPacket) ReadPacketDataTo(data []byte) (ci gopacket.CaptureIn... method ReadPacketData (line 420) | func (h *TPacket) ReadPacketData() (data []byte, ci gopacket.CaptureIn... method getTPacketHeader (line 431) | func (h *TPacket) getTPacketHeader() header { method pollForFirstPacket (line 457) | func (h *TPacket) pollForFirstPacket(hdr header) error { method SetFanout (line 511) | func (h *TPacket) SetFanout(t FanoutType, id uint16) error { method WritePacketData (line 520) | func (h *TPacket) WritePacketData(pkt []byte) error { function NewTPacket (line 235) | func NewTPacket(opts ...interface{}) (h *TPacket, err error) { type FanoutType (line 488) | type FanoutType constant FanoutHash (line 492) | FanoutHash FanoutType = unix.PACKET_FANOUT_HASH constant FanoutHashWithDefrag (line 495) | FanoutHashWithDefrag FanoutType = unix.PACKET_FANOUT_FLAG_DEFRAG constant FanoutLoadBalance (line 496) | FanoutLoadBalance FanoutType = unix.PACKET_FANOUT_LB constant FanoutCPU (line 497) | FanoutCPU FanoutType = unix.PACKET_FANOUT_CPU constant FanoutRollover (line 498) | FanoutRollover FanoutType = unix.PACKET_FANOUT_ROLLOVER constant FanoutRandom (line 499) | FanoutRandom FanoutType = unix.PACKET_FANOUT_RND constant FanoutQueueMapping (line 500) | FanoutQueueMapping FanoutType = unix.PACKET_FANOUT_QM constant FanoutCBPF (line 501) | FanoutCBPF FanoutType = unix.PACKET_FANOUT_CBPF constant FanoutEBPF (line 502) | FanoutEBPF FanoutType = unix.PACKET_FANOUT_EBPF FILE: afpacket/afpacket_test.go function TestParseOptions (line 16) | func TestParseOptions(t *testing.T) { FILE: afpacket/header.go type header (line 30) | type header interface constant tpacketAlignment (line 57) | tpacketAlignment = uint(unix.TPACKET_ALIGNMENT) function tpAlign (line 59) | func tpAlign(x int) int { type v1header (line 63) | type v1header method getVLAN (line 84) | func (h *v1header) getVLAN() int { method getStatus (line 87) | func (h *v1header) getStatus() int { method clearStatus (line 90) | func (h *v1header) clearStatus() { method getTime (line 93) | func (h *v1header) getTime() time.Time { method getData (line 96) | func (h *v1header) getData(opts *options) []byte { method getLength (line 99) | func (h *v1header) getLength() int { method getIfaceIndex (line 102) | func (h *v1header) getIfaceIndex() int { method next (line 106) | func (h *v1header) next() bool { type v2header (line 64) | type v2header method getVLAN (line 110) | func (h *v2header) getVLAN() int { method getStatus (line 113) | func (h *v2header) getStatus() int { method clearStatus (line 116) | func (h *v2header) clearStatus() { method getTime (line 119) | func (h *v2header) getTime() time.Time { method getData (line 122) | func (h *v2header) getData(opts *options) []byte { method getLength (line 126) | func (h *v2header) getLength() int { method getIfaceIndex (line 129) | func (h *v2header) getIfaceIndex() int { method next (line 133) | func (h *v2header) next() bool { function makeSlice (line 66) | func makeSlice(start uintptr, length int) (data []byte) { function insertVlanHeader (line 74) | func insertVlanHeader(data []byte, vlanTCI int, opts *options) []byte { type v3wrapper (line 137) | type v3wrapper struct method getVLAN (line 151) | func (w *v3wrapper) getVLAN() int { method getStatus (line 159) | func (w *v3wrapper) getStatus() int { method clearStatus (line 162) | func (w *v3wrapper) clearStatus() { method getTime (line 165) | func (w *v3wrapper) getTime() time.Time { method getData (line 168) | func (w *v3wrapper) getData(opts *options) []byte { method getLength (line 174) | func (w *v3wrapper) getLength() int { method getIfaceIndex (line 177) | func (w *v3wrapper) getIfaceIndex() int { method next (line 181) | func (w *v3wrapper) next() bool { function initV3Wrapper (line 144) | func initV3Wrapper(block unsafe.Pointer) (w v3wrapper) { FILE: afpacket/options.go type OptTPacketVersion (line 21) | type OptTPacketVersion method String (line 24) | func (t OptTPacketVersion) String() string { type OptSocketType (line 39) | type OptSocketType method String (line 41) | func (t OptSocketType) String() string { constant TPacketVersionHighestAvailable (line 55) | TPacketVersionHighestAvailable = OptTPacketVersion(-1) constant TPacketVersion1 (line 56) | TPacketVersion1 = OptTPacketVersion(unix.TPACKET_V1) constant TPacketVersion2 (line 57) | TPacketVersion2 = OptTPacketVersion(unix.TPACKET_V2) constant TPacketVersion3 (line 58) | TPacketVersion3 = OptTPacketVersion(unix.TPACKET_V3) constant tpacketVersionMax (line 59) | tpacketVersionMax = TPacketVersion3 constant tpacketVersionMin (line 60) | tpacketVersionMin = -1 constant SocketRaw (line 63) | SocketRaw = OptSocketType(unix.SOCK_RAW) constant SocketDgram (line 66) | SocketDgram = OptSocketType(unix.SOCK_DGRAM) type OptInterface (line 71) | type OptInterface type OptFrameSize (line 75) | type OptFrameSize type OptBlockSize (line 79) | type OptBlockSize type OptNumBlocks (line 83) | type OptNumBlocks type OptBlockTimeout (line 87) | type OptBlockTimeout type OptPollTimeout (line 91) | type OptPollTimeout type OptAddVLANHeader (line 107) | type OptAddVLANHeader constant DefaultFrameSize (line 111) | DefaultFrameSize = 4096 constant DefaultBlockSize (line 112) | DefaultBlockSize = DefaultFrameSize * 128 constant DefaultNumBlocks (line 113) | DefaultNumBlocks = 128 constant DefaultBlockTimeout (line 114) | DefaultBlockTimeout = 64 * time.Millisecond constant DefaultPollTimeout (line 115) | DefaultPollTimeout = -1 * time.Millisecond type options (line 118) | type options struct method check (line 174) | func (o options) check() error { function parseOptions (line 141) | func parseOptions(opts ...interface{}) (ret options, err error) { FILE: afpacket/sockopt_linux.go function setsockopt (line 18) | func setsockopt(fd, level, name int, val unsafe.Pointer, vallen uintptr)... function getsockopt (line 36) | func getsockopt(fd, level, name int, val unsafe.Pointer, vallen uintptr)... function htons (line 56) | func htons(i uint16) uint16 { FILE: base.go type Layer (line 19) | type Layer interface type Payload (line 33) | type Payload method LayerType (line 36) | func (p Payload) LayerType() LayerType { return LayerTypePayload } method LayerContents (line 39) | func (p Payload) LayerContents() []byte { return []byte(p) } method LayerPayload (line 42) | func (p Payload) LayerPayload() []byte { return nil } method Payload (line 45) | func (p Payload) Payload() []byte { return []byte(p) } method String (line 48) | func (p Payload) String() string { return fmt.Sprintf("%d byte(s)", le... method GoString (line 51) | func (p Payload) GoString() string { return LongBytesGoString([]byte(p... method CanDecode (line 54) | func (p Payload) CanDecode() LayerClass { return LayerTypePayload } method NextLayerType (line 57) | func (p Payload) NextLayerType() LayerType { return LayerTypeZero } method DecodeFromBytes (line 60) | func (p *Payload) DecodeFromBytes(data []byte, df DecodeFeedback) error { method SerializeTo (line 68) | func (p Payload) SerializeTo(b SerializeBuffer, opts SerializeOptions)... function decodePayload (line 78) | func decodePayload(data []byte, p PacketBuilder) error { type Fragment (line 90) | type Fragment method LayerType (line 93) | func (p *Fragment) LayerType() LayerType { return LayerTypeFragment } method LayerContents (line 96) | func (p *Fragment) LayerContents() []byte { return []byte(*p) } method LayerPayload (line 99) | func (p *Fragment) LayerPayload() []byte { return nil } method Payload (line 102) | func (p *Fragment) Payload() []byte { return []byte(*p) } method String (line 105) | func (p *Fragment) String() string { return fmt.Sprintf("%d byte(s)", ... method CanDecode (line 108) | func (p *Fragment) CanDecode() LayerClass { return LayerTypeFragment } method NextLayerType (line 111) | func (p *Fragment) NextLayerType() LayerType { return LayerTypeZero } method DecodeFromBytes (line 114) | func (p *Fragment) DecodeFromBytes(data []byte, df DecodeFeedback) err... method SerializeTo (line 122) | func (p *Fragment) SerializeTo(b SerializeBuffer, opts SerializeOption... function decodeFragment (line 132) | func decodeFragment(data []byte, p PacketBuilder) error { type LinkLayer (line 146) | type LinkLayer interface type NetworkLayer (line 153) | type NetworkLayer interface type TransportLayer (line 160) | type TransportLayer interface type ApplicationLayer (line 167) | type ApplicationLayer interface type ErrorLayer (line 175) | type ErrorLayer interface FILE: benchmark_test.go type testError (line 17) | type testError struct method Error (line 19) | func (t *testError) Error() string { return "abc" } function BenchmarkTypeAssertion (line 21) | func BenchmarkTypeAssertion(b *testing.B) { function BenchmarkMapLookup (line 28) | func BenchmarkMapLookup(b *testing.B) { function BenchmarkNilMapLookup (line 37) | func BenchmarkNilMapLookup(b *testing.B) { function BenchmarkNilMapLookupWithNilCheck (line 44) | func BenchmarkNilMapLookupWithNilCheck(b *testing.B) { function BenchmarkArrayLookup (line 53) | func BenchmarkArrayLookup(b *testing.B) { function BenchmarkTypeToInterface1 (line 63) | func BenchmarkTypeToInterface1(b *testing.B) { function BenchmarkTypeToInterface2 (line 72) | func BenchmarkTypeToInterface2(b *testing.B) { function decodeOptsByValue (line 84) | func decodeOptsByValue(_ DecodeOptions) {} function decodeOptsByPointer (line 85) | func decodeOptsByPointer(_ *DecodeOptions) {} function BenchmarkPassDecodeOptionsByValue (line 86) | func BenchmarkPassDecodeOptionsByValue(b *testing.B) { function BenchmarkPassDecodeOptionsByPointer (line 91) | func BenchmarkPassDecodeOptionsByPointer(b *testing.B) { function BenchmarkLockOSThread (line 97) | func BenchmarkLockOSThread(b *testing.B) { function BenchmarkUnlockOSThread (line 102) | func BenchmarkUnlockOSThread(b *testing.B) { function lockUnlock (line 107) | func lockUnlock() { function lockDeferUnlock (line 111) | func lockDeferUnlock() { function BenchmarkLockUnlockOSThread (line 115) | func BenchmarkLockUnlockOSThread(b *testing.B) { function BenchmarkLockDeferUnlockOSThread (line 120) | func BenchmarkLockDeferUnlockOSThread(b *testing.B) { function BenchmarkUnbufferedChannel (line 126) | func BenchmarkUnbufferedChannel(b *testing.B) { function BenchmarkSmallBufferedChannel (line 141) | func BenchmarkSmallBufferedChannel(b *testing.B) { function BenchmarkLargeBufferedChannel (line 156) | func BenchmarkLargeBufferedChannel(b *testing.B) { function BenchmarkEndpointFastHashShort (line 171) | func BenchmarkEndpointFastHashShort(b *testing.B) { function BenchmarkEndpointFastHashLong (line 177) | func BenchmarkEndpointFastHashLong(b *testing.B) { function BenchmarkFlowFastHashShort (line 183) | func BenchmarkFlowFastHashShort(b *testing.B) { function BenchmarkFlowFastHashLong (line 189) | func BenchmarkFlowFastHashLong(b *testing.B) { FILE: bsdbpf/bsd_bpf_sniffer.go constant wordSize (line 22) | wordSize = int(unsafe.Sizeof(uintptr(0))) function bpfWordAlign (line 24) | func bpfWordAlign(x int) int { type Options (line 30) | type Options struct type BPFSniffer (line 74) | type BPFSniffer struct method Close (line 162) | func (b *BPFSniffer) Close() error { method pickBpfDevice (line 166) | func (b *BPFSniffer) pickBpfDevice() { method ReadPacketData (line 179) | func (b *BPFSniffer) ReadPacketData() ([]byte, gopacket.CaptureInfo, e... method GetReadBufLen (line 213) | func (b *BPFSniffer) GetReadBufLen() int { function NewBPFSniffer (line 88) | func NewBPFSniffer(iface string, options *Options) (*BPFSniffer, error) { FILE: bytediff/bytediff.go type OutputFormat (line 30) | type OutputFormat struct method color (line 108) | func (c *OutputFormat) color(d Difference) string { method String (line 156) | func (c *OutputFormat) String(diffs Differences) string { function longestCommonSubstring (line 57) | func longestCommonSubstring(strA, strB []byte) (indexA, indexB, length i... type Difference (line 102) | type Difference struct function Diff (line 128) | func Diff(strA, strB []byte) Differences { type Differences (line 148) | type Differences FILE: bytediff/bytediff_test.go function TestLCS (line 14) | func TestLCS(t *testing.T) { function TestDiff (line 32) | func TestDiff(t *testing.T) { FILE: decode.go type DecodeFeedback (line 14) | type DecodeFeedback interface type nilDecodeFeedback (line 21) | type nilDecodeFeedback struct method SetTruncated (line 23) | func (nilDecodeFeedback) SetTruncated() {} type PacketBuilder (line 41) | type PacketBuilder interface type Decoder (line 74) | type Decoder interface type DecodeFunc (line 82) | type DecodeFunc method Decode (line 85) | func (d DecodeFunc) Decode(data []byte, p PacketBuilder) error { type DecodeFailure (line 122) | type DecodeFailure struct method Error (line 129) | func (d *DecodeFailure) Error() error { return d.err } method LayerContents (line 132) | func (d *DecodeFailure) LayerContents() []byte { return d.data } method LayerPayload (line 135) | func (d *DecodeFailure) LayerPayload() []byte { return nil } method String (line 138) | func (d *DecodeFailure) String() string { method Dump (line 143) | func (d *DecodeFailure) Dump() (s string) { method LayerType (line 151) | func (d *DecodeFailure) LayerType() LayerType { return LayerTypeDecode... function decodeUnknown (line 155) | func decodeUnknown(data []byte, p PacketBuilder) error { FILE: defrag/lcmdefrag/lcmdefrag.go constant timeout (line 21) | timeout time.Duration = 3 * time.Second type lcmPacket (line 24) | type lcmPacket struct method append (line 57) | func (lp *lcmPacket) append(in *layers.LCM) { method assemble (line 63) | func (lp *lcmPacket) assemble() (out *layers.LCM, err error) { type LCMDefragmenter (line 37) | type LCMDefragmenter struct method cleanUp (line 97) | func (ld *LCMDefragmenter) cleanUp() { method Defrag (line 114) | func (ld *LCMDefragmenter) Defrag(in *layers.LCM) (out *layers.LCM, er... function newLCMPacket (line 41) | func newLCMPacket(totalFrags uint16) *lcmPacket { function NewLCMDefragmenter (line 51) | func NewLCMDefragmenter() *LCMDefragmenter { FILE: defrag/lcmdefrag/lcmdefrag_test.go function TestOrderedLCMDefrag (line 37) | func TestOrderedLCMDefrag(t *testing.T) { function TestUnorderedLCMDefrag (line 64) | func TestUnorderedLCMDefrag(t *testing.T) { function TestNonLCMDefrag (line 91) | func TestNonLCMDefrag(t *testing.T) { FILE: dumpcommand/tcpdump.go function Run (line 35) | func Run(src gopacket.PacketDataSource) { FILE: examples/afpacket/afpacket.go type afpacketHandle (line 39) | type afpacketHandle struct method ZeroCopyReadPacketData (line 73) | func (h *afpacketHandle) ZeroCopyReadPacketData() (data []byte, ci gop... method SetBPFFilter (line 78) | func (h *afpacketHandle) SetBPFFilter(filter string, snaplen int) (err... method LinkType (line 100) | func (h *afpacketHandle) LinkType() layers.LinkType { method Close (line 105) | func (h *afpacketHandle) Close() { method SocketStats (line 110) | func (h *afpacketHandle) SocketStats() (as afpacket.SocketStats, asv a... function newAfpacketHandle (line 43) | func newAfpacketHandle(device string, snaplen int, block_size int, num_b... function afpacketComputeSize (line 118) | func afpacketComputeSize(targetSizeMb int, snaplen int, pageSize int) ( function main (line 138) | func main() { FILE: examples/arpscan/arpscan.go function main (line 28) | func main() { function scan (line 56) | func scan(iface *net.Interface) error { function readARP (line 111) | func readARP(handle *pcap.Handle, iface *net.Interface, stop chan struct... function writeARP (line 139) | func writeARP(handle *pcap.Handle, iface *net.Interface, addr *net.IPNet... function ips (line 176) | func ips(n *net.IPNet) (out []net.IP) { FILE: examples/bidirectional/main.go type key (line 29) | type key struct method String (line 34) | func (k key) String() string { constant timeout (line 40) | timeout time.Duration = time.Minute * 5 type myStream (line 43) | type myStream struct method Reassembled (line 111) | func (s *myStream) Reassembled(rs []tcpassembly.Reassembly) { method ReassemblyComplete (line 128) | func (s *myStream) ReassemblyComplete() { type bidi (line 54) | type bidi struct method maybeFinish (line 135) | func (bd *bidi) maybeFinish() { type myFactory (line 61) | type myFactory struct method New (line 67) | func (f *myFactory) New(netFlow, tcpFlow gopacket.Flow) tcpassembly.St... method collectOldStreams (line 98) | func (f *myFactory) collectOldStreams() { function main (line 150) | func main() { FILE: examples/bytediff/main.go function main (line 94) | func main() { FILE: examples/httpassembly/main.go type httpStreamFactory (line 37) | type httpStreamFactory struct method New (line 45) | func (h *httpStreamFactory) New(net, transport gopacket.Flow) tcpassem... type httpStream (line 40) | type httpStream struct method run (line 57) | func (h *httpStream) run() { function main (line 74) | func main() { FILE: examples/pcapdump/main.go function main (line 29) | func main() { FILE: examples/pcaplay/main.go function writePacketDelayed (line 35) | func writePacketDelayed(handle *pcap.Handle, buf []byte, ci gopacket.Cap... function writePacket (line 53) | func writePacket(handle *pcap.Handle, buf []byte) error { function pcapInfo (line 61) | func pcapInfo(filename string) (start time.Time, end time.Time, packets ... function main (line 101) | func main() { FILE: examples/pfdump/main.go function main (line 27) | func main() { FILE: examples/reassemblydump/main.go constant closeTimeout (line 88) | closeTimeout time.Duration = time.Hour * 24 constant timeout (line 89) | timeout time.Duration = time.Minute * 5 type httpReader (line 95) | type httpReader struct method Read (line 104) | func (h *httpReader) Read(p []byte) (int, error) { method run (line 145) | func (h *httpReader) run(wg *sync.WaitGroup) { function Error (line 124) | func Error(t string, s string, a ...interface{}) { function Info (line 134) | func Info(s string, a ...interface{}) { function Debug (line 139) | func Debug(s string, a ...interface{}) { type tcpStreamFactory (line 260) | type tcpStreamFactory struct method New (line 265) | func (factory *tcpStreamFactory) New(net, transport gopacket.Flow, tcp... method WaitGoRoutines (line 301) | func (factory *tcpStreamFactory) WaitGoRoutines() { type Context (line 308) | type Context struct method GetCaptureInfo (line 312) | func (c *Context) GetCaptureInfo() gopacket.CaptureInfo { type tcpStream (line 321) | type tcpStream struct method Accept (line 336) | func (t *tcpStream) Accept(tcp *layers.TCP, ci gopacket.CaptureInfo, d... method ReassembledSG (line 376) | func (t *tcpStream) ReassembledSG(sg reassembly.ScatterGather, ac reas... method ReassemblyComplete (line 459) | func (t *tcpStream) ReassemblyComplete(ac reassembly.AssemblerContext)... function main (line 469) | func main() { FILE: examples/snoopread/main.go function main (line 20) | func main() { FILE: examples/statsassembly/main.go type statsStreamFactory (line 48) | type statsStreamFactory struct method New (line 60) | func (factory *statsStreamFactory) New(net, transport gopacket.Flow) t... type statsStream (line 51) | type statsStream struct method Reassembled (line 74) | func (s *statsStream) Reassembled(reassemblies []tcpassembly.Reassembl... method ReassemblyComplete (line 93) | func (s *statsStream) ReassemblyComplete() { function main (line 100) | func main() { FILE: examples/synscan/main.go type scanner (line 35) | type scanner struct method close (line 81) | func (s *scanner) close() { method getHwAddr (line 90) | func (s *scanner) getHwAddr() (net.HardwareAddr, error) { method scan (line 140) | func (s *scanner) scan() error { method send (line 224) | func (s *scanner) send(l ...gopacket.SerializableLayer) error { function newScanner (line 51) | func newScanner(ip net.IP, router routing.Router) (*scanner, error) { function main (line 231) | func main() { FILE: examples/util/util.go function Run (line 26) | func Run() func() { FILE: flows.go constant MaxEndpointSize (line 27) | MaxEndpointSize = 16 type Endpoint (line 32) | type Endpoint struct method EndpointType (line 39) | func (a Endpoint) EndpointType() EndpointType { return a.typ } method Raw (line 43) | func (a Endpoint) Raw() []byte { return a.raw[:a.len] } method LessThan (line 53) | func (a Endpoint) LessThan(b Endpoint) bool { method FastHash (line 78) | func (a Endpoint) FastHash() (h uint64) { method String (line 133) | func (a Endpoint) String() string { function fnvHash (line 60) | func fnvHash(s []byte) (h uint64) { constant fnvBasis (line 69) | fnvBasis = 14695981039346656037 constant fnvPrime (line 70) | fnvPrime = 1099511628211 function NewEndpoint (line 89) | func NewEndpoint(typ EndpointType, raw []byte) (e Endpoint) { type EndpointTypeMetadata (line 100) | type EndpointTypeMetadata struct type EndpointType (line 110) | type EndpointType method String (line 126) | func (e EndpointType) String() string { function RegisterEndpointType (line 117) | func RegisterEndpointType(num int, meta EndpointTypeMetadata) EndpointTy... type Flow (line 142) | type Flow struct method FastHash (line 167) | func (f Flow) FastHash() (h uint64) { method String (line 178) | func (f Flow) String() string { method EndpointType (line 184) | func (f Flow) EndpointType() EndpointType { method Endpoints (line 189) | func (f Flow) Endpoints() (src, dst Endpoint) { method Src (line 194) | func (f Flow) Src() (src Endpoint) { method Dst (line 200) | func (f Flow) Dst() (dst Endpoint) { method Reverse (line 206) | func (f Flow) Reverse() Flow { function FlowFromEndpoints (line 151) | func FlowFromEndpoints(src, dst Endpoint) (_ Flow, err error) { function NewFlow (line 214) | func NewFlow(t EndpointType, src, dst []byte) (f Flow) { FILE: gen.go constant headerFmt (line 19) | headerFmt = `// Copyright 2019 The GoPacket Authors. All rights reserved. function main (line 58) | func main() { FILE: ip4defrag/defrag.go type debugging (line 25) | type debugging method Printf (line 27) | func (d debugging) Printf(format string, args ...interface{}) { constant IPv4MinimumFragmentSize (line 36) | IPv4MinimumFragmentSize = 8 constant IPv4MaximumSize (line 37) | IPv4MaximumSize = 65535 constant IPv4MaximumFragmentOffset (line 38) | IPv4MaximumFragmentOffset = 8183 constant IPv4MaximumFragmentListLen (line 39) | IPv4MaximumFragmentListLen = 8192 type fragmentList (line 204) | type fragmentList struct method insert (line 216) | func (f *fragmentList) insert(in *layers.IPv4, t time.Time) (*layers.I... method build (line 278) | func (f *fragmentList) build(in *layers.IPv4) (*layers.IPv4, error) { type ipv4 (line 331) | type ipv4 struct function newIPv4 (line 337) | func newIPv4(ip *layers.IPv4) ipv4 { type IPv4Defragmenter (line 346) | type IPv4Defragmenter struct method DefragIPv4 (line 76) | func (d *IPv4Defragmenter) DefragIPv4(in *layers.IPv4) (*layers.IPv4, ... method DefragIPv4WithTimestamp (line 86) | func (d *IPv4Defragmenter) DefragIPv4WithTimestamp(in *layers.IPv4, t ... method DiscardOlderThan (line 140) | func (d *IPv4Defragmenter) DiscardOlderThan(t time.Time) int { method flush (line 154) | func (d *IPv4Defragmenter) flush(ipf ipv4) { method dontDefrag (line 162) | func (d *IPv4Defragmenter) dontDefrag(ip *layers.IPv4) bool { method securityChecks (line 175) | func (d *IPv4Defragmenter) securityChecks(ip *layers.IPv4) error { function NewIPv4Defragmenter (line 353) | func NewIPv4Defragmenter() *IPv4Defragmenter { FILE: ip4defrag/defrag_test.go function TestNotFrag (line 22) | func TestNotFrag(t *testing.T) { function TestDefragPingMultipleFrags (line 38) | func TestDefragPingMultipleFrags(t *testing.T) { function TestDefragPing1 (line 69) | func TestDefragPing1(t *testing.T) { function TestDefragPing1and2 (line 106) | func TestDefragPing1and2(t *testing.T) { function TestDefragTooSmall (line 153) | func TestDefragTooSmall(t *testing.T) { function TestDefragFragmentOffset (line 177) | func TestDefragFragmentOffset(t *testing.T) { function TestDefragDiscard (line 204) | func TestDefragDiscard(t *testing.T) { function TestDefragMaxSize (line 216) | func TestDefragMaxSize(t *testing.T) { function TestDefragIDField (line 245) | func TestDefragIDField(t *testing.T) { function gentestDefrag (line 262) | func gentestDefrag(t *testing.T, defrag *IPv4Defragmenter, buf []byte, e... FILE: layerclass.go type LayerClass (line 11) | type LayerClass interface method Contains (line 22) | func (l LayerType) Contains(a LayerType) bool { method LayerTypes (line 27) | func (l LayerType) LayerTypes() []LayerType { type LayerClassSlice (line 32) | type LayerClassSlice method Contains (line 36) | func (s LayerClassSlice) Contains(t LayerType) bool { method LayerTypes (line 42) | func (s LayerClassSlice) LayerTypes() (all []LayerType) { function NewLayerClassSlice (line 55) | func NewLayerClassSlice(types []LayerType) LayerClassSlice { type LayerClassMap (line 70) | type LayerClassMap method Contains (line 74) | func (m LayerClassMap) Contains(t LayerType) bool { method LayerTypes (line 79) | func (m LayerClassMap) LayerTypes() (all []LayerType) { function NewLayerClassMap (line 88) | func NewLayerClassMap(types []LayerType) LayerClassMap { function NewLayerClass (line 98) | func NewLayerClass(types []LayerType) LayerClass { FILE: layers/ague_var0.go type AGUEVar0 (line 20) | type AGUEVar0 struct method LayerType (line 30) | func (l AGUEVar0) LayerType() gopacket.LayerType { method LayerContents (line 35) | func (l AGUEVar0) LayerContents() []byte { method LayerPayload (line 51) | func (l AGUEVar0) LayerPayload() []byte { method SerializeTo (line 56) | func (l AGUEVar0) SerializeTo(buf gopacket.SerializeBuffer, opts gopac... method CanDecode (line 67) | func (l AGUEVar0) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 72) | func (l *AGUEVar0) DecodeFromBytes(data []byte, df gopacket.DecodeFeed... method NextLayerType (line 84) | func (l AGUEVar0) NextLayerType() gopacket.LayerType { function decodeAGUE (line 92) | func decodeAGUE(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ague_var0_test.go function TestGueDecoding (line 17) | func TestGueDecoding(t *testing.T) { function TestIPv4OverAGUEVar0Encode (line 93) | func TestIPv4OverAGUEVar0Encode(t *testing.T) { FILE: layers/ague_var1.go type AGUEVar1 (line 18) | type AGUEVar1 struct method LayerType (line 24) | func (l AGUEVar1) LayerType() gopacket.LayerType { method LayerContents (line 29) | func (l AGUEVar1) LayerContents() []byte { method LayerPayload (line 35) | func (l AGUEVar1) LayerPayload() []byte { method SerializeTo (line 40) | func (l AGUEVar1) SerializeTo(buf gopacket.SerializeBuffer, opts gopac... method CanDecode (line 45) | func (l AGUEVar1) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 53) | func (l *AGUEVar1) DecodeFromBytes(data []byte, df gopacket.DecodeFeed... method NextLayerType (line 70) | func (l AGUEVar1) NextLayerType() gopacket.LayerType { function decodeAGUEVar1 (line 77) | func decodeAGUEVar1(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ague_var1_test.go function logLayers (line 16) | func logLayers(p gopacket.Packet, t *testing.T) { function TestIPv4OverAGUEVar1Encode (line 87) | func TestIPv4OverAGUEVar1Encode(t *testing.T) { function TestIPv6OverAGUEVar1Encode (line 119) | func TestIPv6OverAGUEVar1Encode(t *testing.T) { FILE: layers/apsp.go type APSP (line 27) | type APSP struct method CanDecode (line 45) | func (l APSP) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 50) | func (l *APSP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback... method SerializeTo (line 73) | func (l APSP) SerializeTo(buf gopacket.SerializeBuffer, opts gopacket.... method LayerContents (line 84) | func (l APSP) LayerContents() []byte { method LayerPayload (line 100) | func (l APSP) LayerPayload() []byte { method NextLayerType (line 105) | func (l APSP) NextLayerType() gopacket.LayerType { method LayerType (line 111) | func (l APSP) LayerType() gopacket.LayerType { constant ApspLen (line 42) | ApspLen = 40 function decodeAPSP (line 115) | func decodeAPSP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/apsp_test.go function TestApspDecoding (line 18) | func TestApspDecoding(t *testing.T) { function TestIPv4OverApspEncode (line 101) | func TestIPv4OverApspEncode(t *testing.T) { FILE: layers/arp.go constant ARPRequest (line 20) | ARPRequest = 1 constant ARPReply (line 21) | ARPReply = 2 type ARP (line 25) | type ARP struct method LayerType (line 39) | func (arp *ARP) LayerType() gopacket.LayerType { return LayerTypeARP } method DecodeFromBytes (line 42) | func (arp *ARP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method SerializeTo (line 70) | func (arp *ARP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.... method CanDecode (line 105) | func (arp *ARP) CanDecode() gopacket.LayerClass { method NextLayerType (line 110) | func (arp *ARP) NextLayerType() gopacket.LayerType { function decodeARP (line 114) | func decodeARP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/asf.go constant ASFRMCPEnterprise (line 20) | ASFRMCPEnterprise uint32 = 4542 type ASFDataIdentifier (line 29) | type ASFDataIdentifier struct method LayerType (line 46) | func (a ASFDataIdentifier) LayerType() gopacket.LayerType { function RegisterASFLayerType (line 58) | func RegisterASFLayerType(a ASFDataIdentifier, l gopacket.LayerType) { type ASF (line 91) | type ASF struct method LayerType (line 109) | func (*ASF) LayerType() gopacket.LayerType { method CanDecode (line 114) | func (a *ASF) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 120) | func (a *ASF) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method NextLayerType (line 140) | func (a *ASF) NextLayerType() gopacket.LayerType { method SerializeTo (line 146) | func (a *ASF) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... function decodeASF (line 164) | func decodeASF(data []byte, p gopacket.PacketBuilder) error { FILE: layers/asf_presencepong.go type ASFEntity (line 26) | type ASFEntity type ASFInteraction (line 33) | type ASFInteraction constant ASFDCMIEnterprise (line 41) | ASFDCMIEnterprise uint32 = 36465 constant ASFPresencePongEntityIPMI (line 45) | ASFPresencePongEntityIPMI ASFEntity = 1 << 7 constant ASFPresencePongEntityASFv1 (line 49) | ASFPresencePongEntityASFv1 ASFEntity = 1 constant ASFPresencePongInteractionSecurityExtensions (line 54) | ASFPresencePongInteractionSecurityExtensions ASFInteraction = 1 << 7 constant ASFPresencePongInteractionDASH (line 59) | ASFPresencePongInteractionDASH ASFInteraction = 1 << 5 type ASFPresencePong (line 64) | type ASFPresencePong struct method SupportsDCMI (line 110) | func (a *ASFPresencePong) SupportsDCMI() bool { method LayerType (line 116) | func (*ASFPresencePong) LayerType() gopacket.LayerType { method CanDecode (line 122) | func (a *ASFPresencePong) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 128) | func (a *ASFPresencePong) DecodeFromBytes(data []byte, df gopacket.Dec... method NextLayerType (line 150) | func (a *ASFPresencePong) NextLayerType() gopacket.LayerType { method SerializeTo (line 156) | func (a *ASFPresencePong) SerializeTo(b gopacket.SerializeBuffer, _ go... function decodeASFPresencePong (line 192) | func decodeASFPresencePong(data []byte, p gopacket.PacketBuilder) error { FILE: layers/asf_presencepong_test.go function TestASFPresencePongDecodeFromBytes (line 16) | func TestASFPresencePongDecodeFromBytes(t *testing.T) { function TestASFPresencePongSupportsDCMI (line 52) | func TestASFPresencePongSupportsDCMI(t *testing.T) { function serializeASFPresencePong (line 98) | func serializeASFPresencePong(pp *ASFPresencePong) ([]byte, error) { function TestASFPresencePongSerializeTo (line 104) | func TestASFPresencePongSerializeTo(t *testing.T) { FILE: layers/asf_test.go function TestASFDecodeFromBytes (line 16) | func TestASFDecodeFromBytes(t *testing.T) { function serializeASF (line 46) | func serializeASF(asf *ASF) ([]byte, error) { function TestASFSerializeTo (line 54) | func TestASFSerializeTo(t *testing.T) { FILE: layers/base.go type BaseLayer (line 15) | type BaseLayer struct method LayerContents (line 27) | func (b *BaseLayer) LayerContents() []byte { return b.Contents } method LayerPayload (line 30) | func (b *BaseLayer) LayerPayload() []byte { return b.Payload } type layerDecodingLayer (line 32) | type layerDecodingLayer interface function decodingLayerDecoder (line 38) | func decodingLayerDecoder(d layerDecodingLayer, data []byte, p gopacket.... FILE: layers/base_test.go function checkLayers (line 17) | func checkLayers(p gopacket.Packet, want []gopacket.LayerType, t *testin... function checkSerialization (line 45) | func checkSerialization(p gopacket.Packet, t *testing.T) { FILE: layers/bfd.go constant bfdMinimumRecordSizeInBytes (line 88) | bfdMinimumRecordSizeInBytes int = 24 type BFDVersion (line 91) | type BFDVersion type BFDDiagnostic (line 94) | type BFDDiagnostic method String (line 110) | func (bd BFDDiagnostic) String() string { constant BFDDiagnosticNone (line 98) | BFDDiagnosticNone BFDDiagnostic = 0 constant BFDDiagnosticTimeExpired (line 99) | BFDDiagnosticTimeExpired BFDDiagnostic = 1 constant BFDDiagnosticEchoFailed (line 100) | BFDDiagnosticEchoFailed BFDDiagnostic = 2 constant BFDDiagnosticNeighborSignalDown (line 101) | BFDDiagnosticNeighborSignalDown BFDDiagnostic = 3 constant BFDDiagnosticForwardPlaneReset (line 102) | BFDDiagnosticForwardPlaneReset BFDDiagnostic = 4 constant BFDDiagnosticPathDown (line 103) | BFDDiagnosticPathDown BFDDiagnostic = 5 constant BFDDiagnosticConcatPathDown (line 104) | BFDDiagnosticConcatPathDown BFDDiagnostic = 6 constant BFDDiagnosticAdminDown (line 105) | BFDDiagnosticAdminDown BFDDiagnostic = 7 constant BFDDiagnosticRevConcatPathDown (line 106) | BFDDiagnosticRevConcatPathDown BFDDiagnostic = 8 type BFDState (line 136) | type BFDState method String (line 147) | func (s BFDState) String() string { constant BFDStateAdminDown (line 140) | BFDStateAdminDown BFDState = 0 constant BFDStateDown (line 141) | BFDStateDown BFDState = 1 constant BFDStateInit (line 142) | BFDStateInit BFDState = 2 constant BFDStateUp (line 143) | BFDStateUp BFDState = 3 type BFDDetectMultiplier (line 165) | type BFDDetectMultiplier type BFDDiscriminator (line 169) | type BFDDiscriminator type BFDTimeInterval (line 172) | type BFDTimeInterval type BFDAuthType (line 175) | type BFDAuthType method String (line 188) | func (at BFDAuthType) String() string { constant BFDAuthTypeNone (line 179) | BFDAuthTypeNone BFDAuthType = 0 constant BFDAuthTypePassword (line 180) | BFDAuthTypePassword BFDAuthType = 1 constant BFDAuthTypeKeyedMD5 (line 181) | BFDAuthTypeKeyedMD5 BFDAuthType = 2 constant BFDAuthTypeMeticulousKeyedMD5 (line 182) | BFDAuthTypeMeticulousKeyedMD5 BFDAuthType = 3 constant BFDAuthTypeKeyedSHA1 (line 183) | BFDAuthTypeKeyedSHA1 BFDAuthType = 4 constant BFDAuthTypeMeticulousKeyedSHA1 (line 184) | BFDAuthTypeMeticulousKeyedSHA1 BFDAuthType = 5 type BFDAuthKeyID (line 209) | type BFDAuthKeyID type BFDAuthSequenceNumber (line 216) | type BFDAuthSequenceNumber type BFDAuthData (line 219) | type BFDAuthData type BFDAuthHeader (line 222) | type BFDAuthHeader struct method Length (line 231) | func (h *BFDAuthHeader) Length() int { type BFD (line 262) | type BFD struct method Length (line 286) | func (d *BFD) Length() int { method LayerType (line 295) | func (d *BFD) LayerType() gopacket.LayerType { method DecodeFromBytes (line 329) | func (d *BFD) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method SerializeTo (line 402) | func (d *BFD) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... method CanDecode (line 459) | func (d *BFD) CanDecode() gopacket.LayerClass { method NextLayerType (line 466) | func (d *BFD) NextLayerType() gopacket.LayerType { method Payload (line 471) | func (d *BFD) Payload() []byte { function decodeBFD (line 306) | func decodeBFD(data []byte, p gopacket.PacketBuilder) error { function bool2uint8 (line 476) | func bool2uint8(b bool) uint8 { FILE: layers/bfd_test.go function checkBFD (line 23) | func checkBFD(desc string, t *testing.T, packetBytes []byte, pExpectedBF... function TestBFDNoAuth (line 66) | func TestBFDNoAuth(t *testing.T) { function TestBFDAuthTypePassword (line 115) | func TestBFDAuthTypePassword(t *testing.T) { function TestBFDAuthTypeKeyedMD5 (line 170) | func TestBFDAuthTypeKeyedMD5(t *testing.T) { function TestBFDAuthTypeMeticulousKeyedSHA1 (line 230) | func TestBFDAuthTypeMeticulousKeyedSHA1(t *testing.T) { FILE: layers/bitfield.go type bitfield (line 8) | type bitfield method set (line 11) | func (b *bitfield) set(i uint16) { method has (line 16) | func (b *bitfield) has(i uint16) bool { FILE: layers/bitfield_test.go function TestBitfield (line 5) | func TestBitfield(t *testing.T) { function TestBitfieldStressTest (line 28) | func TestBitfieldStressTest(t *testing.T) { FILE: layers/cdp.go type CDPTLVType (line 24) | type CDPTLVType method String (line 550) | func (t CDPTLVType) String() (s string) { constant CDPTLVDevID (line 28) | CDPTLVDevID CDPTLVType = 0x0001 constant CDPTLVAddress (line 29) | CDPTLVAddress CDPTLVType = 0x0002 constant CDPTLVPortID (line 30) | CDPTLVPortID CDPTLVType = 0x0003 constant CDPTLVCapabilities (line 31) | CDPTLVCapabilities CDPTLVType = 0x0004 constant CDPTLVVersion (line 32) | CDPTLVVersion CDPTLVType = 0x0005 constant CDPTLVPlatform (line 33) | CDPTLVPlatform CDPTLVType = 0x0006 constant CDPTLVIPPrefix (line 34) | CDPTLVIPPrefix CDPTLVType = 0x0007 constant CDPTLVHello (line 35) | CDPTLVHello CDPTLVType = 0x0008 constant CDPTLVVTPDomain (line 36) | CDPTLVVTPDomain CDPTLVType = 0x0009 constant CDPTLVNativeVLAN (line 37) | CDPTLVNativeVLAN CDPTLVType = 0x000a constant CDPTLVFullDuplex (line 38) | CDPTLVFullDuplex CDPTLVType = 0x000b constant CDPTLVVLANReply (line 39) | CDPTLVVLANReply CDPTLVType = 0x000e constant CDPTLVVLANQuery (line 40) | CDPTLVVLANQuery CDPTLVType = 0x000f constant CDPTLVPower (line 41) | CDPTLVPower CDPTLVType = 0x0010 constant CDPTLVMTU (line 42) | CDPTLVMTU CDPTLVType = 0x0011 constant CDPTLVExtendedTrust (line 43) | CDPTLVExtendedTrust CDPTLVType = 0x0012 constant CDPTLVUntrustedCOS (line 44) | CDPTLVUntrustedCOS CDPTLVType = 0x0013 constant CDPTLVSysName (line 45) | CDPTLVSysName CDPTLVType = 0x0014 constant CDPTLVSysOID (line 46) | CDPTLVSysOID CDPTLVType = 0x0015 constant CDPTLVMgmtAddresses (line 47) | CDPTLVMgmtAddresses CDPTLVType = 0x0016 constant CDPTLVLocation (line 48) | CDPTLVLocation CDPTLVType = 0x0017 constant CDPTLVExternalPortID (line 49) | CDPTLVExternalPortID CDPTLVType = 0x0018 constant CDPTLVPowerRequested (line 50) | CDPTLVPowerRequested CDPTLVType = 0x0019 constant CDPTLVPowerAvailable (line 51) | CDPTLVPowerAvailable CDPTLVType = 0x001a constant CDPTLVPortUnidirectional (line 52) | CDPTLVPortUnidirectional CDPTLVType = 0x001b constant CDPTLVEnergyWise (line 53) | CDPTLVEnergyWise CDPTLVType = 0x001d constant CDPTLVSparePairPOE (line 54) | CDPTLVSparePairPOE CDPTLVType = 0x001f type CiscoDiscoveryValue (line 58) | type CiscoDiscoveryValue struct type CiscoDiscovery (line 66) | type CiscoDiscovery struct method LayerType (line 217) | func (c *CiscoDiscovery) LayerType() gopacket.LayerType { type CDPCapability (line 75) | type CDPCapability constant CDPCapMaskRouter (line 79) | CDPCapMaskRouter CDPCapability = 0x0001 constant CDPCapMaskTBBridge (line 80) | CDPCapMaskTBBridge CDPCapability = 0x0002 constant CDPCapMaskSPBridge (line 81) | CDPCapMaskSPBridge CDPCapability = 0x0004 constant CDPCapMaskSwitch (line 82) | CDPCapMaskSwitch CDPCapability = 0x0008 constant CDPCapMaskHost (line 83) | CDPCapMaskHost CDPCapability = 0x0010 constant CDPCapMaskIGMPFilter (line 84) | CDPCapMaskIGMPFilter CDPCapability = 0x0020 constant CDPCapMaskRepeater (line 85) | CDPCapMaskRepeater CDPCapability = 0x0040 constant CDPCapMaskPhone (line 86) | CDPCapMaskPhone CDPCapability = 0x0080 constant CDPCapMaskRemote (line 87) | CDPCapMaskRemote CDPCapability = 0x0100 type CDPCapabilities (line 91) | type CDPCapabilities struct constant CDPPoEFourWire (line 105) | CDPPoEFourWire byte = 0x01 constant CDPPoEPDArch (line 106) | CDPPoEPDArch byte = 0x02 constant CDPPoEPDRequest (line 107) | CDPPoEPDRequest byte = 0x04 constant CDPPoEPSE (line 108) | CDPPoEPSE byte = 0x08 type CDPSparePairPoE (line 112) | type CDPSparePairPoE struct type CDPVLANDialogue (line 120) | type CDPVLANDialogue struct type CDPPowerDialogue (line 126) | type CDPPowerDialogue struct type CDPLocation (line 133) | type CDPLocation struct type CDPHello (line 139) | type CDPHello struct type CDPEnergyWiseSubtype (line 155) | type CDPEnergyWiseSubtype method String (line 638) | func (t CDPEnergyWiseSubtype) String() (s string) { constant CDPEnergyWiseRole (line 159) | CDPEnergyWiseRole CDPEnergyWiseSubtype = 0x00000007 constant CDPEnergyWiseDomain (line 160) | CDPEnergyWiseDomain CDPEnergyWiseSubtype = 0x00000008 constant CDPEnergyWiseName (line 161) | CDPEnergyWiseName CDPEnergyWiseSubtype = 0x00000009 constant CDPEnergyWiseReplyTo (line 162) | CDPEnergyWiseReplyTo CDPEnergyWiseSubtype = 0x00000017 type CDPEnergyWise (line 166) | type CDPEnergyWise struct type CiscoDiscoveryInfo (line 186) | type CiscoDiscoveryInfo struct method LayerType (line 242) | func (c *CiscoDiscoveryInfo) LayerType() gopacket.LayerType { function decodeCiscoDiscovery (line 221) | func decodeCiscoDiscovery(data []byte, p gopacket.PacketBuilder) error { function decodeCiscoDiscoveryTLVs (line 246) | func decodeCiscoDiscoveryTLVs(data []byte, p gopacket.PacketBuilder) (va... function decodeCiscoDiscoveryInfo (line 270) | func decodeCiscoDiscoveryInfo(data []byte, p gopacket.PacketBuilder) err... constant CDPProtocolTypeNLPID (line 490) | CDPProtocolTypeNLPID byte = 1 constant CDPProtocolType802_2 (line 491) | CDPProtocolType802_2 byte = 2 type CDPAddressType (line 495) | type CDPAddressType method String (line 612) | func (a CDPAddressType) String() (s string) { constant CDPAddressTypeCLNP (line 499) | CDPAddressTypeCLNP CDPAddressType = 0x81 constant CDPAddressTypeIPV4 (line 500) | CDPAddressTypeIPV4 CDPAddressType = 0xcc constant CDPAddressTypeIPV6 (line 501) | CDPAddressTypeIPV6 CDPAddressType = 0xaaaa030000000800 constant CDPAddressTypeDECNET (line 502) | CDPAddressTypeDECNET CDPAddressType = 0xaaaa030000006003 constant CDPAddressTypeAPPLETALK (line 503) | CDPAddressTypeAPPLETALK CDPAddressType = 0xaaaa03000000809b constant CDPAddressTypeIPX (line 504) | CDPAddressTypeIPX CDPAddressType = 0xaaaa030000008137 constant CDPAddressTypeVINES (line 505) | CDPAddressTypeVINES CDPAddressType = 0xaaaa0300000080c4 constant CDPAddressTypeXNS (line 506) | CDPAddressTypeXNS CDPAddressType = 0xaaaa030000000600 constant CDPAddressTypeAPOLLO (line 507) | CDPAddressTypeAPOLLO CDPAddressType = 0xaaaa030000008019 function decodeAddresses (line 510) | func decodeAddresses(v []byte) (addresses []net.IP, err error) { function checkCDPTLVLen (line 654) | func checkCDPTLVLen(v CiscoDiscoveryValue, l int) (err error) { FILE: layers/ctp.go type EthernetCTPFunction (line 17) | type EthernetCTPFunction constant EthernetCTPFunctionReply (line 21) | EthernetCTPFunctionReply EthernetCTPFunction = 1 constant EthernetCTPFunctionForwardData (line 22) | EthernetCTPFunctionForwardData EthernetCTPFunction = 2 type EthernetCTP (line 28) | type EthernetCTP struct method LayerType (line 34) | func (c *EthernetCTP) LayerType() gopacket.LayerType { type EthernetCTPForwardData (line 40) | type EthernetCTPForwardData struct method LayerType (line 47) | func (c *EthernetCTPForwardData) LayerType() gopacket.LayerType { method ForwardEndpoint (line 52) | func (c *EthernetCTPForwardData) ForwardEndpoint() gopacket.Endpoint { type EthernetCTPReply (line 57) | type EthernetCTPReply struct method LayerType (line 65) | func (c *EthernetCTPReply) LayerType() gopacket.LayerType { method Payload (line 70) | func (c *EthernetCTPReply) Payload() []byte { return c.Data } function decodeEthernetCTP (line 72) | func decodeEthernetCTP(data []byte, p gopacket.PacketBuilder) error { function decodeEthernetCTPFromFunctionType (line 86) | func decodeEthernetCTPFromFunctionType(data []byte, p gopacket.PacketBui... FILE: layers/decode_test.go function BenchmarkLayerClassSliceContains (line 69) | func BenchmarkLayerClassSliceContains(b *testing.B) { function BenchmarkLayerClassMapContains (line 76) | func BenchmarkLayerClassMapContains(b *testing.B) { function BenchmarkLazyNoCopyEthLayer (line 83) | func BenchmarkLazyNoCopyEthLayer(b *testing.B) { function BenchmarkLazyNoCopyIPLayer (line 89) | func BenchmarkLazyNoCopyIPLayer(b *testing.B) { function BenchmarkLazyNoCopyTCPLayer (line 95) | func BenchmarkLazyNoCopyTCPLayer(b *testing.B) { function BenchmarkLazyNoCopyAllLayers (line 101) | func BenchmarkLazyNoCopyAllLayers(b *testing.B) { function BenchmarkDefault (line 107) | func BenchmarkDefault(b *testing.B) { function getSerializeLayers (line 113) | func getSerializeLayers() []gopacket.SerializableLayer { function BenchmarkSerializeTcpNoOptions (line 124) | func BenchmarkSerializeTcpNoOptions(b *testing.B) { function BenchmarkSerializeTcpFixLengths (line 133) | func BenchmarkSerializeTcpFixLengths(b *testing.B) { function BenchmarkSerializeTcpComputeChecksums (line 142) | func BenchmarkSerializeTcpComputeChecksums(b *testing.B) { function BenchmarkSerializeTcpFixLengthsComputeChecksums (line 151) | func BenchmarkSerializeTcpFixLengthsComputeChecksums(b *testing.B) { function BenchmarkLazy (line 160) | func BenchmarkLazy(b *testing.B) { function BenchmarkNoCopy (line 166) | func BenchmarkNoCopy(b *testing.B) { function BenchmarkLazyNoCopy (line 172) | func BenchmarkLazyNoCopy(b *testing.B) { function BenchmarkKnownStack (line 178) | func BenchmarkKnownStack(b *testing.B) { function BenchmarkDecodingLayerParserIgnorePanic (line 190) | func BenchmarkDecodingLayerParserIgnorePanic(b *testing.B) { function BenchmarkDecodingLayerParserHandlePanic (line 199) | func BenchmarkDecodingLayerParserHandlePanic(b *testing.B) { function benchmarkDecodingLayerParser (line 208) | func benchmarkDecodingLayerParser(b *testing.B, dlc gopacket.DecodingLay... function BenchmarkDecodingLayerParserSparseIgnorePanic (line 222) | func BenchmarkDecodingLayerParserSparseIgnorePanic(b *testing.B) { function BenchmarkDecodingLayerParserSparseHandlePanic (line 226) | func BenchmarkDecodingLayerParserSparseHandlePanic(b *testing.B) { function BenchmarkDecodingLayerParserArrayIgnorePanic (line 230) | func BenchmarkDecodingLayerParserArrayIgnorePanic(b *testing.B) { function BenchmarkDecodingLayerParserArrayHandlePanic (line 234) | func BenchmarkDecodingLayerParserArrayHandlePanic(b *testing.B) { function BenchmarkDecodingLayerParserMapIgnorePanic (line 238) | func BenchmarkDecodingLayerParserMapIgnorePanic(b *testing.B) { function BenchmarkDecodingLayerParserMapHandlePanic (line 242) | func BenchmarkDecodingLayerParserMapHandlePanic(b *testing.B) { function benchmarkDecodingLayerContainer (line 246) | func benchmarkDecodingLayerContainer(b *testing.B, dlc gopacket.Decoding... function BenchmarkDecodingLayerArray (line 259) | func BenchmarkDecodingLayerArray(b *testing.B) { function BenchmarkDecodingLayerMap (line 263) | func BenchmarkDecodingLayerMap(b *testing.B) { function BenchmarkDecodingLayerSparse (line 267) | func BenchmarkDecodingLayerSparse(b *testing.B) { function BenchmarkAlloc (line 271) | func BenchmarkAlloc(b *testing.B) { function BenchmarkFlow (line 277) | func BenchmarkFlow(b *testing.B) { function BenchmarkEndpoints (line 285) | func BenchmarkEndpoints(b *testing.B) { function BenchmarkTCPLayerFromDecodedPacket (line 293) | func BenchmarkTCPLayerFromDecodedPacket(b *testing.B) { function BenchmarkTCPLayerClassFromDecodedPacket (line 302) | func BenchmarkTCPLayerClassFromDecodedPacket(b *testing.B) { function BenchmarkTCPTransportLayerFromDecodedPacket (line 312) | func BenchmarkTCPTransportLayerFromDecodedPacket(b *testing.B) { function testDecoder (line 321) | func testDecoder([]byte, gopacket.PacketBuilder) error { function BenchmarkDecodeFuncCallOverheadDirectCall (line 325) | func BenchmarkDecodeFuncCallOverheadDirectCall(b *testing.B) { function BenchmarkDecodeFuncCallOverheadDecoderCall (line 333) | func BenchmarkDecodeFuncCallOverheadDecoderCall(b *testing.B) { function BenchmarkDecodeFuncCallOverheadArrayCall (line 342) | func BenchmarkDecodeFuncCallOverheadArrayCall(b *testing.B) { function BenchmarkFmtVerboseString (line 352) | func BenchmarkFmtVerboseString(b *testing.B) { function BenchmarkPacketString (line 361) | func BenchmarkPacketString(b *testing.B) { function BenchmarkPacketDumpString (line 370) | func BenchmarkPacketDumpString(b *testing.B) { function TestFlowMapKey (line 380) | func TestFlowMapKey(t *testing.T) { function TestDecodeSimpleTCPPacket (line 386) | func TestDecodeSimpleTCPPacket(t *testing.T) { type canSetNetLayer (line 494) | type canSetNetLayer interface function testSerialization (line 498) | func testSerialization(t *testing.T, p gopacket.Packet, data []byte) { function testSerializationWithOpts (line 509) | func testSerializationWithOpts(t *testing.T, p gopacket.Packet, data []b... function TestDecodeSmallTCPPacketHasEmptyPayload (line 532) | func TestDecodeSmallTCPPacketHasEmptyPayload(t *testing.T) { function TestDecodeVLANPacket (line 549) | func TestDecodeVLANPacket(t *testing.T) { function TestDecodeSCTPPackets (line 574) | func TestDecodeSCTPPackets(t *testing.T) { function TestDecodeCiscoDiscovery (line 686) | func TestDecodeCiscoDiscovery(t *testing.T) { function TestDecodeLinkLayerDiscovery (line 758) | func TestDecodeLinkLayerDiscovery(t *testing.T) { function TestDecodeNortelDiscovery (line 963) | func TestDecodeNortelDiscovery(t *testing.T) { function TestDecodeIPv6Jumbogram (line 991) | func TestDecodeIPv6Jumbogram(t *testing.T) { function TestDecodeUDPPacketTooSmall (line 1018) | func TestDecodeUDPPacketTooSmall(t *testing.T) { function TestDecodingLayerParserFullTCPPacket (line 1033) | func TestDecodingLayerParserFullTCPPacket(t *testing.T) { function testDecodingLayerContainer (line 1045) | func testDecodingLayerContainer(t *testing.T, dlc gopacket.DecodingLayer... function TestDecodingLayerMap (line 1067) | func TestDecodingLayerMap(t *testing.T) { function TestDecodingLayerSparse (line 1071) | func TestDecodingLayerSparse(t *testing.T) { function TestDecodingLayerArray (line 1075) | func TestDecodingLayerArray(t *testing.T) { function TestICMP (line 1094) | func TestICMP(t *testing.T) { function BenchmarkDecodeICMP (line 1102) | func BenchmarkDecodeICMP(b *testing.B) { function TestICMP6 (line 1125) | func TestICMP6(t *testing.T) { function BenchmarkDecodeICMP6 (line 1133) | func BenchmarkDecodeICMP6(b *testing.B) { function TestMPLS (line 1160) | func TestMPLS(t *testing.T) { function BenchmarkDecodeMPLS (line 1168) | func BenchmarkDecodeMPLS(b *testing.B) { function TestPPPGREIPv4IPv6VLAN (line 1204) | func TestPPPGREIPv4IPv6VLAN(t *testing.T) { function TestPPPoEICMPv6 (line 1240) | func TestPPPoEICMPv6(t *testing.T) { function BenchmarkDecodePPPoEICMPv6 (line 1255) | func BenchmarkDecodePPPoEICMPv6(b *testing.B) { function TestPFLogUDP (line 1271) | func TestPFLogUDP(t *testing.T) { function TestRegressionDot1QPriority (line 1284) | func TestRegressionDot1QPriority(t *testing.T) { function TestPacketMPLSInMPLS (line 1320) | func TestPacketMPLSInMPLS(t *testing.T) { function TestPacketIPv4Fragmented (line 1349) | func TestPacketIPv4Fragmented(t *testing.T) { function TestSCTPChunkBadLength (line 1359) | func TestSCTPChunkBadLength(t *testing.T) { function TestSTP (line 1371) | func TestSTP(t *testing.T) { FILE: layers/dhcp_test.go function TestDHCPv4EncodeRequest (line 17) | func TestDHCPv4EncodeRequest(t *testing.T) { function TestDHCPv4EncodeResponse (line 44) | func TestDHCPv4EncodeResponse(t *testing.T) { function TestDHCPv4DecodeOption (line 70) | func TestDHCPv4DecodeOption(t *testing.T) { function testDHCPEqual (line 122) | func testDHCPEqual(t *testing.T, d1, d2 *DHCPv4) { function testDHCPOptionEqual (line 174) | func testDHCPOptionEqual(t *testing.T, idx int, d1, d2 DHCPOption) { FILE: layers/dhcpv4.go type DHCPOp (line 19) | type DHCPOp method String (line 28) | func (o DHCPOp) String() string { constant DHCPOpRequest (line 23) | DHCPOpRequest DHCPOp = 1 constant DHCPOpReply (line 24) | DHCPOpReply DHCPOp = 2 type DHCPMsgType (line 40) | type DHCPMsgType method String (line 56) | func (o DHCPMsgType) String() string { constant DHCPMsgTypeUnspecified (line 44) | DHCPMsgTypeUnspecified DHCPMsgType = iota constant DHCPMsgTypeDiscover (line 45) | DHCPMsgTypeDiscover constant DHCPMsgTypeOffer (line 46) | DHCPMsgTypeOffer constant DHCPMsgTypeRequest (line 47) | DHCPMsgTypeRequest constant DHCPMsgTypeDecline (line 48) | DHCPMsgTypeDecline constant DHCPMsgTypeAck (line 49) | DHCPMsgTypeAck constant DHCPMsgTypeNak (line 50) | DHCPMsgTypeNak constant DHCPMsgTypeRelease (line 51) | DHCPMsgTypeRelease constant DHCPMsgTypeInform (line 52) | DHCPMsgTypeInform type DHCPv4 (line 85) | type DHCPv4 struct method LayerType (line 123) | func (d *DHCPv4) LayerType() gopacket.LayerType { return LayerTypeDHCP... method DecodeFromBytes (line 126) | func (d *DHCPv4) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method Len (line 182) | func (d *DHCPv4) Len() uint16 { method SerializeTo (line 198) | func (d *DHCPv4) SerializeTo(b gopacket.SerializeBuffer, opts gopacket... method CanDecode (line 247) | func (d *DHCPv4) CanDecode() gopacket.LayerClass { method NextLayerType (line 252) | func (d *DHCPv4) NextLayerType() gopacket.LayerType { type DHCPOptions (line 106) | type DHCPOptions method String (line 109) | func (o DHCPOptions) String() string { function decodeDHCPv4 (line 256) | func decodeDHCPv4(data []byte, p gopacket.PacketBuilder) error { type DHCPOpt (line 267) | type DHCPOpt method String (line 341) | func (o DHCPOpt) String() string { constant DHCPOptPad (line 271) | DHCPOptPad DHCPOpt = 0 constant DHCPOptSubnetMask (line 272) | DHCPOptSubnetMask DHCPOpt = 1 constant DHCPOptTimeOffset (line 273) | DHCPOptTimeOffset DHCPOpt = 2 constant DHCPOptRouter (line 274) | DHCPOptRouter DHCPOpt = 3 constant DHCPOptTimeServer (line 275) | DHCPOptTimeServer DHCPOpt = 4 constant DHCPOptNameServer (line 276) | DHCPOptNameServer DHCPOpt = 5 constant DHCPOptDNS (line 277) | DHCPOptDNS DHCPOpt = 6 constant DHCPOptLogServer (line 278) | DHCPOptLogServer DHCPOpt = 7 constant DHCPOptCookieServer (line 279) | DHCPOptCookieServer DHCPOpt = 8 constant DHCPOptLPRServer (line 280) | DHCPOptLPRServer DHCPOpt = 9 constant DHCPOptImpressServer (line 281) | DHCPOptImpressServer DHCPOpt = 10 constant DHCPOptResLocServer (line 282) | DHCPOptResLocServer DHCPOpt = 11 constant DHCPOptHostname (line 283) | DHCPOptHostname DHCPOpt = 12 constant DHCPOptBootfileSize (line 284) | DHCPOptBootfileSize DHCPOpt = 13 constant DHCPOptMeritDumpFile (line 285) | DHCPOptMeritDumpFile DHCPOpt = 14 constant DHCPOptDomainName (line 286) | DHCPOptDomainName DHCPOpt = 15 constant DHCPOptSwapServer (line 287) | DHCPOptSwapServer DHCPOpt = 16 constant DHCPOptRootPath (line 288) | DHCPOptRootPath DHCPOpt = 17 constant DHCPOptExtensionsPath (line 289) | DHCPOptExtensionsPath DHCPOpt = 18 constant DHCPOptIPForwarding (line 290) | DHCPOptIPForwarding DHCPOpt = 19 constant DHCPOptSourceRouting (line 291) | DHCPOptSourceRouting DHCPOpt = 20 constant DHCPOptPolicyFilter (line 292) | DHCPOptPolicyFilter DHCPOpt = 21 constant DHCPOptDatagramMTU (line 293) | DHCPOptDatagramMTU DHCPOpt = 22 constant DHCPOptDefaultTTL (line 294) | DHCPOptDefaultTTL DHCPOpt = 23 constant DHCPOptPathMTUAgingTimeout (line 295) | DHCPOptPathMTUAgingTimeout DHCPOpt = 24 constant DHCPOptPathPlateuTableOption (line 296) | DHCPOptPathPlateuTableOption DHCPOpt = 25 constant DHCPOptInterfaceMTU (line 297) | DHCPOptInterfaceMTU DHCPOpt = 26 constant DHCPOptAllSubsLocal (line 298) | DHCPOptAllSubsLocal DHCPOpt = 27 constant DHCPOptBroadcastAddr (line 299) | DHCPOptBroadcastAddr DHCPOpt = 28 constant DHCPOptMaskDiscovery (line 300) | DHCPOptMaskDiscovery DHCPOpt = 29 constant DHCPOptMaskSupplier (line 301) | DHCPOptMaskSupplier DHCPOpt = 30 constant DHCPOptRouterDiscovery (line 302) | DHCPOptRouterDiscovery DHCPOpt = 31 constant DHCPOptSolicitAddr (line 303) | DHCPOptSolicitAddr DHCPOpt = 32 constant DHCPOptStaticRoute (line 304) | DHCPOptStaticRoute DHCPOpt = 33 constant DHCPOptARPTrailers (line 305) | DHCPOptARPTrailers DHCPOpt = 34 constant DHCPOptARPTimeout (line 306) | DHCPOptARPTimeout DHCPOpt = 35 constant DHCPOptEthernetEncap (line 307) | DHCPOptEthernetEncap DHCPOpt = 36 constant DHCPOptTCPTTL (line 308) | DHCPOptTCPTTL DHCPOpt = 37 constant DHCPOptTCPKeepAliveInt (line 309) | DHCPOptTCPKeepAliveInt DHCPOpt = 38 constant DHCPOptTCPKeepAliveGarbage (line 310) | DHCPOptTCPKeepAliveGarbage DHCPOpt = 39 constant DHCPOptNISDomain (line 311) | DHCPOptNISDomain DHCPOpt = 40 constant DHCPOptNISServers (line 312) | DHCPOptNISServers DHCPOpt = 41 constant DHCPOptNTPServers (line 313) | DHCPOptNTPServers DHCPOpt = 42 constant DHCPOptVendorOption (line 314) | DHCPOptVendorOption DHCPOpt = 43 constant DHCPOptNetBIOSTCPNS (line 315) | DHCPOptNetBIOSTCPNS DHCPOpt = 44 constant DHCPOptNetBIOSTCPDDS (line 316) | DHCPOptNetBIOSTCPDDS DHCPOpt = 45 constant DHCPOptNETBIOSTCPNodeType (line 317) | DHCPOptNETBIOSTCPNodeType DHCPOpt = 46 constant DHCPOptNetBIOSTCPScope (line 318) | DHCPOptNetBIOSTCPScope DHCPOpt = 47 constant DHCPOptXFontServer (line 319) | DHCPOptXFontServer DHCPOpt = 48 constant DHCPOptXDisplayManager (line 320) | DHCPOptXDisplayManager DHCPOpt = 49 constant DHCPOptRequestIP (line 321) | DHCPOptRequestIP DHCPOpt = 50 constant DHCPOptLeaseTime (line 322) | DHCPOptLeaseTime DHCPOpt = 51 constant DHCPOptExtOptions (line 323) | DHCPOptExtOptions DHCPOpt = 52 constant DHCPOptMessageType (line 324) | DHCPOptMessageType DHCPOpt = 53 constant DHCPOptServerID (line 325) | DHCPOptServerID DHCPOpt = 54 constant DHCPOptParamsRequest (line 326) | DHCPOptParamsRequest DHCPOpt = 55 constant DHCPOptMessage (line 327) | DHCPOptMessage DHCPOpt = 56 constant DHCPOptMaxMessageSize (line 328) | DHCPOptMaxMessageSize DHCPOpt = 57 constant DHCPOptT1 (line 329) | DHCPOptT1 DHCPOpt = 58 constant DHCPOptT2 (line 330) | DHCPOptT2 DHCPOpt = 59 constant DHCPOptClassID (line 331) | DHCPOptClassID DHCPOpt = 60 constant DHCPOptClientID (line 332) | DHCPOptClientID DHCPOpt = 61 constant DHCPOptDomainSearch (line 333) | DHCPOptDomainSearch DHCPOpt = 119 constant DHCPOptSIPServers (line 334) | DHCPOptSIPServers DHCPOpt = 120 constant DHCPOptClasslessStaticRoute (line 335) | DHCPOptClasslessStaticRoute DHCPOpt = 121 constant DHCPOptMUDURLV4 (line 336) | DHCPOptMUDURLV4 DHCPOpt = 161 constant DHCPOptEnd (line 337) | DHCPOptEnd DHCPOpt = 255 type DHCPOption (line 483) | type DHCPOption struct method String (line 490) | func (o DHCPOption) String() string { method encode (line 546) | func (o *DHCPOption) encode(b []byte) error { method decode (line 558) | func (o *DHCPOption) decode(data []byte) error { function NewDHCPOption (line 537) | func NewDHCPOption(t DHCPOpt, data []byte) DHCPOption { type DHCPv4Error (line 581) | type DHCPv4Error method Error (line 584) | func (d DHCPv4Error) Error() string { constant DecOptionNotEnoughData (line 590) | DecOptionNotEnoughData = DHCPv4Error("Not enough data to decode") constant DecOptionMalformed (line 592) | DecOptionMalformed = DHCPv4Error("Option is malformed") constant InvalidMagicCookie (line 594) | InvalidMagicCookie = DHCPv4Error("Bad DHCP header") FILE: layers/dhcpv6.go type DHCPv6MsgType (line 18) | type DHCPv6MsgType method String (line 39) | func (o DHCPv6MsgType) String() string { constant DHCPv6MsgTypeUnspecified (line 22) | DHCPv6MsgTypeUnspecified DHCPv6MsgType = iota constant DHCPv6MsgTypeSolicit (line 23) | DHCPv6MsgTypeSolicit constant DHCPv6MsgTypeAdvertise (line 24) | DHCPv6MsgTypeAdvertise constant DHCPv6MsgTypeRequest (line 25) | DHCPv6MsgTypeRequest constant DHCPv6MsgTypeConfirm (line 26) | DHCPv6MsgTypeConfirm constant DHCPv6MsgTypeRenew (line 27) | DHCPv6MsgTypeRenew constant DHCPv6MsgTypeRebind (line 28) | DHCPv6MsgTypeRebind constant DHCPv6MsgTypeReply (line 29) | DHCPv6MsgTypeReply constant DHCPv6MsgTypeRelease (line 30) | DHCPv6MsgTypeRelease constant DHCPv6MsgTypeDecline (line 31) | DHCPv6MsgTypeDecline constant DHCPv6MsgTypeReconfigure (line 32) | DHCPv6MsgTypeReconfigure constant DHCPv6MsgTypeInformationRequest (line 33) | DHCPv6MsgTypeInformationRequest constant DHCPv6MsgTypeRelayForward (line 34) | DHCPv6MsgTypeRelayForward constant DHCPv6MsgTypeRelayReply (line 35) | DHCPv6MsgTypeRelayReply type DHCPv6 (line 75) | type DHCPv6 struct method LayerType (line 86) | func (d *DHCPv6) LayerType() gopacket.LayerType { return LayerTypeDHCP... method DecodeFromBytes (line 89) | func (d *DHCPv6) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method Len (line 127) | func (d *DHCPv6) Len() int { method SerializeTo (line 145) | func (d *DHCPv6) SerializeTo(b gopacket.SerializeBuffer, opts gopacket... method CanDecode (line 177) | func (d *DHCPv6) CanDecode() gopacket.LayerClass { method NextLayerType (line 182) | func (d *DHCPv6) NextLayerType() gopacket.LayerType { function decodeDHCPv6 (line 186) | func decodeDHCPv6(data []byte, p gopacket.PacketBuilder) error { type DHCPv6StatusCode (line 197) | type DHCPv6StatusCode method String (line 210) | func (o DHCPv6StatusCode) String() string { constant DHCPv6StatusCodeSuccess (line 201) | DHCPv6StatusCodeSuccess DHCPv6StatusCode = iota constant DHCPv6StatusCodeUnspecFail (line 202) | DHCPv6StatusCodeUnspecFail constant DHCPv6StatusCodeNoAddrsAvail (line 203) | DHCPv6StatusCodeNoAddrsAvail constant DHCPv6StatusCodeNoBinding (line 204) | DHCPv6StatusCodeNoBinding constant DHCPv6StatusCodeNotOnLink (line 205) | DHCPv6StatusCodeNotOnLink constant DHCPv6StatusCodeUseMulticast (line 206) | DHCPv6StatusCodeUseMulticast type DHCPv6DUIDType (line 230) | type DHCPv6DUIDType method String (line 240) | func (o DHCPv6DUIDType) String() string { constant DHCPv6DUIDTypeLLT (line 234) | DHCPv6DUIDTypeLLT DHCPv6DUIDType = iota + 1 constant DHCPv6DUIDTypeEN (line 235) | DHCPv6DUIDTypeEN constant DHCPv6DUIDTypeLL (line 236) | DHCPv6DUIDTypeLL type DHCPv6DUID (line 254) | type DHCPv6DUID struct method DecodeFromBytes (line 269) | func (d *DHCPv6DUID) DecodeFromBytes(data []byte) error { method Encode (line 305) | func (d *DHCPv6DUID) Encode() []byte { method Len (line 328) | func (d *DHCPv6DUID) Len() int { method String (line 341) | func (d *DHCPv6DUID) String() string { function decodeDHCPv6DUID (line 353) | func decodeDHCPv6DUID(data []byte) (*DHCPv6DUID, error) { FILE: layers/dhcpv6_options.go type DHCPv6Opt (line 18) | type DHCPv6Opt method String (line 263) | func (o DHCPv6Opt) String() string { constant DHCPv6OptClientID (line 22) | DHCPv6OptClientID DHCPv6Opt = 1 constant DHCPv6OptServerID (line 23) | DHCPv6OptServerID DHCPv6Opt = 2 constant DHCPv6OptIANA (line 24) | DHCPv6OptIANA DHCPv6Opt = 3 constant DHCPv6OptIATA (line 25) | DHCPv6OptIATA DHCPv6Opt = 4 constant DHCPv6OptIAAddr (line 26) | DHCPv6OptIAAddr DHCPv6Opt = 5 constant DHCPv6OptOro (line 27) | DHCPv6OptOro DHCPv6Opt = 6 constant DHCPv6OptPreference (line 28) | DHCPv6OptPreference DHCPv6Opt = 7 constant DHCPv6OptElapsedTime (line 29) | DHCPv6OptElapsedTime DHCPv6Opt = 8 constant DHCPv6OptRelayMessage (line 30) | DHCPv6OptRelayMessage DHCPv6Opt = 9 constant DHCPv6OptAuth (line 31) | DHCPv6OptAuth DHCPv6Opt = 11 constant DHCPv6OptUnicast (line 32) | DHCPv6OptUnicast DHCPv6Opt = 12 constant DHCPv6OptStatusCode (line 33) | DHCPv6OptStatusCode DHCPv6Opt = 13 constant DHCPv6OptRapidCommit (line 34) | DHCPv6OptRapidCommit DHCPv6Opt = 14 constant DHCPv6OptUserClass (line 35) | DHCPv6OptUserClass DHCPv6Opt = 15 constant DHCPv6OptVendorClass (line 36) | DHCPv6OptVendorClass DHCPv6Opt = 16 constant DHCPv6OptVendorOpts (line 37) | DHCPv6OptVendorOpts DHCPv6Opt = 17 constant DHCPv6OptInterfaceID (line 38) | DHCPv6OptInterfaceID DHCPv6Opt = 18 constant DHCPv6OptReconfigureMessage (line 39) | DHCPv6OptReconfigureMessage DHCPv6Opt = 19 constant DHCPv6OptReconfigureAccept (line 40) | DHCPv6OptReconfigureAccept DHCPv6Opt = 20 constant DHCPv6OptSIPServersDomainList (line 43) | DHCPv6OptSIPServersDomainList DHCPv6Opt = 21 constant DHCPv6OptSIPServersAddressList (line 44) | DHCPv6OptSIPServersAddressList DHCPv6Opt = 22 constant DHCPv6OptDNSServers (line 47) | DHCPv6OptDNSServers DHCPv6Opt = 23 constant DHCPv6OptDomainList (line 48) | DHCPv6OptDomainList DHCPv6Opt = 24 constant DHCPv6OptIAPD (line 51) | DHCPv6OptIAPD DHCPv6Opt = 25 constant DHCPv6OptIAPrefix (line 52) | DHCPv6OptIAPrefix DHCPv6Opt = 26 constant DHCPv6OptNISServers (line 55) | DHCPv6OptNISServers DHCPv6Opt = 27 constant DHCPv6OptNISPServers (line 56) | DHCPv6OptNISPServers DHCPv6Opt = 28 constant DHCPv6OptNISDomainName (line 57) | DHCPv6OptNISDomainName DHCPv6Opt = 29 constant DHCPv6OptNISPDomainName (line 58) | DHCPv6OptNISPDomainName DHCPv6Opt = 30 constant DHCPv6OptSNTPServers (line 61) | DHCPv6OptSNTPServers DHCPv6Opt = 31 constant DHCPv6OptInformationRefreshTime (line 64) | DHCPv6OptInformationRefreshTime DHCPv6Opt = 32 constant DHCPv6OptBCMCSServerDomainNameList (line 67) | DHCPv6OptBCMCSServerDomainNameList DHCPv6Opt = 33 constant DHCPv6OptBCMCSServerAddressList (line 68) | DHCPv6OptBCMCSServerAddressList DHCPv6Opt = 34 constant DHCPv6OptGeoconfCivic (line 71) | DHCPv6OptGeoconfCivic DHCPv6Opt = 36 constant DHCPv6OptRemoteID (line 74) | DHCPv6OptRemoteID DHCPv6Opt = 37 constant DHCPv6OptSubscriberID (line 77) | DHCPv6OptSubscriberID DHCPv6Opt = 38 constant DHCPv6OptClientFQDN (line 80) | DHCPv6OptClientFQDN DHCPv6Opt = 39 constant DHCPv6OptPanaAgent (line 83) | DHCPv6OptPanaAgent DHCPv6Opt = 40 constant DHCPv6OptNewPOSIXTimezone (line 86) | DHCPv6OptNewPOSIXTimezone DHCPv6Opt = 41 constant DHCPv6OptNewTZDBTimezone (line 87) | DHCPv6OptNewTZDBTimezone DHCPv6Opt = 42 constant DHCPv6OptEchoRequestOption (line 90) | DHCPv6OptEchoRequestOption DHCPv6Opt = 43 constant DHCPv6OptLQQuery (line 93) | DHCPv6OptLQQuery DHCPv6Opt = 44 constant DHCPv6OptCLTTime (line 94) | DHCPv6OptCLTTime DHCPv6Opt = 45 constant DHCPv6OptClientData (line 95) | DHCPv6OptClientData DHCPv6Opt = 46 constant DHCPv6OptLQRelayData (line 96) | DHCPv6OptLQRelayData DHCPv6Opt = 47 constant DHCPv6OptLQClientLink (line 97) | DHCPv6OptLQClientLink DHCPv6Opt = 48 constant DHCPv6OptMIP6HNIDF (line 100) | DHCPv6OptMIP6HNIDF DHCPv6Opt = 49 constant DHCPv6OptMIP6VDINF (line 101) | DHCPv6OptMIP6VDINF DHCPv6Opt = 50 constant DHCPv6OptMIP6IDINF (line 102) | DHCPv6OptMIP6IDINF DHCPv6Opt = 69 constant DHCPv6OptMIP6UDINF (line 103) | DHCPv6OptMIP6UDINF DHCPv6Opt = 70 constant DHCPv6OptMIP6HNP (line 104) | DHCPv6OptMIP6HNP DHCPv6Opt = 71 constant DHCPv6OptMIP6HAA (line 105) | DHCPv6OptMIP6HAA DHCPv6Opt = 72 constant DHCPv6OptMIP6HAF (line 106) | DHCPv6OptMIP6HAF DHCPv6Opt = 73 constant DHCPv6OptV6LOST (line 109) | DHCPv6OptV6LOST DHCPv6Opt = 51 constant DHCPv6OptCAPWAPACV6 (line 112) | DHCPv6OptCAPWAPACV6 DHCPv6Opt = 52 constant DHCPv6OptRelayID (line 115) | DHCPv6OptRelayID DHCPv6Opt = 53 constant DHCPv6OptIPv6AddressMoS (line 118) | DHCPv6OptIPv6AddressMoS DHCPv6Opt = 54 constant DHCPv6OptIPv6FQDNMoS (line 119) | DHCPv6OptIPv6FQDNMoS DHCPv6Opt = 55 constant DHCPv6OptNTPServer (line 122) | DHCPv6OptNTPServer DHCPv6Opt = 56 constant DHCPv6OptV6AccessDomain (line 125) | DHCPv6OptV6AccessDomain DHCPv6Opt = 57 constant DHCPv6OptSIPUACSList (line 128) | DHCPv6OptSIPUACSList DHCPv6Opt = 58 constant DHCPv6OptBootFileURL (line 131) | DHCPv6OptBootFileURL DHCPv6Opt = 59 constant DHCPv6OptBootFileParam (line 132) | DHCPv6OptBootFileParam DHCPv6Opt = 60 constant DHCPv6OptClientArchType (line 133) | DHCPv6OptClientArchType DHCPv6Opt = 61 constant DHCPv6OptNII (line 134) | DHCPv6OptNII DHCPv6Opt = 62 constant DHCPv6OptGeolocation (line 137) | DHCPv6OptGeolocation DHCPv6Opt = 63 constant DHCPv6OptAFTRName (line 140) | DHCPv6OptAFTRName DHCPv6Opt = 64 constant DHCPv6OptERPLocalDomainName (line 143) | DHCPv6OptERPLocalDomainName DHCPv6Opt = 65 constant DHCPv6OptRSOO (line 146) | DHCPv6OptRSOO DHCPv6Opt = 66 constant DHCPv6OptPDExclude (line 149) | DHCPv6OptPDExclude DHCPv6Opt = 67 constant DHCPv6OptVSS (line 152) | DHCPv6OptVSS DHCPv6Opt = 68 constant DHCPv6OptRDNSSSelection (line 155) | DHCPv6OptRDNSSSelection DHCPv6Opt = 74 constant DHCPv6OptKRBPrincipalName (line 158) | DHCPv6OptKRBPrincipalName DHCPv6Opt = 75 constant DHCPv6OptKRBRealmName (line 159) | DHCPv6OptKRBRealmName DHCPv6Opt = 76 constant DHCPv6OptKRBKDC (line 160) | DHCPv6OptKRBKDC DHCPv6Opt = 77 constant DHCPv6OptClientLinkLayerAddress (line 163) | DHCPv6OptClientLinkLayerAddress DHCPv6Opt = 79 constant DHCPv6OptLinkAddress (line 166) | DHCPv6OptLinkAddress DHCPv6Opt = 80 constant DHCPv6OptRADIUS (line 169) | DHCPv6OptRADIUS DHCPv6Opt = 81 constant DHCPv6OptSolMaxRt (line 172) | DHCPv6OptSolMaxRt DHCPv6Opt = 82 constant DHCPv6OptInfMaxRt (line 173) | DHCPv6OptInfMaxRt DHCPv6Opt = 83 constant DHCPv6OptAddrSel (line 176) | DHCPv6OptAddrSel DHCPv6Opt = 84 constant DHCPv6OptAddrSelTable (line 177) | DHCPv6OptAddrSelTable DHCPv6Opt = 85 constant DHCPv6OptV6PCPServer (line 180) | DHCPv6OptV6PCPServer DHCPv6Opt = 86 constant DHCPv6OptDHCPv4Message (line 183) | DHCPv6OptDHCPv4Message DHCPv6Opt = 87 constant DHCPv6OptDHCPv4OverDHCPv6Server (line 184) | DHCPv6OptDHCPv4OverDHCPv6Server DHCPv6Opt = 88 constant DHCPv6OptS46Rule (line 187) | DHCPv6OptS46Rule DHCPv6Opt = 89 constant DHCPv6OptS46BR (line 188) | DHCPv6OptS46BR DHCPv6Opt = 90 constant DHCPv6OptS46DMR (line 189) | DHCPv6OptS46DMR DHCPv6Opt = 91 constant DHCPv6OptS46V4V4Bind (line 190) | DHCPv6OptS46V4V4Bind DHCPv6Opt = 92 constant DHCPv6OptS46PortParameters (line 191) | DHCPv6OptS46PortParameters DHCPv6Opt = 93 constant DHCPv6OptS46ContMAPE (line 192) | DHCPv6OptS46ContMAPE DHCPv6Opt = 94 constant DHCPv6OptS46ContMAPT (line 193) | DHCPv6OptS46ContMAPT DHCPv6Opt = 95 constant DHCPv6OptS46ContLW (line 194) | DHCPv6OptS46ContLW DHCPv6Opt = 96 constant DHCPv6Opt4RD (line 197) | DHCPv6Opt4RD DHCPv6Opt = 97 constant DHCPv6Opt4RDMapRule (line 198) | DHCPv6Opt4RDMapRule DHCPv6Opt = 98 constant DHCPv6Opt4RDNonMapRule (line 199) | DHCPv6Opt4RDNonMapRule DHCPv6Opt = 99 constant DHCPv6OptLQBaseTime (line 202) | DHCPv6OptLQBaseTime DHCPv6Opt = 100 constant DHCPv6OptLQStartTime (line 203) | DHCPv6OptLQStartTime DHCPv6Opt = 101 constant DHCPv6OptLQEndTime (line 204) | DHCPv6OptLQEndTime DHCPv6Opt = 102 constant DHCPv6OptCaptivePortal (line 207) | DHCPv6OptCaptivePortal DHCPv6Opt = 103 constant DHCPv6OptMPLParameters (line 210) | DHCPv6OptMPLParameters DHCPv6Opt = 104 constant DHCPv6OptANIATT (line 213) | DHCPv6OptANIATT DHCPv6Opt = 105 constant DHCPv6OptANINetworkName (line 214) | DHCPv6OptANINetworkName DHCPv6Opt = 106 constant DHCPv6OptANIAPName (line 215) | DHCPv6OptANIAPName DHCPv6Opt = 107 constant DHCPv6OptANIAPBSSID (line 216) | DHCPv6OptANIAPBSSID DHCPv6Opt = 108 constant DHCPv6OptANIOperatorID (line 217) | DHCPv6OptANIOperatorID DHCPv6Opt = 109 constant DHCPv6OptANIOperatorRealm (line 218) | DHCPv6OptANIOperatorRealm DHCPv6Opt = 110 constant DHCPv6OptS46Priority (line 221) | DHCPv6OptS46Priority DHCPv6Opt = 111 constant DHCPv6OptMUDURLV6 (line 224) | DHCPv6OptMUDURLV6 DHCPv6Opt = 112 constant DHCPv6OptV6Prefix64 (line 227) | DHCPv6OptV6Prefix64 DHCPv6Opt = 113 constant DHCPv6OptFBindingStatus (line 230) | DHCPv6OptFBindingStatus DHCPv6Opt = 114 constant DHCPv6OptFConnectFlags (line 231) | DHCPv6OptFConnectFlags DHCPv6Opt = 115 constant DHCPv6OptFDNSRemovalInfo (line 232) | DHCPv6OptFDNSRemovalInfo DHCPv6Opt = 116 constant DHCPv6OptFDNSHostName (line 233) | DHCPv6OptFDNSHostName DHCPv6Opt = 117 constant DHCPv6OptFDNSZoneName (line 234) | DHCPv6OptFDNSZoneName DHCPv6Opt = 118 constant DHCPv6OptFDNSFlags (line 235) | DHCPv6OptFDNSFlags DHCPv6Opt = 119 constant DHCPv6OptFExpirationTime (line 236) | DHCPv6OptFExpirationTime DHCPv6Opt = 120 constant DHCPv6OptFMaxUnacknowledgedBNDUPD (line 237) | DHCPv6OptFMaxUnacknowledgedBNDUPD DHCPv6Opt = 121 constant DHCPv6OptFMCLT (line 238) | DHCPv6OptFMCLT DHCPv6Opt = 122 constant DHCPv6OptFPartnerLifetime (line 239) | DHCPv6OptFPartnerLifetime DHCPv6Opt = 123 constant DHCPv6OptFPartnerLifetimeSent (line 240) | DHCPv6OptFPartnerLifetimeSent DHCPv6Opt = 124 constant DHCPv6OptFPartnerDownTime (line 241) | DHCPv6OptFPartnerDownTime DHCPv6Opt = 125 constant DHCPv6OptFPartnerRawCltTime (line 242) | DHCPv6OptFPartnerRawCltTime DHCPv6Opt = 126 constant DHCPv6OptFProtocolVersion (line 243) | DHCPv6OptFProtocolVersion DHCPv6Opt = 127 constant DHCPv6OptFKeepaliveTime (line 244) | DHCPv6OptFKeepaliveTime DHCPv6Opt = 128 constant DHCPv6OptFReconfigureData (line 245) | DHCPv6OptFReconfigureData DHCPv6Opt = 129 constant DHCPv6OptFRelationshipName (line 246) | DHCPv6OptFRelationshipName DHCPv6Opt = 130 constant DHCPv6OptFServerFlags (line 247) | DHCPv6OptFServerFlags DHCPv6Opt = 131 constant DHCPv6OptFServerState (line 248) | DHCPv6OptFServerState DHCPv6Opt = 132 constant DHCPv6OptFStartTimeOfState (line 249) | DHCPv6OptFStartTimeOfState DHCPv6Opt = 133 constant DHCPv6OptFStateExpirationTime (line 250) | DHCPv6OptFStateExpirationTime DHCPv6Opt = 134 constant DHCPv6OptRelayPort (line 253) | DHCPv6OptRelayPort DHCPv6Opt = 135 constant DHCPv6OptV6ZeroTouchRedirect (line 256) | DHCPv6OptV6ZeroTouchRedirect DHCPv6Opt = 136 constant DHCPv6OptIPV6AddressANDSF (line 259) | DHCPv6OptIPV6AddressANDSF DHCPv6Opt = 143 type DHCPv6Options (line 540) | type DHCPv6Options method String (line 543) | func (o DHCPv6Options) String() string { type DHCPv6Option (line 557) | type DHCPv6Option struct method String (line 564) | func (o DHCPv6Option) String() string { method encode (line 598) | func (o *DHCPv6Option) encode(b []byte, opts gopacket.SerializeOptions... method decode (line 610) | func (o *DHCPv6Option) decode(data []byte) error { function NewDHCPv6Option (line 588) | func NewDHCPv6Option(code DHCPv6Opt, data []byte) DHCPv6Option { FILE: layers/dhcpv6_test.go function TestDHCPv6EncodeRequest (line 16) | func TestDHCPv6EncodeRequest(t *testing.T) { function TestDHCPv6EncodeReply (line 37) | func TestDHCPv6EncodeReply(t *testing.T) { function testDHCPv6Equal (line 58) | func testDHCPv6Equal(t *testing.T, d1, d2 *DHCPv6) { function testDHCPv6OptionEqual (line 83) | func testDHCPv6OptionEqual(t *testing.T, idx int, d1, d2 DHCPv6Option) { FILE: layers/dns.go type DNSClass (line 21) | type DNSClass method String (line 32) | func (dc DNSClass) String() string { constant DNSClassIN (line 25) | DNSClassIN DNSClass = 1 constant DNSClassCS (line 26) | DNSClassCS DNSClass = 2 constant DNSClassCH (line 27) | DNSClassCH DNSClass = 3 constant DNSClassHS (line 28) | DNSClassHS DNSClass = 4 constant DNSClassAny (line 29) | DNSClassAny DNSClass = 255 type DNSType (line 51) | type DNSType method String (line 77) | func (dt DNSType) String() string { constant DNSTypeA (line 55) | DNSTypeA DNSType = 1 constant DNSTypeNS (line 56) | DNSTypeNS DNSType = 2 constant DNSTypeMD (line 57) | DNSTypeMD DNSType = 3 constant DNSTypeMF (line 58) | DNSTypeMF DNSType = 4 constant DNSTypeCNAME (line 59) | DNSTypeCNAME DNSType = 5 constant DNSTypeSOA (line 60) | DNSTypeSOA DNSType = 6 constant DNSTypeMB (line 61) | DNSTypeMB DNSType = 7 constant DNSTypeMG (line 62) | DNSTypeMG DNSType = 8 constant DNSTypeMR (line 63) | DNSTypeMR DNSType = 9 constant DNSTypeNULL (line 64) | DNSTypeNULL DNSType = 10 constant DNSTypeWKS (line 65) | DNSTypeWKS DNSType = 11 constant DNSTypePTR (line 66) | DNSTypePTR DNSType = 12 constant DNSTypeHINFO (line 67) | DNSTypeHINFO DNSType = 13 constant DNSTypeMINFO (line 68) | DNSTypeMINFO DNSType = 14 constant DNSTypeMX (line 69) | DNSTypeMX DNSType = 15 constant DNSTypeTXT (line 70) | DNSTypeTXT DNSType = 16 constant DNSTypeAAAA (line 71) | DNSTypeAAAA DNSType = 28 constant DNSTypeSRV (line 72) | DNSTypeSRV DNSType = 33 constant DNSTypeOPT (line 73) | DNSTypeOPT DNSType = 41 constant DNSTypeURI (line 74) | DNSTypeURI DNSType = 256 type DNSResponseCode (line 125) | type DNSResponseCode method String (line 151) | func (drc DNSResponseCode) String() string { constant DNSResponseCodeNoErr (line 129) | DNSResponseCodeNoErr DNSResponseCode = 0 constant DNSResponseCodeFormErr (line 130) | DNSResponseCodeFormErr DNSResponseCode = 1 constant DNSResponseCodeServFail (line 131) | DNSResponseCodeServFail DNSResponseCode = 2 constant DNSResponseCodeNXDomain (line 132) | DNSResponseCodeNXDomain DNSResponseCode = 3 constant DNSResponseCodeNotImp (line 133) | DNSResponseCodeNotImp DNSResponseCode = 4 constant DNSResponseCodeRefused (line 134) | DNSResponseCodeRefused DNSResponseCode = 5 constant DNSResponseCodeYXDomain (line 135) | DNSResponseCodeYXDomain DNSResponseCode = 6 constant DNSResponseCodeYXRRSet (line 136) | DNSResponseCodeYXRRSet DNSResponseCode = 7 constant DNSResponseCodeNXRRSet (line 137) | DNSResponseCodeNXRRSet DNSResponseCode = 8 constant DNSResponseCodeNotAuth (line 138) | DNSResponseCodeNotAuth DNSResponseCode = 9 constant DNSResponseCodeNotZone (line 139) | DNSResponseCodeNotZone DNSResponseCode = 10 constant DNSResponseCodeBadVers (line 140) | DNSResponseCodeBadVers DNSResponseCode = 16 constant DNSResponseCodeBadSig (line 141) | DNSResponseCodeBadSig DNSResponseCode = 16 constant DNSResponseCodeBadKey (line 142) | DNSResponseCodeBadKey DNSResponseCode = 17 constant DNSResponseCodeBadTime (line 143) | DNSResponseCodeBadTime DNSResponseCode = 18 constant DNSResponseCodeBadMode (line 144) | DNSResponseCodeBadMode DNSResponseCode = 19 constant DNSResponseCodeBadName (line 145) | DNSResponseCodeBadName DNSResponseCode = 20 constant DNSResponseCodeBadAlg (line 146) | DNSResponseCodeBadAlg DNSResponseCode = 21 constant DNSResponseCodeBadTruc (line 147) | DNSResponseCodeBadTruc DNSResponseCode = 22 constant DNSResponseCodeBadCookie (line 148) | DNSResponseCodeBadCookie DNSResponseCode = 23 type DNSOpCode (line 197) | type DNSOpCode method String (line 208) | func (doc DNSOpCode) String() string { constant DNSOpCodeQuery (line 201) | DNSOpCodeQuery DNSOpCode = 0 constant DNSOpCodeIQuery (line 202) | DNSOpCodeIQuery DNSOpCode = 1 constant DNSOpCodeStatus (line 203) | DNSOpCodeStatus DNSOpCode = 2 constant DNSOpCodeNotify (line 204) | DNSOpCodeNotify DNSOpCode = 4 constant DNSOpCodeUpdate (line 205) | DNSOpCodeUpdate DNSOpCode = 5 type DNS (line 255) | type DNS struct method LayerType (line 288) | func (d *DNS) LayerType() gopacket.LayerType { return LayerTypeDNS } method DecodeFromBytes (line 304) | func (d *DNS) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method CanDecode (line 395) | func (d *DNS) CanDecode() gopacket.LayerClass { method NextLayerType (line 400) | func (d *DNS) NextLayerType() gopacket.LayerType { method Payload (line 405) | func (d *DNS) Payload() []byte { method SerializeTo (line 471) | func (d *DNS) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... function decodeDNS (line 292) | func decodeDNS(data []byte, p gopacket.PacketBuilder) error { function b2i (line 409) | func b2i(b bool) int { function recSize (line 416) | func recSize(rr *DNSResourceRecord) int { function computeSize (line 453) | func computeSize(recs []DNSResourceRecord) int { constant maxRecursionLevel (line 536) | maxRecursionLevel = 255 function decodeName (line 538) | func decodeName(data []byte, offset int, buffer *[]byte, level int) ([]b... type DNSQuestion (line 630) | type DNSQuestion struct method decode (line 636) | func (q *DNSQuestion) decode(data []byte, offset int, df gopacket.Deco... method encode (line 653) | func (q *DNSQuestion) encode(data []byte, offset int) int { type DNSResourceRecord (line 684) | type DNSResourceRecord struct method decode (line 710) | func (rr *DNSResourceRecord) decode(data []byte, offset int, df gopack... method encode (line 764) | func (rr *DNSResourceRecord) encode(data []byte, offset int, opts gopa... method String (line 834) | func (rr *DNSResourceRecord) String() string { method decodeRData (line 906) | func (rr *DNSResourceRecord) decodeRData(data []byte, offset int, buff... function encodeName (line 740) | func encodeName(name []byte, data []byte, offset int) int { function decodeCharacterStrings (line 864) | func decodeCharacterStrings(data []byte) ([][]byte, error) { function decodeOPTs (line 877) | func decodeOPTs(data []byte, offset int) ([]DNSOPT, error) { type DNSSOA (line 997) | type DNSSOA struct type DNSSRV (line 1004) | type DNSSRV struct type DNSMX (line 1011) | type DNSMX struct type DNSURI (line 1017) | type DNSURI struct type DNSOptionCode (line 1023) | type DNSOptionCode method String (line 1025) | func (doc DNSOptionCode) String() string { constant DNSOptionCodeNSID (line 1062) | DNSOptionCodeNSID DNSOptionCode = 3 constant DNSOptionCodeDAU (line 1063) | DNSOptionCodeDAU DNSOptionCode = 5 constant DNSOptionCodeDHU (line 1064) | DNSOptionCodeDHU DNSOptionCode = 6 constant DNSOptionCodeN3U (line 1065) | DNSOptionCodeN3U DNSOptionCode = 7 constant DNSOptionCodeEDNSClientSubnet (line 1066) | DNSOptionCodeEDNSClientSubnet DNSOptionCode = 8 constant DNSOptionCodeEDNSExpire (line 1067) | DNSOptionCodeEDNSExpire DNSOptionCode = 9 constant DNSOptionCodeCookie (line 1068) | DNSOptionCodeCookie DNSOptionCode = 10 constant DNSOptionCodeEDNSKeepAlive (line 1069) | DNSOptionCodeEDNSKeepAlive DNSOptionCode = 11 constant DNSOptionCodePadding (line 1070) | DNSOptionCodePadding DNSOptionCode = 12 constant DNSOptionCodeChain (line 1071) | DNSOptionCodeChain DNSOptionCode = 13 constant DNSOptionCodeEDNSKeyTag (line 1072) | DNSOptionCodeEDNSKeyTag DNSOptionCode = 14 constant DNSOptionCodeEDNSClientTag (line 1073) | DNSOptionCodeEDNSClientTag DNSOptionCode = 16 constant DNSOptionCodeEDNSServerTag (line 1074) | DNSOptionCodeEDNSServerTag DNSOptionCode = 17 constant DNSOptionCodeDeviceID (line 1075) | DNSOptionCodeDeviceID DNSOptionCode = 26946 type DNSOPT (line 1079) | type DNSOPT struct method String (line 1084) | func (opt DNSOPT) String() string { FILE: layers/dns_test.go function FuzzDecodeFromBytes (line 18) | func FuzzDecodeFromBytes(f *testing.F) { function TestPacketDNSNilRdata (line 43) | func TestPacketDNSNilRdata(t *testing.T) { function TestPacketDNSRegression (line 68) | func TestPacketDNSRegression(t *testing.T) { function BenchmarkDecodePacketDNSRegression (line 75) | func BenchmarkDecodePacketDNSRegression(b *testing.B) { function TestParseDNSTypeTXT (line 95) | func TestParseDNSTypeTXT(t *testing.T) { function TestParseDNSBadVers (line 123) | func TestParseDNSBadVers(t *testing.T) { function TestParseDNSBadCookie (line 163) | func TestParseDNSBadCookie(t *testing.T) { function TestParseDNSTypeURI (line 206) | func TestParseDNSTypeURI(t *testing.T) { function TestParseDNSTypeOPT (line 243) | func TestParseDNSTypeOPT(t *testing.T) { function testQuestionEqual (line 275) | func testQuestionEqual(t *testing.T, i int, exp, got DNSQuestion) { function testResourceEqual (line 287) | func testResourceEqual(t *testing.T, i int, name string, exp, got DNSRes... function testDNSEqual (line 396) | func testDNSEqual(t *testing.T, exp, got *DNS) { function TestDNSEncodeQuery (line 469) | func TestDNSEncodeQuery(t *testing.T) { function TestDNSEncodeQueryWithOPT (line 500) | func TestDNSEncodeQueryWithOPT(t *testing.T) { function TestDNSEncodeResponse (line 545) | func TestDNSEncodeResponse(t *testing.T) { function TestDNSMalformedPacket (line 636) | func TestDNSMalformedPacket(t *testing.T) { function TestDNSMalformedPacket2 (line 668) | func TestDNSMalformedPacket2(t *testing.T) { function TestBlankNameRootQuery (line 752) | func TestBlankNameRootQuery(t *testing.T) { function TestAnotherMalformedDNS (line 950) | func TestAnotherMalformedDNS(t *testing.T) { function TestMalformedDNSAgain (line 984) | func TestMalformedDNSAgain(t *testing.T) { function TestMalformedDNSOhGodMakeItStop (line 1016) | func TestMalformedDNSOhGodMakeItStop(t *testing.T) { function TestMalformedDNSOPT (line 1035) | func TestMalformedDNSOPT(t *testing.T) { function TestPacketDNSPanic7 (line 1119) | func TestPacketDNSPanic7(t *testing.T) { function TestDNSPacketWriteAnswer (line 1128) | func TestDNSPacketWriteAnswer(t *testing.T) { FILE: layers/dot11.go type Dot11Flags (line 24) | type Dot11Flags method ToDS (line 37) | func (d Dot11Flags) ToDS() bool { method FromDS (line 40) | func (d Dot11Flags) FromDS() bool { method MF (line 43) | func (d Dot11Flags) MF() bool { method Retry (line 46) | func (d Dot11Flags) Retry() bool { method PowerManagement (line 49) | func (d Dot11Flags) PowerManagement() bool { method MD (line 52) | func (d Dot11Flags) MD() bool { method WEP (line 55) | func (d Dot11Flags) WEP() bool { method Order (line 58) | func (d Dot11Flags) Order() bool { method String (line 65) | func (a Dot11Flags) String() string { constant Dot11FlagsToDS (line 27) | Dot11FlagsToDS Dot11Flags = 1 << iota constant Dot11FlagsFromDS (line 28) | Dot11FlagsFromDS constant Dot11FlagsMF (line 29) | Dot11FlagsMF constant Dot11FlagsRetry (line 30) | Dot11FlagsRetry constant Dot11FlagsPowerManagement (line 31) | Dot11FlagsPowerManagement constant Dot11FlagsMD (line 32) | Dot11FlagsMD constant Dot11FlagsWEP (line 33) | Dot11FlagsWEP constant Dot11FlagsOrder (line 34) | Dot11FlagsOrder type Dot11Reason (line 98) | type Dot11Reason method String (line 118) | func (a Dot11Reason) String() string { constant Dot11ReasonReserved (line 103) | Dot11ReasonReserved Dot11Reason = 1 constant Dot11ReasonUnspecified (line 104) | Dot11ReasonUnspecified Dot11Reason = 2 constant Dot11ReasonAuthExpired (line 105) | Dot11ReasonAuthExpired Dot11Reason = 3 constant Dot11ReasonDeauthStLeaving (line 106) | Dot11ReasonDeauthStLeaving Dot11Reason = 4 constant Dot11ReasonInactivity (line 107) | Dot11ReasonInactivity Dot11Reason = 5 constant Dot11ReasonApFull (line 108) | Dot11ReasonApFull Dot11Reason = 6 constant Dot11ReasonClass2FromNonAuth (line 109) | Dot11ReasonClass2FromNonAuth Dot11Reason = 7 constant Dot11ReasonClass3FromNonAss (line 110) | Dot11ReasonClass3FromNonAss Dot11Reason = 8 constant Dot11ReasonDisasStLeaving (line 111) | Dot11ReasonDisasStLeaving Dot11Reason = 9 constant Dot11ReasonStNotAuth (line 112) | Dot11ReasonStNotAuth Dot11Reason = 10 type Dot11Status (line 145) | type Dot11Status method String (line 164) | func (a Dot11Status) String() string { constant Dot11StatusSuccess (line 148) | Dot11StatusSuccess Dot11Status = 0 constant Dot11StatusFailure (line 149) | Dot11StatusFailure Dot11Status = 1 constant Dot11StatusCannotSupportAllCapabilities (line 150) | Dot11StatusCannotSupportAllCapabilities Dot11Status = 10 constant Dot11StatusInabilityExistsAssociation (line 151) | Dot11StatusInabilityExistsAssociation Dot11Status = 11 constant Dot11StatusAssociationDenied (line 152) | Dot11StatusAssociationDenied Dot11Status = 12 constant Dot11StatusAlgorithmUnsupported (line 153) | Dot11StatusAlgorithmUnsupported Dot11Status = 13 constant Dot11StatusOufOfExpectedSequence (line 154) | Dot11StatusOufOfExpectedSequence Dot11Status = 14 constant Dot11StatusChallengeFailure (line 155) | Dot11StatusChallengeFailure Dot11Status = 15 constant Dot11StatusTimeout (line 156) | Dot11StatusTimeout Dot11Status = 16 constant Dot11StatusAPUnableToHandle (line 157) | Dot11StatusAPUnableToHandle Dot11Status = 17 constant Dot11StatusRateUnsupported (line 158) | Dot11StatusRateUnsupported Dot11Status = 18 type Dot11AckPolicy (line 193) | type Dot11AckPolicy method String (line 205) | func (a Dot11AckPolicy) String() string { constant Dot11AckPolicyNormal (line 196) | Dot11AckPolicyNormal Dot11AckPolicy = 0 constant Dot11AckPolicyNone (line 197) | Dot11AckPolicyNone Dot11AckPolicy = 1 constant Dot11AckPolicyNoExplicit (line 198) | Dot11AckPolicyNoExplicit Dot11AckPolicy = 2 constant Dot11AckPolicyBlock (line 199) | Dot11AckPolicyBlock Dot11AckPolicy = 3 type Dot11Algorithm (line 220) | type Dot11Algorithm method String (line 230) | func (a Dot11Algorithm) String() string { constant Dot11AlgorithmOpen (line 223) | Dot11AlgorithmOpen Dot11Algorithm = 0 constant Dot11AlgorithmSharedKey (line 224) | Dot11AlgorithmSharedKey Dot11Algorithm = 1 type Dot11InformationElementID (line 241) | type Dot11InformationElementID method String (line 421) | func (a Dot11InformationElementID) String() string { constant Dot11InformationElementIDSSID (line 244) | Dot11InformationElementIDSSID Dot11InformationEleme... constant Dot11InformationElementIDRates (line 245) | Dot11InformationElementIDRates Dot11InformationEleme... constant Dot11InformationElementIDFHSet (line 246) | Dot11InformationElementIDFHSet Dot11InformationEleme... constant Dot11InformationElementIDDSSet (line 247) | Dot11InformationElementIDDSSet Dot11InformationEleme... constant Dot11InformationElementIDCFSet (line 248) | Dot11InformationElementIDCFSet Dot11InformationEleme... constant Dot11InformationElementIDTIM (line 249) | Dot11InformationElementIDTIM Dot11InformationEleme... constant Dot11InformationElementIDIBSSSet (line 250) | Dot11InformationElementIDIBSSSet Dot11InformationEleme... constant Dot11InformationElementIDCountryInfo (line 251) | Dot11InformationElementIDCountryInfo Dot11InformationEleme... constant Dot11InformationElementIDHoppingPatternParam (line 252) | Dot11InformationElementIDHoppingPatternParam Dot11InformationEleme... constant Dot11InformationElementIDHoppingPatternTable (line 253) | Dot11InformationElementIDHoppingPatternTable Dot11InformationEleme... constant Dot11InformationElementIDRequest (line 254) | Dot11InformationElementIDRequest Dot11InformationEleme... constant Dot11InformationElementIDQBSSLoadElem (line 255) | Dot11InformationElementIDQBSSLoadElem Dot11InformationEleme... constant Dot11InformationElementIDEDCAParamSet (line 256) | Dot11InformationElementIDEDCAParamSet Dot11InformationEleme... constant Dot11InformationElementIDTrafficSpec (line 257) | Dot11InformationElementIDTrafficSpec Dot11InformationEleme... constant Dot11InformationElementIDTrafficClass (line 258) | Dot11InformationElementIDTrafficClass Dot11InformationEleme... constant Dot11InformationElementIDSchedule (line 259) | Dot11InformationElementIDSchedule Dot11InformationEleme... constant Dot11InformationElementIDChallenge (line 260) | Dot11InformationElementIDChallenge Dot11InformationEleme... constant Dot11InformationElementIDPowerConst (line 261) | Dot11InformationElementIDPowerConst Dot11InformationEleme... constant Dot11InformationElementIDPowerCapability (line 262) | Dot11InformationElementIDPowerCapability Dot11InformationEleme... constant Dot11InformationElementIDTPCRequest (line 263) | Dot11InformationElementIDTPCRequest Dot11InformationEleme... constant Dot11InformationElementIDTPCReport (line 264) | Dot11InformationElementIDTPCReport Dot11InformationEleme... constant Dot11InformationElementIDSupportedChannels (line 265) | Dot11InformationElementIDSupportedChannels Dot11InformationEleme... constant Dot11InformationElementIDSwitchChannelAnnounce (line 266) | Dot11InformationElementIDSwitchChannelAnnounce Dot11InformationEleme... constant Dot11InformationElementIDMeasureRequest (line 267) | Dot11InformationElementIDMeasureRequest Dot11InformationEleme... constant Dot11InformationElementIDMeasureReport (line 268) | Dot11InformationElementIDMeasureReport Dot11InformationEleme... constant Dot11InformationElementIDQuiet (line 269) | Dot11InformationElementIDQuiet Dot11InformationEleme... constant Dot11InformationElementIDIBSSDFS (line 270) | Dot11InformationElementIDIBSSDFS Dot11InformationEleme... constant Dot11InformationElementIDERPInfo (line 271) | Dot11InformationElementIDERPInfo Dot11InformationEleme... constant Dot11InformationElementIDTSDelay (line 272) | Dot11InformationElementIDTSDelay Dot11InformationEleme... constant Dot11InformationElementIDTCLASProcessing (line 273) | Dot11InformationElementIDTCLASProcessing Dot11InformationEleme... constant Dot11InformationElementIDHTCapabilities (line 274) | Dot11InformationElementIDHTCapabilities Dot11InformationEleme... constant Dot11InformationElementIDQOSCapability (line 275) | Dot11InformationElementIDQOSCapability Dot11InformationEleme... constant Dot11InformationElementIDERPInfo2 (line 276) | Dot11InformationElementIDERPInfo2 Dot11InformationEleme... constant Dot11InformationElementIDRSNInfo (line 277) | Dot11InformationElementIDRSNInfo Dot11InformationEleme... constant Dot11InformationElementIDESRates (line 278) | Dot11InformationElementIDESRates Dot11InformationEleme... constant Dot11InformationElementIDAPChannelReport (line 279) | Dot11InformationElementIDAPChannelReport Dot11InformationEleme... constant Dot11InformationElementIDNeighborReport (line 280) | Dot11InformationElementIDNeighborReport Dot11InformationEleme... constant Dot11InformationElementIDRCPI (line 281) | Dot11InformationElementIDRCPI Dot11InformationEleme... constant Dot11InformationElementIDMobilityDomain (line 282) | Dot11InformationElementIDMobilityDomain Dot11InformationEleme... constant Dot11InformationElementIDFastBSSTrans (line 283) | Dot11InformationElementIDFastBSSTrans Dot11InformationEleme... constant Dot11InformationElementIDTimeoutInt (line 284) | Dot11InformationElementIDTimeoutInt Dot11InformationEleme... constant Dot11InformationElementIDRICData (line 285) | Dot11InformationElementIDRICData Dot11InformationEleme... constant Dot11InformationElementIDDSERegisteredLoc (line 286) | Dot11InformationElementIDDSERegisteredLoc Dot11InformationEleme... constant Dot11InformationElementIDSuppOperatingClass (line 287) | Dot11InformationElementIDSuppOperatingClass Dot11InformationEleme... constant Dot11InformationElementIDExtChanSwitchAnnounce (line 288) | Dot11InformationElementIDExtChanSwitchAnnounce Dot11InformationEleme... constant Dot11InformationElementIDHTInfo (line 289) | Dot11InformationElementIDHTInfo Dot11InformationEleme... constant Dot11InformationElementIDSecChanOffset (line 290) | Dot11InformationElementIDSecChanOffset Dot11InformationEleme... constant Dot11InformationElementIDBSSAverageAccessDelay (line 291) | Dot11InformationElementIDBSSAverageAccessDelay Dot11InformationEleme... constant Dot11InformationElementIDAntenna (line 292) | Dot11InformationElementIDAntenna Dot11InformationEleme... constant Dot11InformationElementIDRSNI (line 293) | Dot11InformationElementIDRSNI Dot11InformationEleme... constant Dot11InformationElementIDMeasurePilotTrans (line 294) | Dot11InformationElementIDMeasurePilotTrans Dot11InformationEleme... constant Dot11InformationElementIDBSSAvailAdmCapacity (line 295) | Dot11InformationElementIDBSSAvailAdmCapacity Dot11InformationEleme... constant Dot11InformationElementIDBSSACAccDelayWAPIParam (line 296) | Dot11InformationElementIDBSSACAccDelayWAPIParam Dot11InformationEleme... constant Dot11InformationElementIDTimeAdvertisement (line 297) | Dot11InformationElementIDTimeAdvertisement Dot11InformationEleme... constant Dot11InformationElementIDRMEnabledCapabilities (line 298) | Dot11InformationElementIDRMEnabledCapabilities Dot11InformationEleme... constant Dot11InformationElementIDMultipleBSSID (line 299) | Dot11InformationElementIDMultipleBSSID Dot11InformationEleme... constant Dot11InformationElementID2040BSSCoExist (line 300) | Dot11InformationElementID2040BSSCoExist Dot11InformationEleme... constant Dot11InformationElementID2040BSSIntChanReport (line 301) | Dot11InformationElementID2040BSSIntChanReport Dot11InformationEleme... constant Dot11InformationElementIDOverlapBSSScanParam (line 302) | Dot11InformationElementIDOverlapBSSScanParam Dot11InformationEleme... constant Dot11InformationElementIDRICDescriptor (line 303) | Dot11InformationElementIDRICDescriptor Dot11InformationEleme... constant Dot11InformationElementIDManagementMIC (line 304) | Dot11InformationElementIDManagementMIC Dot11InformationEleme... constant Dot11InformationElementIDEventRequest (line 305) | Dot11InformationElementIDEventRequest Dot11InformationEleme... constant Dot11InformationElementIDEventReport (line 306) | Dot11InformationElementIDEventReport Dot11InformationEleme... constant Dot11InformationElementIDDiagnosticRequest (line 307) | Dot11InformationElementIDDiagnosticRequest Dot11InformationEleme... constant Dot11InformationElementIDDiagnosticReport (line 308) | Dot11InformationElementIDDiagnosticReport Dot11InformationEleme... constant Dot11InformationElementIDLocationParam (line 309) | Dot11InformationElementIDLocationParam Dot11InformationEleme... constant Dot11InformationElementIDNonTransBSSIDCapability (line 310) | Dot11InformationElementIDNonTransBSSIDCapability Dot11InformationEleme... constant Dot11InformationElementIDSSIDList (line 311) | Dot11InformationElementIDSSIDList Dot11InformationEleme... constant Dot11InformationElementIDMultipleBSSIDIndex (line 312) | Dot11InformationElementIDMultipleBSSIDIndex Dot11InformationEleme... constant Dot11InformationElementIDFMSDescriptor (line 313) | Dot11InformationElementIDFMSDescriptor Dot11InformationEleme... constant Dot11InformationElementIDFMSRequest (line 314) | Dot11InformationElementIDFMSRequest Dot11InformationEleme... constant Dot11InformationElementIDFMSResponse (line 315) | Dot11InformationElementIDFMSResponse Dot11InformationEleme... constant Dot11InformationElementIDQOSTrafficCapability (line 316) | Dot11InformationElementIDQOSTrafficCapability Dot11InformationEleme... constant Dot11InformationElementIDBSSMaxIdlePeriod (line 317) | Dot11InformationElementIDBSSMaxIdlePeriod Dot11InformationEleme... constant Dot11InformationElementIDTFSRequest (line 318) | Dot11InformationElementIDTFSRequest Dot11InformationEleme... constant Dot11InformationElementIDTFSResponse (line 319) | Dot11InformationElementIDTFSResponse Dot11InformationEleme... constant Dot11InformationElementIDWNMSleepMode (line 320) | Dot11InformationElementIDWNMSleepMode Dot11InformationEleme... constant Dot11InformationElementIDTIMBroadcastRequest (line 321) | Dot11InformationElementIDTIMBroadcastRequest Dot11InformationEleme... constant Dot11InformationElementIDTIMBroadcastResponse (line 322) | Dot11InformationElementIDTIMBroadcastResponse Dot11InformationEleme... constant Dot11InformationElementIDCollInterferenceReport (line 323) | Dot11InformationElementIDCollInterferenceReport Dot11InformationEleme... constant Dot11InformationElementIDChannelUsage (line 324) | Dot11InformationElementIDChannelUsage Dot11InformationEleme... constant Dot11InformationElementIDTimeZone (line 325) | Dot11InformationElementIDTimeZone Dot11InformationEleme... constant Dot11InformationElementIDDMSRequest (line 326) | Dot11InformationElementIDDMSRequest Dot11InformationEleme... constant Dot11InformationElementIDDMSResponse (line 327) | Dot11InformationElementIDDMSResponse Dot11InformationEleme... constant Dot11InformationElementIDLinkIdentifier (line 328) | Dot11InformationElementIDLinkIdentifier Dot11InformationEleme... constant Dot11InformationElementIDWakeupSchedule (line 329) | Dot11InformationElementIDWakeupSchedule Dot11InformationEleme... constant Dot11InformationElementIDChannelSwitchTiming (line 330) | Dot11InformationElementIDChannelSwitchTiming Dot11InformationEleme... constant Dot11InformationElementIDPTIControl (line 331) | Dot11InformationElementIDPTIControl Dot11InformationEleme... constant Dot11InformationElementIDPUBufferStatus (line 332) | Dot11InformationElementIDPUBufferStatus Dot11InformationEleme... constant Dot11InformationElementIDInterworking (line 333) | Dot11InformationElementIDInterworking Dot11InformationEleme... constant Dot11InformationElementIDAdvertisementProtocol (line 334) | Dot11InformationElementIDAdvertisementProtocol Dot11InformationEleme... constant Dot11InformationElementIDExpBWRequest (line 335) | Dot11InformationElementIDExpBWRequest Dot11InformationEleme... constant Dot11InformationElementIDQOSMapSet (line 336) | Dot11InformationElementIDQOSMapSet Dot11InformationEleme... constant Dot11InformationElementIDRoamingConsortium (line 337) | Dot11InformationElementIDRoamingConsortium Dot11InformationEleme... constant Dot11InformationElementIDEmergencyAlertIdentifier (line 338) | Dot11InformationElementIDEmergencyAlertIdentifier Dot11InformationEleme... constant Dot11InformationElementIDMeshConfiguration (line 339) | Dot11InformationElementIDMeshConfiguration Dot11InformationEleme... constant Dot11InformationElementIDMeshID (line 340) | Dot11InformationElementIDMeshID Dot11InformationEleme... constant Dot11InformationElementIDMeshLinkMetricReport (line 341) | Dot11InformationElementIDMeshLinkMetricReport Dot11InformationEleme... constant Dot11InformationElementIDCongestionNotification (line 342) | Dot11InformationElementIDCongestionNotification Dot11InformationEleme... constant Dot11InformationElementIDMeshPeeringManagement (line 343) | Dot11InformationElementIDMeshPeeringManagement Dot11InformationEleme... constant Dot11InformationElementIDMeshChannelSwitchParam (line 344) | Dot11InformationElementIDMeshChannelSwitchParam Dot11InformationEleme... constant Dot11InformationElementIDMeshAwakeWindows (line 345) | Dot11InformationElementIDMeshAwakeWindows Dot11InformationEleme... constant Dot11InformationElementIDBeaconTiming (line 346) | Dot11InformationElementIDBeaconTiming Dot11InformationEleme... constant Dot11InformationElementIDMCCAOPSetupRequest (line 347) | Dot11InformationElementIDMCCAOPSetupRequest Dot11InformationEleme... constant Dot11InformationElementIDMCCAOPSetupReply (line 348) | Dot11InformationElementIDMCCAOPSetupReply Dot11InformationEleme... constant Dot11InformationElementIDMCCAOPAdvertisement (line 349) | Dot11InformationElementIDMCCAOPAdvertisement Dot11InformationEleme... constant Dot11InformationElementIDMCCAOPTeardown (line 350) | Dot11InformationElementIDMCCAOPTeardown Dot11InformationEleme... constant Dot11InformationElementIDGateAnnouncement (line 351) | Dot11InformationElementIDGateAnnouncement Dot11InformationEleme... constant Dot11InformationElementIDRootAnnouncement (line 352) | Dot11InformationElementIDRootAnnouncement Dot11InformationEleme... constant Dot11InformationElementIDExtCapability (line 353) | Dot11InformationElementIDExtCapability Dot11InformationEleme... constant Dot11InformationElementIDAgereProprietary (line 354) | Dot11InformationElementIDAgereProprietary Dot11InformationEleme... constant Dot11InformationElementIDPathRequest (line 355) | Dot11InformationElementIDPathRequest Dot11InformationEleme... constant Dot11InformationElementIDPathReply (line 356) | Dot11InformationElementIDPathReply Dot11InformationEleme... constant Dot11InformationElementIDPathError (line 357) | Dot11InformationElementIDPathError Dot11InformationEleme... constant Dot11InformationElementIDCiscoCCX1CKIPDeviceName (line 358) | Dot11InformationElementIDCiscoCCX1CKIPDeviceName Dot11InformationEleme... constant Dot11InformationElementIDCiscoCCX2 (line 359) | Dot11InformationElementIDCiscoCCX2 Dot11InformationEleme... constant Dot11InformationElementIDProxyUpdate (line 360) | Dot11InformationElementIDProxyUpdate Dot11InformationEleme... constant Dot11InformationElementIDProxyUpdateConfirmation (line 361) | Dot11InformationElementIDProxyUpdateConfirmation Dot11InformationEleme... constant Dot11InformationElementIDAuthMeshPerringExch (line 362) | Dot11InformationElementIDAuthMeshPerringExch Dot11InformationEleme... constant Dot11InformationElementIDMIC (line 363) | Dot11InformationElementIDMIC Dot11InformationEleme... constant Dot11InformationElementIDDestinationURI (line 364) | Dot11InformationElementIDDestinationURI Dot11InformationEleme... constant Dot11InformationElementIDUAPSDCoexistence (line 365) | Dot11InformationElementIDUAPSDCoexistence Dot11InformationEleme... constant Dot11InformationElementIDWakeupSchedule80211ad (line 366) | Dot11InformationElementIDWakeupSchedule80211ad Dot11InformationEleme... constant Dot11InformationElementIDExtendedSchedule (line 367) | Dot11InformationElementIDExtendedSchedule Dot11InformationEleme... constant Dot11InformationElementIDSTAAvailability (line 368) | Dot11InformationElementIDSTAAvailability Dot11InformationEleme... constant Dot11InformationElementIDDMGTSPEC (line 369) | Dot11InformationElementIDDMGTSPEC Dot11InformationEleme... constant Dot11InformationElementIDNextDMGATI (line 370) | Dot11InformationElementIDNextDMGATI Dot11InformationEleme... constant Dot11InformationElementIDDMSCapabilities (line 371) | Dot11InformationElementIDDMSCapabilities Dot11InformationEleme... constant Dot11InformationElementIDCiscoUnknown95 (line 372) | Dot11InformationElementIDCiscoUnknown95 Dot11InformationEleme... constant Dot11InformationElementIDVendor2 (line 373) | Dot11InformationElementIDVendor2 Dot11InformationEleme... constant Dot11InformationElementIDDMGOperating (line 374) | Dot11InformationElementIDDMGOperating Dot11InformationEleme... constant Dot11InformationElementIDDMGBSSParamChange (line 375) | Dot11InformationElementIDDMGBSSParamChange Dot11InformationEleme... constant Dot11InformationElementIDDMGBeamRefinement (line 376) | Dot11InformationElementIDDMGBeamRefinement Dot11InformationEleme... constant Dot11InformationElementIDChannelMeasFeedback (line 377) | Dot11InformationElementIDChannelMeasFeedback Dot11InformationEleme... constant Dot11InformationElementIDAwakeWindow (line 378) | Dot11InformationElementIDAwakeWindow Dot11InformationEleme... constant Dot11InformationElementIDMultiBand (line 379) | Dot11InformationElementIDMultiBand Dot11InformationEleme... constant Dot11InformationElementIDADDBAExtension (line 380) | Dot11InformationElementIDADDBAExtension Dot11InformationEleme... constant Dot11InformationElementIDNEXTPCPList (line 381) | Dot11InformationElementIDNEXTPCPList Dot11InformationEleme... constant Dot11InformationElementIDPCPHandover (line 382) | Dot11InformationElementIDPCPHandover Dot11InformationEleme... constant Dot11InformationElementIDDMGLinkMargin (line 383) | Dot11InformationElementIDDMGLinkMargin Dot11InformationEleme... constant Dot11InformationElementIDSwitchingStream (line 384) | Dot11InformationElementIDSwitchingStream Dot11InformationEleme... constant Dot11InformationElementIDSessionTransmission (line 385) | Dot11InformationElementIDSessionTransmission Dot11InformationEleme... constant Dot11InformationElementIDDynamicTonePairReport (line 386) | Dot11InformationElementIDDynamicTonePairReport Dot11InformationEleme... constant Dot11InformationElementIDClusterReport (line 387) | Dot11InformationElementIDClusterReport Dot11InformationEleme... constant Dot11InformationElementIDRelayCapabilities (line 388) | Dot11InformationElementIDRelayCapabilities Dot11InformationEleme... constant Dot11InformationElementIDRelayTransferParameter (line 389) | Dot11InformationElementIDRelayTransferParameter Dot11InformationEleme... constant Dot11InformationElementIDBeamlinkMaintenance (line 390) | Dot11InformationElementIDBeamlinkMaintenance Dot11InformationEleme... constant Dot11InformationElementIDMultipleMacSublayers (line 391) | Dot11InformationElementIDMultipleMacSublayers Dot11InformationEleme... constant Dot11InformationElementIDUPID (line 392) | Dot11InformationElementIDUPID Dot11InformationEleme... constant Dot11InformationElementIDDMGLinkAdaptionAck (line 393) | Dot11InformationElementIDDMGLinkAdaptionAck Dot11InformationEleme... constant Dot11InformationElementIDSymbolProprietary (line 394) | Dot11InformationElementIDSymbolProprietary Dot11InformationEleme... constant Dot11InformationElementIDMCCAOPAdvertOverview (line 395) | Dot11InformationElementIDMCCAOPAdvertOverview Dot11InformationEleme... constant Dot11InformationElementIDQuietPeriodRequest (line 396) | Dot11InformationElementIDQuietPeriodRequest Dot11InformationEleme... constant Dot11InformationElementIDQuietPeriodResponse (line 397) | Dot11InformationElementIDQuietPeriodResponse Dot11InformationEleme... constant Dot11InformationElementIDECPACPolicy (line 398) | Dot11InformationElementIDECPACPolicy Dot11InformationEleme... constant Dot11InformationElementIDClusterTimeOffset (line 399) | Dot11InformationElementIDClusterTimeOffset Dot11InformationEleme... constant Dot11InformationElementIDAntennaSectorID (line 400) | Dot11InformationElementIDAntennaSectorID Dot11InformationEleme... constant Dot11InformationElementIDVHTCapabilities (line 401) | Dot11InformationElementIDVHTCapabilities Dot11InformationEleme... constant Dot11InformationElementIDVHTOperation (line 402) | Dot11InformationElementIDVHTOperation Dot11InformationEleme... constant Dot11InformationElementIDExtendedBSSLoad (line 403) | Dot11InformationElementIDExtendedBSSLoad Dot11InformationEleme... constant Dot11InformationElementIDWideBWChannelSwitch (line 404) | Dot11InformationElementIDWideBWChannelSwitch Dot11InformationEleme... constant Dot11InformationElementIDVHTTxPowerEnvelope (line 405) | Dot11InformationElementIDVHTTxPowerEnvelope Dot11InformationEleme... constant Dot11InformationElementIDChannelSwitchWrapper (line 406) | Dot11InformationElementIDChannelSwitchWrapper Dot11InformationEleme... constant Dot11InformationElementIDOperatingModeNotification (line 407) | Dot11InformationElementIDOperatingModeNotification Dot11InformationEleme... constant Dot11InformationElementIDUPSIM (line 408) | Dot11InformationElementIDUPSIM Dot11InformationEleme... constant Dot11InformationElementIDReducedNeighborReport (line 409) | Dot11InformationElementIDReducedNeighborReport Dot11InformationEleme... constant Dot11InformationElementIDTVHTOperation (line 410) | Dot11InformationElementIDTVHTOperation Dot11InformationEleme... constant Dot11InformationElementIDDeviceLocation (line 411) | Dot11InformationElementIDDeviceLocation Dot11InformationEleme... constant Dot11InformationElementIDWhiteSpaceMap (line 412) | Dot11InformationElementIDWhiteSpaceMap Dot11InformationEleme... constant Dot11InformationElementIDFineTuningMeasureParams (line 413) | Dot11InformationElementIDFineTuningMeasureParams Dot11InformationEleme... constant Dot11InformationElementIDVendor (line 414) | Dot11InformationElementIDVendor Dot11InformationEleme... type Dot11 (line 773) | type Dot11 struct method LayerType (line 884) | func (m *Dot11) LayerType() gopacket.LayerType { return LayerTypeDot11 } method CanDecode (line 885) | func (m *Dot11) CanDecode() gopacket.LayerClass { return LayerTypeDot11 } method NextLayerType (line 886) | func (m *Dot11) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 918) | func (m *Dot11) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method ChecksumValid (line 1084) | func (m *Dot11) ChecksumValid() bool { method SerializeTo (line 1092) | func (m Dot11) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.S... type Dot11QOS (line 791) | type Dot11QOS struct type Dot11HTControl (line 798) | type Dot11HTControl struct type Dot11HTControlHT (line 806) | type Dot11HTControlHT struct type Dot11HTControlVHT (line 815) | type Dot11HTControlVHT struct type Dot11HTControlMFB (line 828) | type Dot11HTControlMFB struct method NoFeedBackPresent (line 867) | func (m *Dot11HTControlMFB) NoFeedBackPresent() bool { type Dot11LinkAdapationControl (line 835) | type Dot11LinkAdapationControl struct type Dot11ASEL (line 844) | type Dot11ASEL struct type Dot11CodingType (line 849) | type Dot11CodingType method String (line 856) | func (a Dot11CodingType) String() string { constant Dot11CodingTypeBCC (line 852) | Dot11CodingTypeBCC = 0 constant Dot11CodingTypeLDPC (line 853) | Dot11CodingTypeLDPC = 1 function decodeDot11 (line 871) | func decodeDot11(data []byte, p gopacket.PacketBuilder) error { function createU8 (line 896) | func createU8(x uint8) *uint8 { type Dot11Mgmt (line 1134) | type Dot11Mgmt struct method NextLayerType (line 1138) | func (m *Dot11Mgmt) NextLayerType() gopacket.LayerType { return gopack... method DecodeFromBytes (line 1139) | func (m *Dot11Mgmt) DecodeFromBytes(data []byte, df gopacket.DecodeFee... type Dot11Ctrl (line 1145) | type Dot11Ctrl struct method NextLayerType (line 1149) | func (m *Dot11Ctrl) NextLayerType() gopacket.LayerType { return gopack... method LayerType (line 1151) | func (m *Dot11Ctrl) LayerType() gopacket.LayerType { return LayerType... method CanDecode (line 1152) | func (m *Dot11Ctrl) CanDecode() gopacket.LayerClass { return LayerType... method DecodeFromBytes (line 1153) | func (m *Dot11Ctrl) DecodeFromBytes(data []byte, df gopacket.DecodeFee... function decodeDot11Ctrl (line 1158) | func decodeDot11Ctrl(data []byte, p gopacket.PacketBuilder) error { type Dot11WEP (line 1164) | type Dot11WEP struct method NextLayerType (line 1168) | func (m *Dot11WEP) NextLayerType() gopacket.LayerType { return gopacke... method LayerType (line 1170) | func (m *Dot11WEP) LayerType() gopacket.LayerType { return LayerTypeD... method CanDecode (line 1171) | func (m *Dot11WEP) CanDecode() gopacket.LayerClass { return LayerTypeD... method DecodeFromBytes (line 1172) | func (m *Dot11WEP) DecodeFromBytes(data []byte, df gopacket.DecodeFeed... function decodeDot11WEP (line 1177) | func decodeDot11WEP(data []byte, p gopacket.PacketBuilder) error { type Dot11Data (line 1183) | type Dot11Data struct method NextLayerType (line 1187) | func (m *Dot11Data) NextLayerType() gopacket.LayerType { method LayerType (line 1191) | func (m *Dot11Data) LayerType() gopacket.LayerType { return LayerType... method CanDecode (line 1192) | func (m *Dot11Data) CanDecode() gopacket.LayerClass { return LayerType... method DecodeFromBytes (line 1193) | func (m *Dot11Data) DecodeFromBytes(data []byte, df gopacket.DecodeFee... function decodeDot11Data (line 1198) | func decodeDot11Data(data []byte, p gopacket.PacketBuilder) error { type Dot11DataCFAck (line 1203) | type Dot11DataCFAck struct method LayerType (line 1212) | func (m *Dot11DataCFAck) LayerType() gopacket.LayerType { return Laye... method CanDecode (line 1213) | func (m *Dot11DataCFAck) CanDecode() gopacket.LayerClass { return Laye... method DecodeFromBytes (line 1214) | func (m *Dot11DataCFAck) DecodeFromBytes(data []byte, df gopacket.Deco... function decodeDot11DataCFAck (line 1207) | func decodeDot11DataCFAck(data []byte, p gopacket.PacketBuilder) error { type Dot11DataCFPoll (line 1218) | type Dot11DataCFPoll struct method LayerType (line 1227) | func (m *Dot11DataCFPoll) LayerType() gopacket.LayerType { return Lay... method CanDecode (line 1228) | func (m *Dot11DataCFPoll) CanDecode() gopacket.LayerClass { return Lay... method DecodeFromBytes (line 1229) | func (m *Dot11DataCFPoll) DecodeFromBytes(data []byte, df gopacket.Dec... function decodeDot11DataCFPoll (line 1222) | func decodeDot11DataCFPoll(data []byte, p gopacket.PacketBuilder) error { type Dot11DataCFAckPoll (line 1233) | type Dot11DataCFAckPoll struct method LayerType (line 1242) | func (m *Dot11DataCFAckPoll) LayerType() gopacket.LayerType { return ... method CanDecode (line 1243) | func (m *Dot11DataCFAckPoll) CanDecode() gopacket.LayerClass { return ... method DecodeFromBytes (line 1244) | func (m *Dot11DataCFAckPoll) DecodeFromBytes(data []byte, df gopacket.... function decodeDot11DataCFAckPoll (line 1237) | func decodeDot11DataCFAckPoll(data []byte, p gopacket.PacketBuilder) err... type Dot11DataNull (line 1248) | type Dot11DataNull struct method LayerType (line 1257) | func (m *Dot11DataNull) LayerType() gopacket.LayerType { return Layer... method CanDecode (line 1258) | func (m *Dot11DataNull) CanDecode() gopacket.LayerClass { return Layer... method DecodeFromBytes (line 1259) | func (m *Dot11DataNull) DecodeFromBytes(data []byte, df gopacket.Decod... function decodeDot11DataNull (line 1252) | func decodeDot11DataNull(data []byte, p gopacket.PacketBuilder) error { type Dot11DataCFAckNoData (line 1263) | type Dot11DataCFAckNoData struct method LayerType (line 1272) | func (m *Dot11DataCFAckNoData) LayerType() gopacket.LayerType { retur... method CanDecode (line 1273) | func (m *Dot11DataCFAckNoData) CanDecode() gopacket.LayerClass { retur... method DecodeFromBytes (line 1274) | func (m *Dot11DataCFAckNoData) DecodeFromBytes(data []byte, df gopacke... function decodeDot11DataCFAckNoData (line 1267) | func decodeDot11DataCFAckNoData(data []byte, p gopacket.PacketBuilder) e... type Dot11DataCFPollNoData (line 1278) | type Dot11DataCFPollNoData struct method LayerType (line 1287) | func (m *Dot11DataCFPollNoData) LayerType() gopacket.LayerType { retur... method CanDecode (line 1288) | func (m *Dot11DataCFPollNoData) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1291) | func (m *Dot11DataCFPollNoData) DecodeFromBytes(data []byte, df gopack... function decodeDot11DataCFPollNoData (line 1282) | func decodeDot11DataCFPollNoData(data []byte, p gopacket.PacketBuilder) ... type Dot11DataCFAckPollNoData (line 1295) | type Dot11DataCFAckPollNoData struct method LayerType (line 1304) | func (m *Dot11DataCFAckPollNoData) LayerType() gopacket.LayerType { method CanDecode (line 1307) | func (m *Dot11DataCFAckPollNoData) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1310) | func (m *Dot11DataCFAckPollNoData) DecodeFromBytes(data []byte, df gop... function decodeDot11DataCFAckPollNoData (line 1299) | func decodeDot11DataCFAckPollNoData(data []byte, p gopacket.PacketBuilde... type Dot11DataQOS (line 1314) | type Dot11DataQOS struct method DecodeFromBytes (line 1318) | func (m *Dot11DataQOS) DecodeFromBytes(data []byte, df gopacket.Decode... type Dot11DataQOSData (line 1323) | type Dot11DataQOSData struct method LayerType (line 1332) | func (m *Dot11DataQOSData) LayerType() gopacket.LayerType { return La... method CanDecode (line 1333) | func (m *Dot11DataQOSData) CanDecode() gopacket.LayerClass { return La... method NextLayerType (line 1335) | func (m *Dot11DataQOSData) NextLayerType() gopacket.LayerType { function decodeDot11DataQOSData (line 1327) | func decodeDot11DataQOSData(data []byte, p gopacket.PacketBuilder) error { type Dot11DataQOSDataCFAck (line 1339) | type Dot11DataQOSDataCFAck struct method LayerType (line 1348) | func (m *Dot11DataQOSDataCFAck) LayerType() gopacket.LayerType { retur... method CanDecode (line 1349) | func (m *Dot11DataQOSDataCFAck) CanDecode() gopacket.LayerClass { method NextLayerType (line 1352) | func (m *Dot11DataQOSDataCFAck) NextLayerType() gopacket.LayerType { r... function decodeDot11DataQOSDataCFAck (line 1343) | func decodeDot11DataQOSDataCFAck(data []byte, p gopacket.PacketBuilder) ... type Dot11DataQOSDataCFPoll (line 1354) | type Dot11DataQOSDataCFPoll struct method LayerType (line 1363) | func (m *Dot11DataQOSDataCFPoll) LayerType() gopacket.LayerType { method CanDecode (line 1366) | func (m *Dot11DataQOSDataCFPoll) CanDecode() gopacket.LayerClass { method NextLayerType (line 1369) | func (m *Dot11DataQOSDataCFPoll) NextLayerType() gopacket.LayerType { ... function decodeDot11DataQOSDataCFPoll (line 1358) | func decodeDot11DataQOSDataCFPoll(data []byte, p gopacket.PacketBuilder)... type Dot11DataQOSDataCFAckPoll (line 1371) | type Dot11DataQOSDataCFAckPoll struct method LayerType (line 1380) | func (m *Dot11DataQOSDataCFAckPoll) LayerType() gopacket.LayerType { method CanDecode (line 1383) | func (m *Dot11DataQOSDataCFAckPoll) CanDecode() gopacket.LayerClass { method NextLayerType (line 1386) | func (m *Dot11DataQOSDataCFAckPoll) NextLayerType() gopacket.LayerType { function decodeDot11DataQOSDataCFAckPoll (line 1375) | func decodeDot11DataQOSDataCFAckPoll(data []byte, p gopacket.PacketBuild... type Dot11DataQOSNull (line 1390) | type Dot11DataQOSNull struct method LayerType (line 1399) | func (m *Dot11DataQOSNull) LayerType() gopacket.LayerType { return... method CanDecode (line 1400) | func (m *Dot11DataQOSNull) CanDecode() gopacket.LayerClass { return... method NextLayerType (line 1401) | func (m *Dot11DataQOSNull) NextLayerType() gopacket.LayerType { return... function decodeDot11DataQOSNull (line 1394) | func decodeDot11DataQOSNull(data []byte, p gopacket.PacketBuilder) error { type Dot11DataQOSCFPollNoData (line 1403) | type Dot11DataQOSCFPollNoData struct method LayerType (line 1412) | func (m *Dot11DataQOSCFPollNoData) LayerType() gopacket.LayerType { method CanDecode (line 1415) | func (m *Dot11DataQOSCFPollNoData) CanDecode() gopacket.LayerClass { method NextLayerType (line 1418) | func (m *Dot11DataQOSCFPollNoData) NextLayerType() gopacket.LayerType { function decodeDot11DataQOSCFPollNoData (line 1407) | func decodeDot11DataQOSCFPollNoData(data []byte, p gopacket.PacketBuilde... type Dot11DataQOSCFAckPollNoData (line 1422) | type Dot11DataQOSCFAckPollNoData struct method LayerType (line 1431) | func (m *Dot11DataQOSCFAckPollNoData) LayerType() gopacket.LayerType { method CanDecode (line 1434) | func (m *Dot11DataQOSCFAckPollNoData) CanDecode() gopacket.LayerClass { method NextLayerType (line 1437) | func (m *Dot11DataQOSCFAckPollNoData) NextLayerType() gopacket.LayerTy... function decodeDot11DataQOSCFAckPollNoData (line 1426) | func decodeDot11DataQOSCFAckPollNoData(data []byte, p gopacket.PacketBui... type Dot11InformationElement (line 1441) | type Dot11InformationElement struct method LayerType (line 1449) | func (m *Dot11InformationElement) LayerType() gopacket.LayerType { method CanDecode (line 1452) | func (m *Dot11InformationElement) CanDecode() gopacket.LayerClass { method NextLayerType (line 1456) | func (m *Dot11InformationElement) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 1460) | func (m *Dot11InformationElement) DecodeFromBytes(data []byte, df gopa... method String (line 1491) | func (d *Dot11InformationElement) String() string { method SerializeTo (line 1511) | func (m Dot11InformationElement) SerializeTo(b gopacket.SerializeBuffe... function decodeDot11InformationElement (line 1524) | func decodeDot11InformationElement(data []byte, p gopacket.PacketBuilder... type Dot11CtrlCTS (line 1529) | type Dot11CtrlCTS struct method LayerType (line 1538) | func (m *Dot11CtrlCTS) LayerType() gopacket.LayerType { method CanDecode (line 1541) | func (m *Dot11CtrlCTS) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1544) | func (m *Dot11CtrlCTS) DecodeFromBytes(data []byte, df gopacket.Decode... function decodeDot11CtrlCTS (line 1533) | func decodeDot11CtrlCTS(data []byte, p gopacket.PacketBuilder) error { type Dot11CtrlRTS (line 1548) | type Dot11CtrlRTS struct method LayerType (line 1557) | func (m *Dot11CtrlRTS) LayerType() gopacket.LayerType { method CanDecode (line 1560) | func (m *Dot11CtrlRTS) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1563) | func (m *Dot11CtrlRTS) DecodeFromBytes(data []byte, df gopacket.Decode... function decodeDot11CtrlRTS (line 1552) | func decodeDot11CtrlRTS(data []byte, p gopacket.PacketBuilder) error { type Dot11CtrlBlockAckReq (line 1567) | type Dot11CtrlBlockAckReq struct method LayerType (line 1576) | func (m *Dot11CtrlBlockAckReq) LayerType() gopacket.LayerType { method CanDecode (line 1579) | func (m *Dot11CtrlBlockAckReq) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1582) | func (m *Dot11CtrlBlockAckReq) DecodeFromBytes(data []byte, df gopacke... function decodeDot11CtrlBlockAckReq (line 1571) | func decodeDot11CtrlBlockAckReq(data []byte, p gopacket.PacketBuilder) e... type Dot11CtrlBlockAck (line 1586) | type Dot11CtrlBlockAck struct method LayerType (line 1595) | func (m *Dot11CtrlBlockAck) LayerType() gopacket.LayerType { return L... method CanDecode (line 1596) | func (m *Dot11CtrlBlockAck) CanDecode() gopacket.LayerClass { return L... method DecodeFromBytes (line 1597) | func (m *Dot11CtrlBlockAck) DecodeFromBytes(data []byte, df gopacket.D... function decodeDot11CtrlBlockAck (line 1590) | func decodeDot11CtrlBlockAck(data []byte, p gopacket.PacketBuilder) error { type Dot11CtrlPowersavePoll (line 1601) | type Dot11CtrlPowersavePoll struct method LayerType (line 1610) | func (m *Dot11CtrlPowersavePoll) LayerType() gopacket.LayerType { method CanDecode (line 1613) | func (m *Dot11CtrlPowersavePoll) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1616) | func (m *Dot11CtrlPowersavePoll) DecodeFromBytes(data []byte, df gopac... function decodeDot11CtrlPowersavePoll (line 1605) | func decodeDot11CtrlPowersavePoll(data []byte, p gopacket.PacketBuilder)... type Dot11CtrlAck (line 1620) | type Dot11CtrlAck struct method LayerType (line 1629) | func (m *Dot11CtrlAck) LayerType() gopacket.LayerType { return LayerT... method CanDecode (line 1630) | func (m *Dot11CtrlAck) CanDecode() gopacket.LayerClass { return LayerT... method DecodeFromBytes (line 1631) | func (m *Dot11CtrlAck) DecodeFromBytes(data []byte, df gopacket.Decode... function decodeDot11CtrlAck (line 1624) | func decodeDot11CtrlAck(data []byte, p gopacket.PacketBuilder) error { type Dot11CtrlCFEnd (line 1635) | type Dot11CtrlCFEnd struct method LayerType (line 1644) | func (m *Dot11CtrlCFEnd) LayerType() gopacket.LayerType { method CanDecode (line 1647) | func (m *Dot11CtrlCFEnd) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1650) | func (m *Dot11CtrlCFEnd) DecodeFromBytes(data []byte, df gopacket.Deco... function decodeDot11CtrlCFEnd (line 1639) | func decodeDot11CtrlCFEnd(data []byte, p gopacket.PacketBuilder) error { type Dot11CtrlCFEndAck (line 1654) | type Dot11CtrlCFEndAck struct method LayerType (line 1663) | func (m *Dot11CtrlCFEndAck) LayerType() gopacket.LayerType { method CanDecode (line 1666) | func (m *Dot11CtrlCFEndAck) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1669) | func (m *Dot11CtrlCFEndAck) DecodeFromBytes(data []byte, df gopacket.D... function decodeDot11CtrlCFEndAck (line 1658) | func decodeDot11CtrlCFEndAck(data []byte, p gopacket.PacketBuilder) error { type Dot11MgmtAssociationReq (line 1673) | type Dot11MgmtAssociationReq struct method LayerType (line 1684) | func (m *Dot11MgmtAssociationReq) LayerType() gopacket.LayerType { method CanDecode (line 1687) | func (m *Dot11MgmtAssociationReq) CanDecode() gopacket.LayerClass { method NextLayerType (line 1690) | func (m *Dot11MgmtAssociationReq) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 1693) | func (m *Dot11MgmtAssociationReq) DecodeFromBytes(data []byte, df gopa... method SerializeTo (line 1704) | func (m Dot11MgmtAssociationReq) SerializeTo(b gopacket.SerializeBuffe... function decodeDot11MgmtAssociationReq (line 1679) | func decodeDot11MgmtAssociationReq(data []byte, p gopacket.PacketBuilder... type Dot11MgmtAssociationResp (line 1717) | type Dot11MgmtAssociationResp struct method CanDecode (line 1729) | func (m *Dot11MgmtAssociationResp) CanDecode() gopacket.LayerClass { method LayerType (line 1732) | func (m *Dot11MgmtAssociationResp) LayerType() gopacket.LayerType { method NextLayerType (line 1735) | func (m *Dot11MgmtAssociationResp) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 1738) | func (m *Dot11MgmtAssociationResp) DecodeFromBytes(data []byte, df gop... method SerializeTo (line 1750) | func (m Dot11MgmtAssociationResp) SerializeTo(b gopacket.SerializeBuff... function decodeDot11MgmtAssociationResp (line 1724) | func decodeDot11MgmtAssociationResp(data []byte, p gopacket.PacketBuilde... type Dot11MgmtReassociationReq (line 1764) | type Dot11MgmtReassociationReq struct method LayerType (line 1776) | func (m *Dot11MgmtReassociationReq) LayerType() gopacket.LayerType { method CanDecode (line 1779) | func (m *Dot11MgmtReassociationReq) CanDecode() gopacket.LayerClass { method NextLayerType (line 1782) | func (m *Dot11MgmtReassociationReq) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 1785) | func (m *Dot11MgmtReassociationReq) DecodeFromBytes(data []byte, df go... method SerializeTo (line 1797) | func (m Dot11MgmtReassociationReq) SerializeTo(b gopacket.SerializeBuf... function decodeDot11MgmtReassociationReq (line 1771) | func decodeDot11MgmtReassociationReq(data []byte, p gopacket.PacketBuild... type Dot11MgmtReassociationResp (line 1812) | type Dot11MgmtReassociationResp struct method LayerType (line 1821) | func (m *Dot11MgmtReassociationResp) LayerType() gopacket.LayerType { method CanDecode (line 1824) | func (m *Dot11MgmtReassociationResp) CanDecode() gopacket.LayerClass { method NextLayerType (line 1827) | func (m *Dot11MgmtReassociationResp) NextLayerType() gopacket.LayerType { function decodeDot11MgmtReassociationResp (line 1816) | func decodeDot11MgmtReassociationResp(data []byte, p gopacket.PacketBuil... type Dot11MgmtProbeReq (line 1831) | type Dot11MgmtProbeReq struct method LayerType (line 1840) | func (m *Dot11MgmtProbeReq) LayerType() gopacket.LayerType { return L... method CanDecode (line 1841) | func (m *Dot11MgmtProbeReq) CanDecode() gopacket.LayerClass { return L... method NextLayerType (line 1842) | func (m *Dot11MgmtProbeReq) NextLayerType() gopacket.LayerType { function decodeDot11MgmtProbeReq (line 1835) | func decodeDot11MgmtProbeReq(data []byte, p gopacket.PacketBuilder) error { type Dot11MgmtProbeResp (line 1846) | type Dot11MgmtProbeResp struct method LayerType (line 1858) | func (m *Dot11MgmtProbeResp) LayerType() gopacket.LayerType { return ... method CanDecode (line 1859) | func (m *Dot11MgmtProbeResp) CanDecode() gopacket.LayerClass { return ... method DecodeFromBytes (line 1860) | func (m *Dot11MgmtProbeResp) DecodeFromBytes(data []byte, df gopacket.... method NextLayerType (line 1875) | func (m *Dot11MgmtProbeResp) NextLayerType() gopacket.LayerType { method SerializeTo (line 1879) | func (m Dot11MgmtProbeResp) SerializeTo(b gopacket.SerializeBuffer, op... function decodeDot11MgmtProbeResp (line 1853) | func decodeDot11MgmtProbeResp(data []byte, p gopacket.PacketBuilder) err... type Dot11MgmtMeasurementPilot (line 1893) | type Dot11MgmtMeasurementPilot struct method LayerType (line 1902) | func (m *Dot11MgmtMeasurementPilot) LayerType() gopacket.LayerType { method CanDecode (line 1905) | func (m *Dot11MgmtMeasurementPilot) CanDecode() gopacket.LayerClass { function decodeDot11MgmtMeasurementPilot (line 1897) | func decodeDot11MgmtMeasurementPilot(data []byte, p gopacket.PacketBuild... type Dot11MgmtBeacon (line 1909) | type Dot11MgmtBeacon struct method LayerType (line 1921) | func (m *Dot11MgmtBeacon) LayerType() gopacket.LayerType { return Lay... method CanDecode (line 1922) | func (m *Dot11MgmtBeacon) CanDecode() gopacket.LayerClass { return Lay... method DecodeFromBytes (line 1923) | func (m *Dot11MgmtBeacon) DecodeFromBytes(data []byte, df gopacket.Dec... method NextLayerType (line 1935) | func (m *Dot11MgmtBeacon) NextLayerType() gopacket.LayerType { return ... method SerializeTo (line 1937) | func (m Dot11MgmtBeacon) SerializeTo(b gopacket.SerializeBuffer, opts ... function decodeDot11MgmtBeacon (line 1916) | func decodeDot11MgmtBeacon(data []byte, p gopacket.PacketBuilder) error { type Dot11MgmtATIM (line 1951) | type Dot11MgmtATIM struct method LayerType (line 1960) | func (m *Dot11MgmtATIM) LayerType() gopacket.LayerType { return Layer... method CanDecode (line 1961) | func (m *Dot11MgmtATIM) CanDecode() gopacket.LayerClass { return Layer... function decodeDot11MgmtATIM (line 1955) | func decodeDot11MgmtATIM(data []byte, p gopacket.PacketBuilder) error { type Dot11MgmtDisassociation (line 1963) | type Dot11MgmtDisassociation struct method LayerType (line 1973) | func (m *Dot11MgmtDisassociation) LayerType() gopacket.LayerType { method CanDecode (line 1976) | func (m *Dot11MgmtDisassociation) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 1979) | func (m *Dot11MgmtDisassociation) DecodeFromBytes(data []byte, df gopa... method SerializeTo (line 1988) | func (m Dot11MgmtDisassociation) SerializeTo(b gopacket.SerializeBuffe... function decodeDot11MgmtDisassociation (line 1968) | func decodeDot11MgmtDisassociation(data []byte, p gopacket.PacketBuilder... type Dot11MgmtAuthentication (line 2000) | type Dot11MgmtAuthentication struct method LayerType (line 2012) | func (m *Dot11MgmtAuthentication) LayerType() gopacket.LayerType { method CanDecode (line 2015) | func (m *Dot11MgmtAuthentication) CanDecode() gopacket.LayerClass { method NextLayerType (line 2018) | func (m *Dot11MgmtAuthentication) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 2021) | func (m *Dot11MgmtAuthentication) DecodeFromBytes(data []byte, df gopa... method SerializeTo (line 2033) | func (m Dot11MgmtAuthentication) SerializeTo(b gopacket.SerializeBuffe... function decodeDot11MgmtAuthentication (line 2007) | func decodeDot11MgmtAuthentication(data []byte, p gopacket.PacketBuilder... type Dot11MgmtDeauthentication (line 2047) | type Dot11MgmtDeauthentication struct method LayerType (line 2057) | func (m *Dot11MgmtDeauthentication) LayerType() gopacket.LayerType { method CanDecode (line 2060) | func (m *Dot11MgmtDeauthentication) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 2063) | func (m *Dot11MgmtDeauthentication) DecodeFromBytes(data []byte, df go... method SerializeTo (line 2072) | func (m Dot11MgmtDeauthentication) SerializeTo(b gopacket.SerializeBuf... function decodeDot11MgmtDeauthentication (line 2052) | func decodeDot11MgmtDeauthentication(data []byte, p gopacket.PacketBuild... type Dot11MgmtAction (line 2084) | type Dot11MgmtAction struct method LayerType (line 2093) | func (m *Dot11MgmtAction) LayerType() gopacket.LayerType { return Lay... method CanDecode (line 2094) | func (m *Dot11MgmtAction) CanDecode() gopacket.LayerClass { return Lay... function decodeDot11MgmtAction (line 2088) | func decodeDot11MgmtAction(data []byte, p gopacket.PacketBuilder) error { type Dot11MgmtActionNoAck (line 2096) | type Dot11MgmtActionNoAck struct method LayerType (line 2105) | func (m *Dot11MgmtActionNoAck) LayerType() gopacket.LayerType { retur... method CanDecode (line 2106) | func (m *Dot11MgmtActionNoAck) CanDecode() gopacket.LayerClass { retur... function decodeDot11MgmtActionNoAck (line 2100) | func decodeDot11MgmtActionNoAck(data []byte, p gopacket.PacketBuilder) e... type Dot11MgmtArubaWLAN (line 2108) | type Dot11MgmtArubaWLAN struct method LayerType (line 2117) | func (m *Dot11MgmtArubaWLAN) LayerType() gopacket.LayerType { return ... method CanDecode (line 2118) | func (m *Dot11MgmtArubaWLAN) CanDecode() gopacket.LayerClass { return ... function decodeDot11MgmtArubaWLAN (line 2112) | func decodeDot11MgmtArubaWLAN(data []byte, p gopacket.PacketBuilder) err... FILE: layers/dot11_test.go function TestPacketDot11CtrlCTS (line 33) | func TestPacketDot11CtrlCTS(t *testing.T) { function BenchmarkDecodePacketDot11CtrlCTS (line 98) | func BenchmarkDecodePacketDot11CtrlCTS(b *testing.B) { function TestPacketDot11MgmtBeacon (line 139) | func TestPacketDot11MgmtBeacon(t *testing.T) { function BenchmarkDecodePacketDot11MgmtBeacon (line 161) | func BenchmarkDecodePacketDot11MgmtBeacon(b *testing.B) { function TestPacketDot11DataQOSData (line 184) | func TestPacketDot11DataQOSData(t *testing.T) { function BenchmarkDecodePacketDot11DataQOSData (line 212) | func BenchmarkDecodePacketDot11DataQOSData(b *testing.B) { function TestPacketDot11MgmtAction (line 231) | func TestPacketDot11MgmtAction(t *testing.T) { function BenchmarkDecodePacketDot11MgmtAction (line 249) | func BenchmarkDecodePacketDot11MgmtAction(b *testing.B) { function TestPacketDot11CtrlAck (line 266) | func TestPacketDot11CtrlAck(t *testing.T) { function BenchmarkDecodePacketDot11CtrlAck (line 303) | func BenchmarkDecodePacketDot11CtrlAck(b *testing.B) { function TestPacketDot11DataARP (line 326) | func TestPacketDot11DataARP(t *testing.T) { function BenchmarkDecodePacketDot11DataARP (line 356) | func BenchmarkDecodePacketDot11DataARP(b *testing.B) { function TestPacketDot11DataIP (line 417) | func TestPacketDot11DataIP(t *testing.T) { function BenchmarkDecodePacketDot11DataIP (line 424) | func BenchmarkDecodePacketDot11DataIP(b *testing.B) { function TestPacketP6196 (line 461) | func TestPacketP6196(t *testing.T) { function BenchmarkDecodePacketP6196 (line 470) | func BenchmarkDecodePacketP6196(b *testing.B) { function TestPacketDot11HTControl (line 520) | func TestPacketDot11HTControl(t *testing.T) { function TestInformationElement (line 539) | func TestInformationElement(t *testing.T) { FILE: layers/dot1q.go type Dot1Q (line 17) | type Dot1Q struct method LayerType (line 26) | func (d *Dot1Q) LayerType() gopacket.LayerType { return LayerTypeDot1Q } method DecodeFromBytes (line 29) | func (d *Dot1Q) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method CanDecode (line 43) | func (d *Dot1Q) CanDecode() gopacket.LayerClass { method NextLayerType (line 48) | func (d *Dot1Q) NextLayerType() gopacket.LayerType { method SerializeTo (line 60) | func (d *Dot1Q) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.... function decodeDot1Q (line 52) | func decodeDot1Q(data []byte, p gopacket.PacketBuilder) error { FILE: layers/dot1q_test.go function testEncodeDecodeDot1Q (line 18) | func testEncodeDecodeDot1Q(dot1Q *Dot1Q) error { function TestEncodeDecodeDot1Q (line 43) | func TestEncodeDecodeDot1Q(t *testing.T) { FILE: layers/eap.go type EAPCode (line 15) | type EAPCode type EAPType (line 16) | type EAPType constant EAPCodeRequest (line 19) | EAPCodeRequest EAPCode = 1 constant EAPCodeResponse (line 20) | EAPCodeResponse EAPCode = 2 constant EAPCodeSuccess (line 21) | EAPCodeSuccess EAPCode = 3 constant EAPCodeFailure (line 22) | EAPCodeFailure EAPCode = 4 constant EAPTypeNone (line 26) | EAPTypeNone EAPType = 0 constant EAPTypeIdentity (line 28) | EAPTypeIdentity EAPType = 1 constant EAPTypeNotification (line 29) | EAPTypeNotification EAPType = 2 constant EAPTypeNACK (line 30) | EAPTypeNACK EAPType = 3 constant EAPTypeOTP (line 31) | EAPTypeOTP EAPType = 4 constant EAPTypeTokenCard (line 32) | EAPTypeTokenCard EAPType = 5 type EAP (line 36) | type EAP struct method LayerType (line 46) | func (e *EAP) LayerType() gopacket.LayerType { return LayerTypeEAP } method DecodeFromBytes (line 49) | func (e *EAP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method SerializeTo (line 79) | func (e *EAP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... method CanDecode (line 102) | func (e *EAP) CanDecode() gopacket.LayerClass { method NextLayerType (line 107) | func (e *EAP) NextLayerType() gopacket.LayerType { function decodeEAP (line 111) | func decodeEAP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/eapol.go type EAPOL (line 16) | type EAPOL struct method LayerType (line 24) | func (e *EAPOL) LayerType() gopacket.LayerType { return LayerTypeEAPOL } method DecodeFromBytes (line 27) | func (e *EAPOL) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method SerializeTo (line 41) | func (e *EAPOL) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.... method CanDecode (line 50) | func (e *EAPOL) CanDecode() gopacket.LayerClass { method NextLayerType (line 55) | func (e *EAPOL) NextLayerType() gopacket.LayerType { function decodeEAPOL (line 59) | func decodeEAPOL(data []byte, p gopacket.PacketBuilder) error { type EAPOLKeyDescriptorType (line 66) | type EAPOLKeyDescriptorType method String (line 75) | func (kdt EAPOLKeyDescriptorType) String() string { constant EAPOLKeyDescriptorTypeRC4 (line 70) | EAPOLKeyDescriptorTypeRC4 EAPOLKeyDescriptorType = 1 constant EAPOLKeyDescriptorTypeDot11 (line 71) | EAPOLKeyDescriptorTypeDot11 EAPOLKeyDescriptorType = 2 constant EAPOLKeyDescriptorTypeWPA (line 72) | EAPOLKeyDescriptorTypeWPA EAPOLKeyDescriptorType = 254 type EAPOLKeyDescriptorVersion (line 91) | type EAPOLKeyDescriptorVersion method String (line 101) | func (v EAPOLKeyDescriptorVersion) String() string { constant EAPOLKeyDescriptorVersionOther (line 95) | EAPOLKeyDescriptorVersionOther EAPOLKeyDescriptorVersion = 0 constant EAPOLKeyDescriptorVersionRC4HMACMD5 (line 96) | EAPOLKeyDescriptorVersionRC4HMACMD5 EAPOLKeyDescriptorVersion = 1 constant EAPOLKeyDescriptorVersionAESHMACSHA1 (line 97) | EAPOLKeyDescriptorVersionAESHMACSHA1 EAPOLKeyDescriptorVersion = 2 constant EAPOLKeyDescriptorVersionAES128CMAC (line 98) | EAPOLKeyDescriptorVersionAES128CMAC EAPOLKeyDescriptorVersion = 3 type EAPOLKeyType (line 118) | type EAPOLKeyType method String (line 126) | func (kt EAPOLKeyType) String() string { constant EAPOLKeyTypeGroupSMK (line 122) | EAPOLKeyTypeGroupSMK EAPOLKeyType = 0 constant EAPOLKeyTypePairwise (line 123) | EAPOLKeyTypePairwise EAPOLKeyType = 1 type EAPOLKey (line 138) | type EAPOLKey struct method LayerType (line 164) | func (ek *EAPOLKey) LayerType() gopacket.LayerType { method CanDecode (line 169) | func (ek *EAPOLKey) CanDecode() gopacket.LayerType { method NextLayerType (line 175) | func (ek *EAPOLKey) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 185) | func (ek *EAPOLKey) DecodeFromBytes(data []byte, df gopacket.DecodeFee... method SerializeTo (line 244) | func (ek *EAPOLKey) SerializeTo(b gopacket.SerializeBuffer, opts gopac... constant eapolKeyFrameLen (line 182) | eapolKeyFrameLen = 95 function decodeEAPOLKey (line 299) | func decodeEAPOLKey(data []byte, p gopacket.PacketBuilder) error { FILE: layers/eapol_test.go constant eapolErrFmt (line 15) | eapolErrFmt = "%s packet processing failed:\ngot :\n%#v\n\nwant :\n%#v\... function TestPacketEAPOLKey (line 48) | func TestPacketEAPOLKey(t *testing.T) { function BenchmarkDecodePacketEAPOLKey (line 119) | func BenchmarkDecodePacketEAPOLKey(b *testing.B) { FILE: layers/endpoints.go function NewIPEndpoint (line 52) | func NewIPEndpoint(a net.IP) gopacket.Endpoint { function NewMACEndpoint (line 67) | func NewMACEndpoint(a net.HardwareAddr) gopacket.Endpoint { function newPortEndpoint (line 70) | func newPortEndpoint(t gopacket.EndpointType, p uint16) gopacket.Endpoint { function NewTCPPortEndpoint (line 75) | func NewTCPPortEndpoint(p TCPPort) gopacket.Endpoint { function NewUDPPortEndpoint (line 80) | func NewUDPPortEndpoint(p UDPPort) gopacket.Endpoint { function NewSCTPPortEndpoint (line 85) | func NewSCTPPortEndpoint(p SCTPPort) gopacket.Endpoint { function NewRUDPPortEndpoint (line 90) | func NewRUDPPortEndpoint(p RUDPPort) gopacket.Endpoint { function NewUDPLitePortEndpoint (line 95) | func NewUDPLitePortEndpoint(p UDPLitePort) gopacket.Endpoint { FILE: layers/endpoints_test.go function TestNewIPEndpoint (line 16) | func TestNewIPEndpoint(t *testing.T) { FILE: layers/enums.go type EnumMetadata (line 19) | type EnumMetadata struct type EthernetType (line 30) | type EthernetType constant EthernetTypeLLC (line 36) | EthernetTypeLLC EthernetType = 0 constant EthernetTypeIPv4 (line 37) | EthernetTypeIPv4 EthernetType = 0x0800 constant EthernetTypeARP (line 38) | EthernetTypeARP EthernetType = 0x0806 constant EthernetTypeIPv6 (line 39) | EthernetTypeIPv6 EthernetType = 0x86DD constant EthernetTypeCiscoDiscovery (line 40) | EthernetTypeCiscoDiscovery EthernetType = 0x2000 constant EthernetTypeNortelDiscovery (line 41) | EthernetTypeNortelDiscovery EthernetType = 0x01a2 constant EthernetTypeTransparentEthernetBridging (line 42) | EthernetTypeTransparentEthernetBridging EthernetType = 0x6558 constant EthernetTypeDot1Q (line 43) | EthernetTypeDot1Q EthernetType = 0x8100 constant EthernetTypePPP (line 44) | EthernetTypePPP EthernetType = 0x880b constant EthernetTypePPPoEDiscovery (line 45) | EthernetTypePPPoEDiscovery EthernetType = 0x8863 constant EthernetTypePPPoESession (line 46) | EthernetTypePPPoESession EthernetType = 0x8864 constant EthernetTypeMPLSUnicast (line 47) | EthernetTypeMPLSUnicast EthernetType = 0x8847 constant EthernetTypeMPLSMulticast (line 48) | EthernetTypeMPLSMulticast EthernetType = 0x8848 constant EthernetTypeEAPOL (line 49) | EthernetTypeEAPOL EthernetType = 0x888e constant EthernetTypeERSPAN (line 50) | EthernetTypeERSPAN EthernetType = 0x88be constant EthernetTypeQinQ (line 51) | EthernetTypeQinQ EthernetType = 0x88a8 constant EthernetTypeLinkLayerDiscovery (line 52) | EthernetTypeLinkLayerDiscovery EthernetType = 0x88cc constant EthernetTypeEthernetCTP (line 53) | EthernetTypeEthernetCTP EthernetType = 0x9000 type IPProtocol (line 58) | type IPProtocol constant IPProtocolIPv6HopByHop (line 61) | IPProtocolIPv6HopByHop IPProtocol = 0 constant IPProtocolICMPv4 (line 62) | IPProtocolICMPv4 IPProtocol = 1 constant IPProtocolIGMP (line 63) | IPProtocolIGMP IPProtocol = 2 constant IPProtocolIPv4 (line 64) | IPProtocolIPv4 IPProtocol = 4 constant IPProtocolTCP (line 65) | IPProtocolTCP IPProtocol = 6 constant IPProtocolUDP (line 66) | IPProtocolUDP IPProtocol = 17 constant IPProtocolRUDP (line 67) | IPProtocolRUDP IPProtocol = 27 constant IPProtocolIPv6 (line 68) | IPProtocolIPv6 IPProtocol = 41 constant IPProtocolIPv6Routing (line 69) | IPProtocolIPv6Routing IPProtocol = 43 constant IPProtocolIPv6Fragment (line 70) | IPProtocolIPv6Fragment IPProtocol = 44 constant IPProtocolGRE (line 71) | IPProtocolGRE IPProtocol = 47 constant IPProtocolESP (line 72) | IPProtocolESP IPProtocol = 50 constant IPProtocolAH (line 73) | IPProtocolAH IPProtocol = 51 constant IPProtocolICMPv6 (line 74) | IPProtocolICMPv6 IPProtocol = 58 constant IPProtocolNoNextHeader (line 75) | IPProtocolNoNextHeader IPProtocol = 59 constant IPProtocolIPv6Destination (line 76) | IPProtocolIPv6Destination IPProtocol = 60 constant IPProtocolOSPF (line 77) | IPProtocolOSPF IPProtocol = 89 constant IPProtocolIPIP (line 78) | IPProtocolIPIP IPProtocol = 94 constant IPProtocolEtherIP (line 79) | IPProtocolEtherIP IPProtocol = 97 constant IPProtocolVRRP (line 80) | IPProtocolVRRP IPProtocol = 112 constant IPProtocolSCTP (line 81) | IPProtocolSCTP IPProtocol = 132 constant IPProtocolUDPLite (line 82) | IPProtocolUDPLite IPProtocol = 136 constant IPProtocolMPLSInIP (line 83) | IPProtocolMPLSInIP IPProtocol = 137 type LinkType (line 88) | type LinkType constant LinkTypeNull (line 92) | LinkTypeNull LinkType = 0 constant LinkTypeEthernet (line 93) | LinkTypeEthernet LinkType = 1 constant LinkTypeAX25 (line 94) | LinkTypeAX25 LinkType = 3 constant LinkTypeTokenRing (line 95) | LinkTypeTokenRing LinkType = 6 constant LinkTypeArcNet (line 96) | LinkTypeArcNet LinkType = 7 constant LinkTypeSLIP (line 97) | LinkTypeSLIP LinkType = 8 constant LinkTypePPP (line 98) | LinkTypePPP LinkType = 9 constant LinkTypeFDDI (line 99) | LinkTypeFDDI LinkType = 10 constant LinkTypePPP_HDLC (line 100) | LinkTypePPP_HDLC LinkType = 50 constant LinkTypePPPEthernet (line 101) | LinkTypePPPEthernet LinkType = 51 constant LinkTypeATM_RFC1483 (line 102) | LinkTypeATM_RFC1483 LinkType = 100 constant LinkTypeRaw (line 103) | LinkTypeRaw LinkType = 101 constant LinkTypeC_HDLC (line 104) | LinkTypeC_HDLC LinkType = 104 constant LinkTypeIEEE802_11 (line 105) | LinkTypeIEEE802_11 LinkType = 105 constant LinkTypeFRelay (line 106) | LinkTypeFRelay LinkType = 107 constant LinkTypeLoop (line 107) | LinkTypeLoop LinkType = 108 constant LinkTypeLinuxSLL (line 108) | LinkTypeLinuxSLL LinkType = 113 constant LinkTypeLTalk (line 109) | LinkTypeLTalk LinkType = 114 constant LinkTypePFLog (line 110) | LinkTypePFLog LinkType = 117 constant LinkTypePrismHeader (line 111) | LinkTypePrismHeader LinkType = 119 constant LinkTypeIPOverFC (line 112) | LinkTypeIPOverFC LinkType = 122 constant LinkTypeSunATM (line 113) | LinkTypeSunATM LinkType = 123 constant LinkTypeIEEE80211Radio (line 114) | LinkTypeIEEE80211Radio LinkType = 127 constant LinkTypeARCNetLinux (line 115) | LinkTypeARCNetLinux LinkType = 129 constant LinkTypeIPOver1394 (line 116) | LinkTypeIPOver1394 LinkType = 138 constant LinkTypeMTP2Phdr (line 117) | LinkTypeMTP2Phdr LinkType = 139 constant LinkTypeMTP2 (line 118) | LinkTypeMTP2 LinkType = 140 constant LinkTypeMTP3 (line 119) | LinkTypeMTP3 LinkType = 141 constant LinkTypeSCCP (line 120) | LinkTypeSCCP LinkType = 142 constant LinkTypeDOCSIS (line 121) | LinkTypeDOCSIS LinkType = 143 constant LinkTypeLinuxIRDA (line 122) | LinkTypeLinuxIRDA LinkType = 144 constant LinkTypeLinuxLAPD (line 123) | LinkTypeLinuxLAPD LinkType = 177 constant LinkTypeLinuxUSB (line 124) | LinkTypeLinuxUSB LinkType = 220 constant LinkTypeFC2 (line 125) | LinkTypeFC2 LinkType = 224 constant LinkTypeFC2Framed (line 126) | LinkTypeFC2Framed LinkType = 225 constant LinkTypeIPv4 (line 127) | LinkTypeIPv4 LinkType = 228 constant LinkTypeIPv6 (line 128) | LinkTypeIPv6 LinkType = 229 type PPPoECode (line 132) | type PPPoECode constant PPPoECodePADI (line 135) | PPPoECodePADI PPPoECode = 0x09 constant PPPoECodePADO (line 136) | PPPoECodePADO PPPoECode = 0x07 constant PPPoECodePADR (line 137) | PPPoECodePADR PPPoECode = 0x19 constant PPPoECodePADS (line 138) | PPPoECodePADS PPPoECode = 0x65 constant PPPoECodePADT (line 139) | PPPoECodePADT PPPoECode = 0xA7 constant PPPoECodeSession (line 140) | PPPoECodeSession PPPoECode = 0x00 type PPPType (line 145) | type PPPType constant PPPTypeIPv4 (line 148) | PPPTypeIPv4 PPPType = 0x0021 constant PPPTypeIPv6 (line 149) | PPPTypeIPv6 PPPType = 0x0057 constant PPPTypeMPLSUnicast (line 150) | PPPTypeMPLSUnicast PPPType = 0x0281 constant PPPTypeMPLSMulticast (line 151) | PPPTypeMPLSMulticast PPPType = 0x0283 type SCTPChunkType (line 155) | type SCTPChunkType constant SCTPChunkTypeData (line 158) | SCTPChunkTypeData SCTPChunkType = 0 constant SCTPChunkTypeInit (line 159) | SCTPChunkTypeInit SCTPChunkType = 1 constant SCTPChunkTypeInitAck (line 160) | SCTPChunkTypeInitAck SCTPChunkType = 2 constant SCTPChunkTypeSack (line 161) | SCTPChunkTypeSack SCTPChunkType = 3 constant SCTPChunkTypeHeartbeat (line 162) | SCTPChunkTypeHeartbeat SCTPChunkType = 4 constant SCTPChunkTypeHeartbeatAck (line 163) | SCTPChunkTypeHeartbeatAck SCTPChunkType = 5 constant SCTPChunkTypeAbort (line 164) | SCTPChunkTypeAbort SCTPChunkType = 6 constant SCTPChunkTypeShutdown (line 165) | SCTPChunkTypeShutdown SCTPChunkType = 7 constant SCTPChunkTypeShutdownAck (line 166) | SCTPChunkTypeShutdownAck SCTPChunkType = 8 constant SCTPChunkTypeError (line 167) | SCTPChunkTypeError SCTPChunkType = 9 constant SCTPChunkTypeCookieEcho (line 168) | SCTPChunkTypeCookieEcho SCTPChunkType = 10 constant SCTPChunkTypeCookieAck (line 169) | SCTPChunkTypeCookieAck SCTPChunkType = 11 constant SCTPChunkTypeShutdownComplete (line 170) | SCTPChunkTypeShutdownComplete SCTPChunkType = 14 type FDDIFrameControl (line 174) | type FDDIFrameControl constant FDDIFrameControlLLC (line 177) | FDDIFrameControlLLC FDDIFrameControl = 0x50 type EAPOLType (line 181) | type EAPOLType constant EAPOLTypeEAP (line 184) | EAPOLTypeEAP EAPOLType = 0 constant EAPOLTypeStart (line 185) | EAPOLTypeStart EAPOLType = 1 constant EAPOLTypeLogOff (line 186) | EAPOLTypeLogOff EAPOLType = 2 constant EAPOLTypeKey (line 187) | EAPOLTypeKey EAPOLType = 3 constant EAPOLTypeASFAlert (line 188) | EAPOLTypeASFAlert EAPOLType = 4 type ProtocolFamily (line 192) | type ProtocolFamily constant ProtocolFamilyIPv4 (line 195) | ProtocolFamilyIPv4 ProtocolFamily = 2 constant ProtocolFamilyIPv6BSD (line 198) | ProtocolFamilyIPv6BSD ProtocolFamily = 24 constant ProtocolFamilyIPv6FreeBSD (line 199) | ProtocolFamilyIPv6FreeBSD ProtocolFamily = 28 constant ProtocolFamilyIPv6Darwin (line 200) | ProtocolFamilyIPv6Darwin ProtocolFamily = 30 constant ProtocolFamilyIPv6Linux (line 201) | ProtocolFamilyIPv6Linux ProtocolFamily = 10 type Dot11Type (line 210) | type Dot11Type method MainType (line 214) | func (d Dot11Type) MainType() Dot11Type { method QOS (line 218) | func (d Dot11Type) QOS() bool { constant Dot11TypeMgmt (line 223) | Dot11TypeMgmt Dot11Type = 0x00 constant Dot11TypeCtrl (line 224) | Dot11TypeCtrl Dot11Type = 0x01 constant Dot11TypeData (line 225) | Dot11TypeData Dot11Type = 0x02 constant Dot11TypeReserved (line 226) | Dot11TypeReserved Dot11Type = 0x03 constant dot11TypeMask (line 227) | dot11TypeMask = 0x03 constant dot11QOSMask (line 228) | dot11QOSMask = 0x23 constant Dot11TypeMgmtAssociationReq (line 233) | Dot11TypeMgmtAssociationReq Dot11Type = 0x00 constant Dot11TypeMgmtAssociationResp (line 234) | Dot11TypeMgmtAssociationResp Dot11Type = 0x04 constant Dot11TypeMgmtReassociationReq (line 235) | Dot11TypeMgmtReassociationReq Dot11Type = 0x08 constant Dot11TypeMgmtReassociationResp (line 236) | Dot11TypeMgmtReassociationResp Dot11Type = 0x0c constant Dot11TypeMgmtProbeReq (line 237) | Dot11TypeMgmtProbeReq Dot11Type = 0x10 constant Dot11TypeMgmtProbeResp (line 238) | Dot11TypeMgmtProbeResp Dot11Type = 0x14 constant Dot11TypeMgmtMeasurementPilot (line 239) | Dot11TypeMgmtMeasurementPilot Dot11Type = 0x18 constant Dot11TypeMgmtBeacon (line 240) | Dot11TypeMgmtBeacon Dot11Type = 0x20 constant Dot11TypeMgmtATIM (line 241) | Dot11TypeMgmtATIM Dot11Type = 0x24 constant Dot11TypeMgmtDisassociation (line 242) | Dot11TypeMgmtDisassociation Dot11Type = 0x28 constant Dot11TypeMgmtAuthentication (line 243) | Dot11TypeMgmtAuthentication Dot11Type = 0x2c constant Dot11TypeMgmtDeauthentication (line 244) | Dot11TypeMgmtDeauthentication Dot11Type = 0x30 constant Dot11TypeMgmtAction (line 245) | Dot11TypeMgmtAction Dot11Type = 0x34 constant Dot11TypeMgmtActionNoAck (line 246) | Dot11TypeMgmtActionNoAck Dot11Type = 0x38 constant Dot11TypeCtrlWrapper (line 249) | Dot11TypeCtrlWrapper Dot11Type = 0x1d constant Dot11TypeCtrlBlockAckReq (line 250) | Dot11TypeCtrlBlockAckReq Dot11Type = 0x21 constant Dot11TypeCtrlBlockAck (line 251) | Dot11TypeCtrlBlockAck Dot11Type = 0x25 constant Dot11TypeCtrlPowersavePoll (line 252) | Dot11TypeCtrlPowersavePoll Dot11Type = 0x29 constant Dot11TypeCtrlRTS (line 253) | Dot11TypeCtrlRTS Dot11Type = 0x2d constant Dot11TypeCtrlCTS (line 254) | Dot11TypeCtrlCTS Dot11Type = 0x31 constant Dot11TypeCtrlAck (line 255) | Dot11TypeCtrlAck Dot11Type = 0x35 constant Dot11TypeCtrlCFEnd (line 256) | Dot11TypeCtrlCFEnd Dot11Type = 0x39 constant Dot11TypeCtrlCFEndAck (line 257) | Dot11TypeCtrlCFEndAck Dot11Type = 0x3d constant Dot11TypeDataCFAck (line 260) | Dot11TypeDataCFAck Dot11Type = 0x06 constant Dot11TypeDataCFPoll (line 261) | Dot11TypeDataCFPoll Dot11Type = 0x0a constant Dot11TypeDataCFAckPoll (line 262) | Dot11TypeDataCFAckPoll Dot11Type = 0x0e constant Dot11TypeDataNull (line 263) | Dot11TypeDataNull Dot11Type = 0x12 constant Dot11TypeDataCFAckNoData (line 264) | Dot11TypeDataCFAckNoData Dot11Type = 0x16 constant Dot11TypeDataCFPollNoData (line 265) | Dot11TypeDataCFPollNoData Dot11Type = 0x1a constant Dot11TypeDataCFAckPollNoData (line 266) | Dot11TypeDataCFAckPollNoData Dot11Type = 0x1e constant Dot11TypeDataQOSData (line 267) | Dot11TypeDataQOSData Dot11Type = 0x22 constant Dot11TypeDataQOSDataCFAck (line 268) | Dot11TypeDataQOSDataCFAck Dot11Type = 0x26 constant Dot11TypeDataQOSDataCFPoll (line 269) | Dot11TypeDataQOSDataCFPoll Dot11Type = 0x2a constant Dot11TypeDataQOSDataCFAckPoll (line 270) | Dot11TypeDataQOSDataCFAckPoll Dot11Type = 0x2e constant Dot11TypeDataQOSNull (line 271) | Dot11TypeDataQOSNull Dot11Type = 0x32 constant Dot11TypeDataQOSCFPollNoData (line 272) | Dot11TypeDataQOSCFPollNoData Dot11Type = 0x3a constant Dot11TypeDataQOSCFAckPollNoData (line 273) | Dot11TypeDataQOSCFAckPollNoData Dot11Type = 0x3e function decodeIPv4or6 (line 277) | func decodeIPv4or6(data []byte, p gopacket.PacketBuilder) error { function initActualTypeData (line 288) | func initActualTypeData() { FILE: layers/enums_generated.go function init (line 14) | func init() { method Decode (line 30) | func (a LinkType) Decode(data []byte, p gopacket.PacketBuilder) error { method String (line 35) | func (a LinkType) String() string { method LayerType (line 40) | func (a LinkType) LayerType() gopacket.LayerType { type errorDecoderForLinkType (line 44) | type errorDecoderForLinkType method Decode (line 46) | func (a *errorDecoderForLinkType) Decode(data []byte, p gopacket.Packe... method Error (line 49) | func (a *errorDecoderForLinkType) Error() string { function initUnknownTypesForLinkType (line 56) | func initUnknownTypesForLinkType() { method Decode (line 67) | func (a EthernetType) Decode(data []byte, p gopacket.PacketBuilder) error { method String (line 72) | func (a EthernetType) String() string { method LayerType (line 77) | func (a EthernetType) LayerType() gopacket.LayerType { type errorDecoderForEthernetType (line 81) | type errorDecoderForEthernetType method Decode (line 83) | func (a *errorDecoderForEthernetType) Decode(data []byte, p gopacket.P... method Error (line 86) | func (a *errorDecoderForEthernetType) Error() string { function initUnknownTypesForEthernetType (line 93) | func initUnknownTypesForEthernetType() { method Decode (line 104) | func (a PPPType) Decode(data []byte, p gopacket.PacketBuilder) error { method String (line 109) | func (a PPPType) String() string { method LayerType (line 114) | func (a PPPType) LayerType() gopacket.LayerType { type errorDecoderForPPPType (line 118) | type errorDecoderForPPPType method Decode (line 120) | func (a *errorDecoderForPPPType) Decode(data []byte, p gopacket.Packet... method Error (line 123) | func (a *errorDecoderForPPPType) Error() string { function initUnknownTypesForPPPType (line 130) | func initUnknownTypesForPPPType() { method Decode (line 141) | func (a IPProtocol) Decode(data []byte, p gopacket.PacketBuilder) error { method String (line 146) | func (a IPProtocol) String() string { method LayerType (line 151) | func (a IPProtocol) LayerType() gopacket.LayerType { type errorDecoderForIPProtocol (line 155) | type errorDecoderForIPProtocol method Decode (line 157) | func (a *errorDecoderForIPProtocol) Decode(data []byte, p gopacket.Pac... method Error (line 160) | func (a *errorDecoderForIPProtocol) Error() string { function initUnknownTypesForIPProtocol (line 167) | func initUnknownTypesForIPProtocol() { method Decode (line 178) | func (a SCTPChunkType) Decode(data []byte, p gopacket.PacketBuilder) err... method String (line 183) | func (a SCTPChunkType) String() string { method LayerType (line 188) | func (a SCTPChunkType) LayerType() gopacket.LayerType { type errorDecoderForSCTPChunkType (line 192) | type errorDecoderForSCTPChunkType method Decode (line 194) | func (a *errorDecoderForSCTPChunkType) Decode(data []byte, p gopacket.... method Error (line 197) | func (a *errorDecoderForSCTPChunkType) Error() string { function initUnknownTypesForSCTPChunkType (line 204) | func initUnknownTypesForSCTPChunkType() { method Decode (line 215) | func (a PPPoECode) Decode(data []byte, p gopacket.PacketBuilder) error { method String (line 220) | func (a PPPoECode) String() string { method LayerType (line 225) | func (a PPPoECode) LayerType() gopacket.LayerType { type errorDecoderForPPPoECode (line 229) | type errorDecoderForPPPoECode method Decode (line 231) | func (a *errorDecoderForPPPoECode) Decode(data []byte, p gopacket.Pack... method Error (line 234) | func (a *errorDecoderForPPPoECode) Error() string { function initUnknownTypesForPPPoECode (line 241) | func initUnknownTypesForPPPoECode() { method Decode (line 252) | func (a FDDIFrameControl) Decode(data []byte, p gopacket.PacketBuilder) ... method String (line 257) | func (a FDDIFrameControl) String() string { method LayerType (line 262) | func (a FDDIFrameControl) LayerType() gopacket.LayerType { type errorDecoderForFDDIFrameControl (line 266) | type errorDecoderForFDDIFrameControl method Decode (line 268) | func (a *errorDecoderForFDDIFrameControl) Decode(data []byte, p gopack... method Error (line 271) | func (a *errorDecoderForFDDIFrameControl) Error() string { function initUnknownTypesForFDDIFrameControl (line 278) | func initUnknownTypesForFDDIFrameControl() { method Decode (line 289) | func (a EAPOLType) Decode(data []byte, p gopacket.PacketBuilder) error { method String (line 294) | func (a EAPOLType) String() string { method LayerType (line 299) | func (a EAPOLType) LayerType() gopacket.LayerType { type errorDecoderForEAPOLType (line 303) | type errorDecoderForEAPOLType method Decode (line 305) | func (a *errorDecoderForEAPOLType) Decode(data []byte, p gopacket.Pack... method Error (line 308) | func (a *errorDecoderForEAPOLType) Error() string { function initUnknownTypesForEAPOLType (line 315) | func initUnknownTypesForEAPOLType() { method Decode (line 326) | func (a ProtocolFamily) Decode(data []byte, p gopacket.PacketBuilder) er... method String (line 331) | func (a ProtocolFamily) String() string { method LayerType (line 336) | func (a ProtocolFamily) LayerType() gopacket.LayerType { type errorDecoderForProtocolFamily (line 340) | type errorDecoderForProtocolFamily method Decode (line 342) | func (a *errorDecoderForProtocolFamily) Decode(data []byte, p gopacket... method Error (line 345) | func (a *errorDecoderForProtocolFamily) Error() string { function initUnknownTypesForProtocolFamily (line 352) | func initUnknownTypesForProtocolFamily() { method Decode (line 363) | func (a Dot11Type) Decode(data []byte, p gopacket.PacketBuilder) error { method String (line 368) | func (a Dot11Type) String() string { method LayerType (line 373) | func (a Dot11Type) LayerType() gopacket.LayerType { type errorDecoderForDot11Type (line 377) | type errorDecoderForDot11Type method Decode (line 379) | func (a *errorDecoderForDot11Type) Decode(data []byte, p gopacket.Pack... method Error (line 382) | func (a *errorDecoderForDot11Type) Error() string { function initUnknownTypesForDot11Type (line 389) | func initUnknownTypesForDot11Type() { method Decode (line 400) | func (a USBTransportType) Decode(data []byte, p gopacket.PacketBuilder) ... method String (line 405) | func (a USBTransportType) String() string { method LayerType (line 410) | func (a USBTransportType) LayerType() gopacket.LayerType { type errorDecoderForUSBTransportType (line 414) | type errorDecoderForUSBTransportType method Decode (line 416) | func (a *errorDecoderForUSBTransportType) Decode(data []byte, p gopack... method Error (line 419) | func (a *errorDecoderForUSBTransportType) Error() string { function initUnknownTypesForUSBTransportType (line 426) | func initUnknownTypesForUSBTransportType() { FILE: layers/erspan2.go constant ERSPANIIVersionObsolete (line 17) | ERSPANIIVersionObsolete = 0x0 constant ERSPANIIVersion (line 19) | ERSPANIIVersion = 0x1 type ERSPANII (line 24) | type ERSPANII struct method LayerType (line 32) | func (erspan2 *ERSPANII) LayerType() gopacket.LayerType { return Layer... method DecodeFromBytes (line 35) | func (erspan2 *ERSPANII) DecodeFromBytes(data []byte, df gopacket.Deco... method SerializeTo (line 53) | func (erspan2 *ERSPANII) SerializeTo(b gopacket.SerializeBuffer, opts ... method CanDecode (line 74) | func (erspan2 *ERSPANII) CanDecode() gopacket.LayerClass { method NextLayerType (line 79) | func (erspan2 *ERSPANII) NextLayerType() gopacket.LayerType { function decodeERSPANII (line 83) | func decodeERSPANII(data []byte, p gopacket.PacketBuilder) error { FILE: layers/erspan2_test.go function TestDecodeAndEncode (line 15) | func TestDecodeAndEncode(t *testing.T) { FILE: layers/etherip.go type EtherIP (line 15) | type EtherIP struct method LayerType (line 22) | func (e *EtherIP) LayerType() gopacket.LayerType { return LayerTypeEth... method DecodeFromBytes (line 25) | func (e *EtherIP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedb... method CanDecode (line 33) | func (e *EtherIP) CanDecode() gopacket.LayerClass { method NextLayerType (line 38) | func (e *EtherIP) NextLayerType() gopacket.LayerType { function decodeEtherIP (line 42) | func decodeEtherIP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ethernet.go type Ethernet (line 22) | type Ethernet struct method LayerType (line 35) | func (e *Ethernet) LayerType() gopacket.LayerType { return LayerTypeEt... method LinkFlow (line 37) | func (e *Ethernet) LinkFlow() gopacket.Flow { method DecodeFromBytes (line 41) | func (eth *Ethernet) DecodeFromBytes(data []byte, df gopacket.DecodeFe... method SerializeTo (line 67) | func (eth *Ethernet) SerializeTo(b gopacket.SerializeBuffer, opts gopa... method CanDecode (line 106) | func (eth *Ethernet) CanDecode() gopacket.LayerClass { method NextLayerType (line 110) | func (eth *Ethernet) NextLayerType() gopacket.LayerType { function decodeEthernet (line 114) | func decodeEthernet(data []byte, p gopacket.PacketBuilder) error { FILE: layers/fddi.go type FDDI (line 15) | type FDDI struct method LayerType (line 23) | func (f *FDDI) LayerType() gopacket.LayerType { return LayerTypeFDDI } method LinkFlow (line 26) | func (f *FDDI) LinkFlow() gopacket.Flow { function decodeFDDI (line 30) | func decodeFDDI(data []byte, p gopacket.PacketBuilder) error { FILE: layers/fuzz_layer.go function FuzzLayer (line 19) | func FuzzLayer(data []byte) int { FILE: layers/gen.go constant fmtString (line 27) | fmtString = `// Copyright 2012 Google, Inc. All rights reserved. function main (line 54) | func main() { FILE: layers/gen2.go constant fmtString (line 22) | fmtString = `// Copyright 2012 Google, Inc. All rights reserved. function main (line 73) | func main() { FILE: layers/geneve.go type Geneve (line 26) | type Geneve struct method LayerType (line 52) | func (gn *Geneve) LayerType() gopacket.LayerType { return LayerTypeGen... method DecodeFromBytes (line 76) | func (gn *Geneve) DecodeFromBytes(data []byte, df gopacket.DecodeFeedb... method NextLayerType (line 115) | func (gn *Geneve) NextLayerType() gopacket.LayerType { method SerializeTo (line 127) | func (gn *Geneve) SerializeTo(b gopacket.SerializeBuffer, opts gopacke... type GeneveOption (line 43) | type GeneveOption struct function decodeGeneveOption (line 54) | func decodeGeneveOption(data []byte, gn *Geneve, df gopacket.DecodeFeedb... function decodeGeneve (line 119) | func decodeGeneve(data []byte, p gopacket.PacketBuilder) error { FILE: layers/geneve_test.go function TestDecodeGeneve1 (line 61) | func TestDecodeGeneve1(t *testing.T) { function TestDecodeGeneve2 (line 89) | func TestDecodeGeneve2(t *testing.T) { function TestDecodeGeneve3 (line 117) | func TestDecodeGeneve3(t *testing.T) { function BenchmarkDecodeGeneve1 (line 153) | func BenchmarkDecodeGeneve1(b *testing.B) { function TestIsomorphicPacketGeneve (line 159) | func TestIsomorphicPacketGeneve(t *testing.T) { FILE: layers/gre.go type GRE (line 16) | type GRE struct method LayerType (line 36) | func (g *GRE) LayerType() gopacket.LayerType { return LayerTypeGRE } method DecodeFromBytes (line 39) | func (g *GRE) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method SerializeTo (line 91) | func (g *GRE) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... method CanDecode (line 188) | func (g *GRE) CanDecode() gopacket.LayerClass { method NextLayerType (line 193) | func (g *GRE) NextLayerType() gopacket.LayerType { type GRERouting (line 28) | type GRERouting struct function decodeGRE (line 197) | func decodeGRE(data []byte, p gopacket.PacketBuilder) error { FILE: layers/gre_test.go function TestPacketGRE (line 38) | func TestPacketGRE(t *testing.T) { function BenchmarkDecodePacketGRE (line 55) | func BenchmarkDecodePacketGRE(b *testing.B) { function TestIPv4OverGREEncode (line 103) | func TestIPv4OverGREEncode(t *testing.T) { function BenchmarkEncodePacketGRE (line 122) | func BenchmarkEncodePacketGRE(b *testing.B) { function TestPacketEthernetOverGRE (line 157) | func TestPacketEthernetOverGRE(t *testing.T) { function BenchmarkDecodePacketEthernetOverGRE (line 174) | func BenchmarkDecodePacketEthernetOverGRE(b *testing.B) { function TestEthernetOverGREEncode (line 227) | func TestEthernetOverGREEncode(t *testing.T) { function BenchmarkEncodePacketEthernetOverGRE (line 246) | func BenchmarkEncodePacketEthernetOverGRE(b *testing.B) { function TestGREChecksum (line 340) | func TestGREChecksum(t *testing.T) { function setNetworkLayer (line 370) | func setNetworkLayer(layers []gopacket.SerializableLayer) error { FILE: layers/gtp.go constant gtpMinimumSizeInBytes (line 17) | gtpMinimumSizeInBytes int = 8 type GTPExtensionHeader (line 20) | type GTPExtensionHeader struct type GTPv1U (line 27) | type GTPv1U struct method LayerType (line 44) | func (g *GTPv1U) LayerType() gopacket.LayerType { return LayerTypeGTPv... method DecodeFromBytes (line 47) | func (g *GTPv1U) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method SerializeTo (line 111) | func (g *GTPv1U) SerializeTo(b gopacket.SerializeBuffer, opts gopacket... method CanDecode (line 157) | func (g *GTPv1U) CanDecode() gopacket.LayerClass { method NextLayerType (line 162) | func (g *GTPv1U) NextLayerType() gopacket.LayerType { function decodeGTPv1u (line 176) | func decodeGTPv1u(data []byte, p gopacket.PacketBuilder) error { FILE: layers/gtp_test.go function TestGTPPacket (line 48) | func TestGTPPacket(t *testing.T) { function TestGTPPacketWithEH (line 119) | func TestGTPPacketWithEH(t *testing.T) { FILE: layers/icmp4.go constant ICMPv4TypeEchoReply (line 20) | ICMPv4TypeEchoReply = 0 constant ICMPv4TypeDestinationUnreachable (line 21) | ICMPv4TypeDestinationUnreachable = 3 constant ICMPv4TypeSourceQuench (line 22) | ICMPv4TypeSourceQuench = 4 constant ICMPv4TypeRedirect (line 23) | ICMPv4TypeRedirect = 5 constant ICMPv4TypeEchoRequest (line 24) | ICMPv4TypeEchoRequest = 8 constant ICMPv4TypeRouterAdvertisement (line 25) | ICMPv4TypeRouterAdvertisement = 9 constant ICMPv4TypeRouterSolicitation (line 26) | ICMPv4TypeRouterSolicitation = 10 constant ICMPv4TypeTimeExceeded (line 27) | ICMPv4TypeTimeExceeded = 11 constant ICMPv4TypeParameterProblem (line 28) | ICMPv4TypeParameterProblem = 12 constant ICMPv4TypeTimestampRequest (line 29) | ICMPv4TypeTimestampRequest = 13 constant ICMPv4TypeTimestampReply (line 30) | ICMPv4TypeTimestampReply = 14 constant ICMPv4TypeInfoRequest (line 31) | ICMPv4TypeInfoRequest = 15 constant ICMPv4TypeInfoReply (line 32) | ICMPv4TypeInfoReply = 16 constant ICMPv4TypeAddressMaskRequest (line 33) | ICMPv4TypeAddressMaskRequest = 17 constant ICMPv4TypeAddressMaskReply (line 34) | ICMPv4TypeAddressMaskReply = 18 constant ICMPv4CodeNet (line 39) | ICMPv4CodeNet = 0 constant ICMPv4CodeHost (line 40) | ICMPv4CodeHost = 1 constant ICMPv4CodeProtocol (line 41) | ICMPv4CodeProtocol = 2 constant ICMPv4CodePort (line 42) | ICMPv4CodePort = 3 constant ICMPv4CodeFragmentationNeeded (line 43) | ICMPv4CodeFragmentationNeeded = 4 constant ICMPv4CodeSourceRoutingFailed (line 44) | ICMPv4CodeSourceRoutingFailed = 5 constant ICMPv4CodeNetUnknown (line 45) | ICMPv4CodeNetUnknown = 6 constant ICMPv4CodeHostUnknown (line 46) | ICMPv4CodeHostUnknown = 7 constant ICMPv4CodeSourceIsolated (line 47) | ICMPv4CodeSourceIsolated = 8 constant ICMPv4CodeNetAdminProhibited (line 48) | ICMPv4CodeNetAdminProhibited = 9 constant ICMPv4CodeHostAdminProhibited (line 49) | ICMPv4CodeHostAdminProhibited = 10 constant ICMPv4CodeNetTOS (line 50) | ICMPv4CodeNetTOS = 11 constant ICMPv4CodeHostTOS (line 51) | ICMPv4CodeHostTOS = 12 constant ICMPv4CodeCommAdminProhibited (line 52) | ICMPv4CodeCommAdminProhibited = 13 constant ICMPv4CodeHostPrecedence (line 53) | ICMPv4CodeHostPrecedence = 14 constant ICMPv4CodePrecedenceCutoff (line 54) | ICMPv4CodePrecedenceCutoff = 15 constant ICMPv4CodeTTLExceeded (line 57) | ICMPv4CodeTTLExceeded = 0 constant ICMPv4CodeFragmentReassemblyTimeExceeded (line 58) | ICMPv4CodeFragmentReassemblyTimeExceeded = 1 constant ICMPv4CodePointerIndicatesError (line 61) | ICMPv4CodePointerIndicatesError = 0 constant ICMPv4CodeMissingOption (line 62) | ICMPv4CodeMissingOption = 1 constant ICMPv4CodeBadLength (line 63) | ICMPv4CodeBadLength = 2 constant ICMPv4CodeTOSNet (line 68) | ICMPv4CodeTOSNet = 2 constant ICMPv4CodeTOSHost (line 69) | ICMPv4CodeTOSHost = 3 type icmpv4TypeCodeInfoStruct (line 72) | type icmpv4TypeCodeInfoStruct struct type ICMPv4TypeCode (line 156) | type ICMPv4TypeCode method Type (line 159) | func (a ICMPv4TypeCode) Type() uint8 { method Code (line 164) | func (a ICMPv4TypeCode) Code() uint8 { method String (line 168) | func (a ICMPv4TypeCode) String() string { method GoString (line 192) | func (a ICMPv4TypeCode) GoString() string { method SerializeTo (line 198) | func (a ICMPv4TypeCode) SerializeTo(bytes []byte) { function CreateICMPv4TypeCode (line 204) | func CreateICMPv4TypeCode(typ uint8, code uint8) ICMPv4TypeCode { type ICMPv4 (line 209) | type ICMPv4 struct method LayerType (line 218) | func (i *ICMPv4) LayerType() gopacket.LayerType { return LayerTypeICMP... method DecodeFromBytes (line 221) | func (i *ICMPv4) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method SerializeTo (line 237) | func (i *ICMPv4) SerializeTo(b gopacket.SerializeBuffer, opts gopacket... method CanDecode (line 255) | func (i *ICMPv4) CanDecode() gopacket.LayerClass { method NextLayerType (line 260) | func (i *ICMPv4) NextLayerType() gopacket.LayerType { function decodeICMPv4 (line 264) | func decodeICMPv4(data []byte, p gopacket.PacketBuilder) error { FILE: layers/icmp6.go constant ICMPv6TypeDestinationUnreachable (line 21) | ICMPv6TypeDestinationUnreachable = 1 constant ICMPv6TypePacketTooBig (line 22) | ICMPv6TypePacketTooBig = 2 constant ICMPv6TypeTimeExceeded (line 23) | ICMPv6TypeTimeExceeded = 3 constant ICMPv6TypeParameterProblem (line 24) | ICMPv6TypeParameterProblem = 4 constant ICMPv6TypeEchoRequest (line 25) | ICMPv6TypeEchoRequest = 128 constant ICMPv6TypeEchoReply (line 26) | ICMPv6TypeEchoReply = 129 constant ICMPv6TypeRouterSolicitation (line 29) | ICMPv6TypeRouterSolicitation = 133 constant ICMPv6TypeRouterAdvertisement (line 30) | ICMPv6TypeRouterAdvertisement = 134 constant ICMPv6TypeNeighborSolicitation (line 31) | ICMPv6TypeNeighborSolicitation = 135 constant ICMPv6TypeNeighborAdvertisement (line 32) | ICMPv6TypeNeighborAdvertisement = 136 constant ICMPv6TypeRedirect (line 33) | ICMPv6TypeRedirect = 137 constant ICMPv6TypeMLDv1MulticastListenerQueryMessage (line 36) | ICMPv6TypeMLDv1MulticastListenerQueryMessage = 130 constant ICMPv6TypeMLDv1MulticastListenerReportMessage (line 37) | ICMPv6TypeMLDv1MulticastListenerReportMessage = 131 constant ICMPv6TypeMLDv1MulticastListenerDoneMessage (line 38) | ICMPv6TypeMLDv1MulticastListenerDoneMessage = 132 constant ICMPv6TypeMLDv2MulticastListenerReportMessageV2 (line 41) | ICMPv6TypeMLDv2MulticastListenerReportMessageV2 = 143 constant ICMPv6CodeNoRouteToDst (line 46) | ICMPv6CodeNoRouteToDst = 0 constant ICMPv6CodeAdminProhibited (line 47) | ICMPv6CodeAdminProhibited = 1 constant ICMPv6CodeBeyondScopeOfSrc (line 48) | ICMPv6CodeBeyondScopeOfSrc = 2 constant ICMPv6CodeAddressUnreachable (line 49) | ICMPv6CodeAddressUnreachable = 3 constant ICMPv6CodePortUnreachable (line 50) | ICMPv6CodePortUnreachable = 4 constant ICMPv6CodeSrcAddressFailedPolicy (line 51) | ICMPv6CodeSrcAddressFailedPolicy = 5 constant ICMPv6CodeRejectRouteToDst (line 52) | ICMPv6CodeRejectRouteToDst = 6 constant ICMPv6CodeHopLimitExceeded (line 55) | ICMPv6CodeHopLimitExceeded = 0 constant ICMPv6CodeFragmentReassemblyTimeExceeded (line 56) | ICMPv6CodeFragmentReassemblyTimeExceeded = 1 constant ICMPv6CodeErroneousHeaderField (line 59) | ICMPv6CodeErroneousHeaderField = 0 constant ICMPv6CodeUnrecognizedNextHeader (line 60) | ICMPv6CodeUnrecognizedNextHeader = 1 constant ICMPv6CodeUnrecognizedIPv6Option (line 61) | ICMPv6CodeUnrecognizedIPv6Option = 2 type icmpv6TypeCodeInfoStruct (line 64) | type icmpv6TypeCodeInfoStruct struct type ICMPv6TypeCode (line 122) | type ICMPv6TypeCode method Type (line 125) | func (a ICMPv6TypeCode) Type() uint8 { method Code (line 130) | func (a ICMPv6TypeCode) Code() uint8 { method String (line 134) | func (a ICMPv6TypeCode) String() string { method GoString (line 158) | func (a ICMPv6TypeCode) GoString() string { method SerializeTo (line 164) | func (a ICMPv6TypeCode) SerializeTo(bytes []byte) { function CreateICMPv6TypeCode (line 170) | func CreateICMPv6TypeCode(typ uint8, code uint8) ICMPv6TypeCode { type ICMPv6 (line 175) | type ICMPv6 struct method LayerType (line 186) | func (i *ICMPv6) LayerType() gopacket.LayerType { return LayerTypeICMP... method DecodeFromBytes (line 189) | func (i *ICMPv6) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method SerializeTo (line 203) | func (i *ICMPv6) SerializeTo(b gopacket.SerializeBuffer, opts gopacket... method CanDecode (line 225) | func (i *ICMPv6) CanDecode() gopacket.LayerClass { method NextLayerType (line 230) | func (i *ICMPv6) NextLayerType() gopacket.LayerType { function decodeICMPv6 (line 263) | func decodeICMPv6(data []byte, p gopacket.PacketBuilder) error { FILE: layers/icmp6NDflags_test.go function TestPacketICMPv6NeighborAnnouncementFlags (line 64) | func TestPacketICMPv6NeighborAnnouncementFlags(t *testing.T) { function TestPacketICMPv6RouterAnnouncementFlags (line 99) | func TestPacketICMPv6RouterAnnouncementFlags(t *testing.T) { FILE: layers/icmp6_test.go function TestPacketICMPv6 (line 32) | func TestPacketICMPv6(t *testing.T) { FILE: layers/icmp6hopbyhop_test.go function TestPacketICMPv6WithHopByHop (line 55) | func TestPacketICMPv6WithHopByHop(t *testing.T) { FILE: layers/icmp6msg.go type ICMPv6Opt (line 24) | type ICMPv6Opt method String (line 115) | func (i ICMPv6Opt) String() string { constant _ (line 27) | _ ICMPv6Opt = iota constant ICMPv6OptSourceAddress (line 33) | ICMPv6OptSourceAddress constant ICMPv6OptTargetAddress (line 38) | ICMPv6OptTargetAddress constant ICMPv6OptPrefixInfo (line 44) | ICMPv6OptPrefixInfo constant ICMPv6OptRedirectedHeader (line 48) | ICMPv6OptRedirectedHeader constant ICMPv6OptMTU (line 54) | ICMPv6OptMTU type ICMPv6Echo (line 58) | type ICMPv6Echo struct method CanDecode (line 133) | func (i *ICMPv6Echo) CanDecode() gopacket.LayerClass { method LayerType (line 138) | func (i *ICMPv6Echo) LayerType() gopacket.LayerType { method NextLayerType (line 143) | func (i *ICMPv6Echo) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 148) | func (i *ICMPv6Echo) DecodeFromBytes(data []byte, df gopacket.DecodeFe... method SerializeTo (line 162) | func (i *ICMPv6Echo) SerializeTo(b gopacket.SerializeBuffer, opts gopa... type ICMPv6RouterSolicitation (line 65) | type ICMPv6RouterSolicitation struct method LayerType (line 174) | func (i *ICMPv6RouterSolicitation) LayerType() gopacket.LayerType { method NextLayerType (line 179) | func (i *ICMPv6RouterSolicitation) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 184) | func (i *ICMPv6RouterSolicitation) DecodeFromBytes(data []byte, df gop... method SerializeTo (line 200) | func (i *ICMPv6RouterSolicitation) SerializeTo(b gopacket.SerializeBuf... method CanDecode (line 215) | func (i *ICMPv6RouterSolicitation) CanDecode() gopacket.LayerClass { type ICMPv6RouterAdvertisement (line 71) | type ICMPv6RouterAdvertisement struct method LayerType (line 220) | func (i *ICMPv6RouterAdvertisement) LayerType() gopacket.LayerType { method NextLayerType (line 225) | func (i *ICMPv6RouterAdvertisement) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 230) | func (i *ICMPv6RouterAdvertisement) DecodeFromBytes(data []byte, df go... method SerializeTo (line 253) | func (i *ICMPv6RouterAdvertisement) SerializeTo(b gopacket.SerializeBu... method CanDecode (line 272) | func (i *ICMPv6RouterAdvertisement) CanDecode() gopacket.LayerClass { method ManagedAddressConfig (line 278) | func (i *ICMPv6RouterAdvertisement) ManagedAddressConfig() bool { method OtherConfig (line 284) | func (i *ICMPv6RouterAdvertisement) OtherConfig() bool { type ICMPv6NeighborSolicitation (line 83) | type ICMPv6NeighborSolicitation struct method LayerType (line 289) | func (i *ICMPv6NeighborSolicitation) LayerType() gopacket.LayerType { method NextLayerType (line 294) | func (i *ICMPv6NeighborSolicitation) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 299) | func (i *ICMPv6NeighborSolicitation) DecodeFromBytes(data []byte, df g... method SerializeTo (line 317) | func (i *ICMPv6NeighborSolicitation) SerializeTo(b gopacket.SerializeB... method CanDecode (line 333) | func (i *ICMPv6NeighborSolicitation) CanDecode() gopacket.LayerClass { type ICMPv6NeighborAdvertisement (line 90) | type ICMPv6NeighborAdvertisement struct method LayerType (line 338) | func (i *ICMPv6NeighborAdvertisement) LayerType() gopacket.LayerType { method NextLayerType (line 343) | func (i *ICMPv6NeighborAdvertisement) NextLayerType() gopacket.LayerTy... method DecodeFromBytes (line 348) | func (i *ICMPv6NeighborAdvertisement) DecodeFromBytes(data []byte, df ... method SerializeTo (line 367) | func (i *ICMPv6NeighborAdvertisement) SerializeTo(b gopacket.Serialize... method CanDecode (line 384) | func (i *ICMPv6NeighborAdvertisement) CanDecode() gopacket.LayerClass { method Router (line 389) | func (i *ICMPv6NeighborAdvertisement) Router() bool { method Solicited (line 394) | func (i *ICMPv6NeighborAdvertisement) Solicited() bool { method Override (line 400) | func (i *ICMPv6NeighborAdvertisement) Override() bool { type ICMPv6Redirect (line 99) | type ICMPv6Redirect struct method LayerType (line 405) | func (i *ICMPv6Redirect) LayerType() gopacket.LayerType { method NextLayerType (line 410) | func (i *ICMPv6Redirect) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 415) | func (i *ICMPv6Redirect) DecodeFromBytes(data []byte, df gopacket.Deco... method SerializeTo (line 434) | func (i *ICMPv6Redirect) SerializeTo(b gopacket.SerializeBuffer, opts ... method CanDecode (line 451) | func (i *ICMPv6Redirect) CanDecode() gopacket.LayerClass { type ICMPv6Option (line 107) | type ICMPv6Option struct method String (line 455) | func (i ICMPv6Option) String() string { type ICMPv6Options (line 113) | type ICMPv6Options method DecodeFromBytes (line 497) | func (i *ICMPv6Options) DecodeFromBytes(data []byte, df gopacket.Decod... method SerializeTo (line 534) | func (i *ICMPv6Options) SerializeTo(b gopacket.SerializeBuffer, opts g... function decodeICMPv6Echo (line 550) | func decodeICMPv6Echo(data []byte, p gopacket.PacketBuilder) error { function decodeICMPv6RouterSolicitation (line 555) | func decodeICMPv6RouterSolicitation(data []byte, p gopacket.PacketBuilde... function decodeICMPv6RouterAdvertisement (line 560) | func decodeICMPv6RouterAdvertisement(data []byte, p gopacket.PacketBuild... function decodeICMPv6NeighborSolicitation (line 565) | func decodeICMPv6NeighborSolicitation(data []byte, p gopacket.PacketBuil... function decodeICMPv6NeighborAdvertisement (line 570) | func decodeICMPv6NeighborAdvertisement(data []byte, p gopacket.PacketBui... function decodeICMPv6Redirect (line 575) | func decodeICMPv6Redirect(data []byte, p gopacket.PacketBuilder) error { FILE: layers/icmp6msg_test.go function TestPacketICMPv6RouterAdvertisement (line 44) | func TestPacketICMPv6RouterAdvertisement(t *testing.T) { function TestPacketICMPv6NeighborSolicitation (line 67) | func TestPacketICMPv6NeighborSolicitation(t *testing.T) { FILE: layers/igmp.go type IGMPType (line 19) | type IGMPType method String (line 30) | func (i IGMPType) String() string { constant IGMPMembershipQuery (line 22) | IGMPMembershipQuery IGMPType = 0x11 constant IGMPMembershipReportV1 (line 23) | IGMPMembershipReportV1 IGMPType = 0x12 constant IGMPMembershipReportV2 (line 24) | IGMPMembershipReportV2 IGMPType = 0x16 constant IGMPLeaveGroup (line 25) | IGMPLeaveGroup IGMPType = 0x17 constant IGMPMembershipReportV3 (line 26) | IGMPMembershipReportV3 IGMPType = 0x22 type IGMPv3GroupRecordType (line 47) | type IGMPv3GroupRecordType method String (line 58) | func (i IGMPv3GroupRecordType) String() string { constant IGMPIsIn (line 50) | IGMPIsIn IGMPv3GroupRecordType = 0x01 constant IGMPIsEx (line 51) | IGMPIsEx IGMPv3GroupRecordType = 0x02 constant IGMPToIn (line 52) | IGMPToIn IGMPv3GroupRecordType = 0x03 constant IGMPToEx (line 53) | IGMPToEx IGMPv3GroupRecordType = 0x04 constant IGMPAllow (line 54) | IGMPAllow IGMPv3GroupRecordType = 0x05 constant IGMPBlock (line 55) | IGMPBlock IGMPv3GroupRecordType = 0x06 type IGMP (line 78) | type IGMP struct method decodeIGMPv3MembershipReport (line 171) | func (i *IGMP) decodeIGMPv3MembershipReport(data []byte) error { method decodeIGMPv3MembershipQuery (line 224) | func (i *IGMP) decodeIGMPv3MembershipQuery(data []byte) error { method LayerType (line 260) | func (i *IGMP) LayerType() gopacket.LayerType { return LayerTypeI... method DecodeFromBytes (line 285) | func (i *IGMP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback... method CanDecode (line 306) | func (i *IGMP) CanDecode() gopacket.LayerClass { method NextLayerType (line 311) | func (i *IGMP) NextLayerType() gopacket.LayerType { type IGMPv1or2 (line 103) | type IGMPv1or2 struct method decodeResponse (line 113) | func (i *IGMPv1or2) decodeResponse(data []byte) error { method LayerType (line 261) | func (i *IGMPv1or2) LayerType() gopacket.LayerType { return LayerTypeI... method DecodeFromBytes (line 263) | func (i *IGMPv1or2) DecodeFromBytes(data []byte, df gopacket.DecodeFee... method NextLayerType (line 276) | func (i *IGMPv1or2) NextLayerType() gopacket.LayerType { method CanDecode (line 280) | func (i *IGMPv1or2) CanDecode() gopacket.LayerClass { type IGMPv3GroupRecord (line 162) | type IGMPv3GroupRecord struct function igmpTimeDecode (line 250) | func igmpTimeDecode(t uint8) time.Duration { function decodeIGMP (line 319) | func decodeIGMP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/igmp_test.go function TestIGMPv1MembershipReportPacket (line 28) | func TestIGMPv1MembershipReportPacket(t *testing.T) { function BenchmarkDecodeigmpv1MembershipReportPacket (line 41) | func BenchmarkDecodeigmpv1MembershipReportPacket(b *testing.B) { function TestIGMPv2MembershipQuery (line 60) | func TestIGMPv2MembershipQuery(t *testing.T) { function BenchmarkDecodeigmpv2MembershipQueryPacket (line 72) | func BenchmarkDecodeigmpv2MembershipQueryPacket(b *testing.B) { function TestIGMPv2MembershipReport (line 91) | func TestIGMPv2MembershipReport(t *testing.T) { function BenchmarkDecodeigmpv2MembershipReportPacket (line 103) | func BenchmarkDecodeigmpv2MembershipReportPacket(b *testing.B) { function TestIGMPv3MembershipQuery (line 122) | func TestIGMPv3MembershipQuery(t *testing.T) { function BenchmarkDecodeigmp3v3MembershipQueryPacket (line 135) | func BenchmarkDecodeigmp3v3MembershipQueryPacket(b *testing.B) { function TestIGMPv3MembershipReport2Records (line 154) | func TestIGMPv3MembershipReport2Records(t *testing.T) { function BenchmarkDecodeigmpv3MembershipReport2Records (line 167) | func BenchmarkDecodeigmpv3MembershipReport2Records(b *testing.B) { FILE: layers/ip4.go type IPv4Flag (line 20) | type IPv4Flag method String (line 28) | func (f IPv4Flag) String() string { constant IPv4EvilBit (line 23) | IPv4EvilBit IPv4Flag = 1 << 2 constant IPv4DontFragment (line 24) | IPv4DontFragment IPv4Flag = 1 << 1 constant IPv4MoreFragments (line 25) | IPv4MoreFragments IPv4Flag = 1 << 0 type IPv4 (line 43) | type IPv4 struct method LayerType (line 62) | func (i *IPv4) LayerType() gopacket.LayerType { return LayerTypeIPv4 } method NetworkFlow (line 63) | func (i *IPv4) NetworkFlow() gopacket.Flow { method getIPv4OptionSize (line 79) | func (ip *IPv4) getIPv4OptionSize() uint8 { method SerializeTo (line 103) | func (ip *IPv4) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.... method flagsfrags (line 181) | func (ip *IPv4) flagsfrags() (ff uint16) { method DecodeFromBytes (line 188) | func (ip *IPv4) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method CanDecode (line 277) | func (i *IPv4) CanDecode() gopacket.LayerClass { method NextLayerType (line 281) | func (i *IPv4) NextLayerType() gopacket.LayerType { method AddressTo4 (line 309) | func (ip *IPv4) AddressTo4() error { type IPv4Option (line 67) | type IPv4Option struct method String (line 73) | func (i IPv4Option) String() string { function checksum (line 158) | func checksum(bytes []byte) uint16 { function decodeIPv4 (line 288) | func decodeIPv4(data []byte, p gopacket.PacketBuilder) error { function checkIPv4Address (line 299) | func checkIPv4Address(addr net.IP) (net.IP, error) { FILE: layers/ip4_test.go function TestGetIPOptLengthNoOpt (line 23) | func TestGetIPOptLengthNoOpt(t *testing.T) { function TestGetIPOptLengthEndOfList (line 32) | func TestGetIPOptLengthEndOfList(t *testing.T) { function TestGetIPOptLengthPaddingEndOfList (line 42) | func TestGetIPOptLengthPaddingEndOfList(t *testing.T) { function TestGetIPOptLengthOptionEndOfList (line 53) | func TestGetIPOptLengthOptionEndOfList(t *testing.T) { function TestIPOptResetDuringDecoding (line 65) | func TestIPOptResetDuringDecoding(t *testing.T) { function serialize (line 94) | func serialize(ip *IPv4) ([]byte, error) { function TestChecksum (line 104) | func TestChecksum(t *testing.T) { function TestIPv4InvalidOptionLength (line 135) | func TestIPv4InvalidOptionLength(t *testing.T) { function TestIPv4Options (line 148) | func TestIPv4Options(t *testing.T) { FILE: layers/ip6.go constant IPv6HopByHopOptionJumbogram (line 21) | IPv6HopByHopOptionJumbogram = 0xC2 constant ipv6MaxPayloadLength (line 25) | ipv6MaxPayloadLength = 65535 type IPv6 (line 29) | type IPv6 struct method LayerType (line 46) | func (ipv6 *IPv6) LayerType() gopacket.LayerType { return LayerTypeIPv6 } method NetworkFlow (line 49) | func (ipv6 *IPv6) NetworkFlow() gopacket.Flow { method SerializeTo (line 139) | func (ipv6 *IPv6) SerializeTo(b gopacket.SerializeBuffer, opts gopacke... method DecodeFromBytes (line 221) | func (ipv6 *IPv6) DecodeFromBytes(data []byte, df gopacket.DecodeFeedb... method CanDecode (line 281) | func (ipv6 *IPv6) CanDecode() gopacket.LayerClass { method NextLayerType (line 286) | func (ipv6 *IPv6) NextLayerType() gopacket.LayerType { method AddressTo16 (line 714) | func (ipv6 *IPv6) AddressTo16() error { function getIPv6HopByHopJumboLength (line 54) | func getIPv6HopByHopJumboLength(hopopts *IPv6HopByHop) (uint32, bool, er... function addIPv6JumboOption (line 80) | func addIPv6JumboOption(ip6 *IPv6) { function setIPv6PayloadJumboLength (line 105) | func setIPv6PayloadJumboLength(hbh []byte) error { function decodeIPv6 (line 293) | func decodeIPv6(data []byte, p gopacket.PacketBuilder) error { type ipv6HeaderTLVOption (line 307) | type ipv6HeaderTLVOption struct method serializeTo (line 314) | func (h *ipv6HeaderTLVOption) serializeTo(data []byte, fixLengths bool... function decodeIPv6HeaderTLVOption (line 327) | func decodeIPv6HeaderTLVOption(data []byte, df gopacket.DecodeFeedback) ... function serializeTLVOptionPadding (line 348) | func serializeTLVOptionPadding(data []byte, padLength int) { function serializeIPv6HeaderTLVOptions (line 368) | func serializeIPv6HeaderTLVOptions(buf []byte, options []*ipv6HeaderTLVO... type ipv6ExtensionBase (line 411) | type ipv6ExtensionBase struct function decodeIPv6ExtensionBase (line 418) | func decodeIPv6ExtensionBase(data []byte, df gopacket.DecodeFeedback) (i... type IPv6ExtensionSkipper (line 437) | type IPv6ExtensionSkipper struct method DecodeFromBytes (line 443) | func (i *IPv6ExtensionSkipper) DecodeFromBytes(data []byte, df gopacke... method CanDecode (line 454) | func (i *IPv6ExtensionSkipper) CanDecode() gopacket.LayerClass { method NextLayerType (line 459) | func (i *IPv6ExtensionSkipper) NextLayerType() gopacket.LayerType { type IPv6HopByHopOption (line 464) | type IPv6HopByHopOption method SetJumboLength (line 539) | func (o *IPv6HopByHopOption) SetJumboLength(len uint32) { type IPv6HopByHop (line 467) | type IPv6HopByHop struct method LayerType (line 473) | func (i *IPv6HopByHop) LayerType() gopacket.LayerType { return LayerTy... method SerializeTo (line 476) | func (i *IPv6HopByHop) SerializeTo(b gopacket.SerializeBuffer, opts go... method DecodeFromBytes (line 509) | func (i *IPv6HopByHop) DecodeFromBytes(data []byte, df gopacket.Decode... function decodeIPv6HopByHop (line 528) | func decodeIPv6HopByHop(data []byte, p gopacket.PacketBuilder) error { type IPv6Routing (line 551) | type IPv6Routing struct method LayerType (line 564) | func (i *IPv6Routing) LayerType() gopacket.LayerType { return LayerTyp... function decodeIPv6Routing (line 566) | func decodeIPv6Routing(data []byte, p gopacket.PacketBuilder) error { type IPv6Fragment (line 594) | type IPv6Fragment struct method LayerType (line 607) | func (i *IPv6Fragment) LayerType() gopacket.LayerType { return LayerTy... function decodeIPv6Fragment (line 609) | func decodeIPv6Fragment(data []byte, p gopacket.PacketBuilder) error { type IPv6DestinationOption (line 628) | type IPv6DestinationOption type IPv6Destination (line 631) | type IPv6Destination struct method LayerType (line 637) | func (i *IPv6Destination) LayerType() gopacket.LayerType { return Laye... method DecodeFromBytes (line 640) | func (i *IPv6Destination) DecodeFromBytes(data []byte, df gopacket.Dec... method SerializeTo (line 671) | func (i *IPv6Destination) SerializeTo(b gopacket.SerializeBuffer, opts... function decodeIPv6Destination (line 658) | func decodeIPv6Destination(data []byte, p gopacket.PacketBuilder) error { function checkIPv6Address (line 703) | func checkIPv6Address(addr net.IP) error { FILE: layers/ip6_test.go function TestSerializeIPv6HeaderTLVOptions (line 17) | func TestSerializeIPv6HeaderTLVOptions(t *testing.T) { function TestPacketIPv6HopByHop0Serialize (line 101) | func TestPacketIPv6HopByHop0Serialize(t *testing.T) { function TestPacketIPv6HopByHop0Decode (line 135) | func TestPacketIPv6HopByHop0Decode(t *testing.T) { function TestPacketIPv6Destination0Serialize (line 210) | func TestPacketIPv6Destination0Serialize(t *testing.T) { function TestPacketIPv6Destination0Decode (line 244) | func TestPacketIPv6Destination0Decode(t *testing.T) { function TestIPv6JumbogramSerialize (line 310) | func TestIPv6JumbogramSerialize(t *testing.T) { function TestIPv6JumbogramDecode (line 347) | func TestIPv6JumbogramDecode(t *testing.T) { FILE: layers/ipsec.go type IPSecAH (line 17) | type IPSecAH struct method LayerType (line 28) | func (i *IPSecAH) LayerType() gopacket.LayerType { return LayerTypeIPS... function decodeIPSecAH (line 30) | func decodeIPSecAH(data []byte, p gopacket.PacketBuilder) error { type IPSecESP (line 58) | type IPSecESP struct method LayerType (line 66) | func (i *IPSecESP) LayerType() gopacket.LayerType { return LayerTypeIP... function decodeIPSecESP (line 68) | func decodeIPSecESP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ipsec_test.go function TestPacketIPSecAHTransport (line 36) | func TestPacketIPSecAHTransport(t *testing.T) { function BenchmarkDecodePacketIPSecAHTransport (line 59) | func BenchmarkDecodePacketIPSecAHTransport(b *testing.B) { function TestPacketIPSecAHTunnel (line 88) | func TestPacketIPSecAHTunnel(t *testing.T) { function BenchmarkDecodePacketIPSecAHTunnel (line 111) | func BenchmarkDecodePacketIPSecAHTunnel(b *testing.B) { function TestPacketIPSecESP (line 142) | func TestPacketIPSecESP(t *testing.T) { function BenchmarkDecodePacketIPSecESP (line 150) | func BenchmarkDecodePacketIPSecESP(b *testing.B) { FILE: layers/lcm.go constant LCMShortHeaderMagic (line 19) | LCMShortHeaderMagic uint32 = 0x4c433032 constant LCMFragmentedHeaderMagic (line 21) | LCMFragmentedHeaderMagic uint32 = 0x4c433033 type LCM (line 34) | type LCM struct method DecodeFromBytes (line 117) | func (lcm *LCM) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method CanDecode (line 179) | func (lcm LCM) CanDecode() gopacket.LayerClass { method NextLayerType (line 187) | func (lcm LCM) NextLayerType() gopacket.LayerType { method LayerType (line 196) | func (lcm LCM) LayerType() gopacket.LayerType { method LayerContents (line 201) | func (lcm LCM) LayerContents() []byte { method LayerPayload (line 206) | func (lcm LCM) LayerPayload() []byte { method Payload (line 211) | func (lcm LCM) Payload() []byte { method Fingerprint (line 216) | func (lcm LCM) Fingerprint() LCMFingerprint { type LCMFingerprint (line 53) | type LCMFingerprint function RegisterLCMLayerType (line 67) | func RegisterLCMLayerType(num int, name string, fingerprint LCMFingerprint, function SupportedLCMFingerprints (line 83) | func SupportedLCMFingerprints() []LCMFingerprint { function GetLCMLayerType (line 93) | func GetLCMLayerType(fingerprint LCMFingerprint) gopacket.LayerType { function decodeLCM (line 102) | func decodeLCM(data []byte, p gopacket.PacketBuilder) error { FILE: layers/lcm_test.go function TestLCMDecode (line 39) | func TestLCMDecode(t *testing.T) { function testShortLCM (line 45) | func testShortLCM(t *testing.T) { function testFragmentedLCM (line 87) | func testFragmentedLCM(t *testing.T) { function testInvalidLCM (line 149) | func testInvalidLCM(t *testing.T) { FILE: layers/linux_sll.go type LinuxSLLPacketType (line 18) | type LinuxSLLPacketType method String (line 31) | func (l LinuxSLLPacketType) String() string { constant LinuxSLLPacketTypeHost (line 21) | LinuxSLLPacketTypeHost LinuxSLLPacketType = 0 constant LinuxSLLPacketTypeBroadcast (line 22) | LinuxSLLPacketTypeBroadcast LinuxSLLPacketType = 1 constant LinuxSLLPacketTypeMulticast (line 23) | LinuxSLLPacketTypeMulticast LinuxSLLPacketType = 2 constant LinuxSLLPacketTypeOtherhost (line 24) | LinuxSLLPacketTypeOtherhost LinuxSLLPacketType = 3 constant LinuxSLLPacketTypeOutgoing (line 25) | LinuxSLLPacketTypeOutgoing LinuxSLLPacketType = 4 constant LinuxSLLPacketTypeLoopback (line 27) | LinuxSLLPacketTypeLoopback LinuxSLLPacketType = 5 constant LinuxSLLPacketTypeFastroute (line 28) | LinuxSLLPacketTypeFastroute LinuxSLLPacketType = 6 type LinuxSLL (line 51) | type LinuxSLL struct method LayerType (line 61) | func (sll *LinuxSLL) LayerType() gopacket.LayerType { return LayerType... method CanDecode (line 63) | func (sll *LinuxSLL) CanDecode() gopacket.LayerClass { method LinkFlow (line 67) | func (sll *LinuxSLL) LinkFlow() gopacket.Flow { method NextLayerType (line 71) | func (sll *LinuxSLL) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 75) | func (sll *LinuxSLL) DecodeFromBytes(data []byte, df gopacket.DecodeFe... function decodeLinuxSLL (line 90) | func decodeLinuxSLL(data []byte, p gopacket.PacketBuilder) error { FILE: layers/llc.go type LLC (line 18) | type LLC struct method LayerType (line 28) | func (l *LLC) LayerType() gopacket.LayerType { return LayerTypeLLC } method DecodeFromBytes (line 31) | func (l *LLC) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method CanDecode (line 56) | func (l *LLC) CanDecode() gopacket.LayerClass { method NextLayerType (line 61) | func (l *LLC) NextLayerType() gopacket.LayerType { method SerializeTo (line 134) | func (l *LLC) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... type SNAP (line 77) | type SNAP struct method LayerType (line 84) | func (s *SNAP) LayerType() gopacket.LayerType { return LayerTypeSNAP } method DecodeFromBytes (line 87) | func (s *SNAP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback... method CanDecode (line 98) | func (s *SNAP) CanDecode() gopacket.LayerClass { method NextLayerType (line 103) | func (s *SNAP) NextLayerType() gopacket.LayerType { method SerializeTo (line 182) | func (s *SNAP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.S... function decodeLLC (line 108) | func decodeLLC(data []byte, p gopacket.PacketBuilder) error { function decodeSNAP (line 118) | func decodeSNAP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/lldp.go type LLDPTLVType (line 18) | type LLDPTLVType method String (line 1243) | func (t LLDPTLVType) String() (s string) { constant LLDPTLVEnd (line 21) | LLDPTLVEnd LLDPTLVType = 0 constant LLDPTLVChassisID (line 22) | LLDPTLVChassisID LLDPTLVType = 1 constant LLDPTLVPortID (line 23) | LLDPTLVPortID LLDPTLVType = 2 constant LLDPTLVTTL (line 24) | LLDPTLVTTL LLDPTLVType = 3 constant LLDPTLVPortDescription (line 25) | LLDPTLVPortDescription LLDPTLVType = 4 constant LLDPTLVSysName (line 26) | LLDPTLVSysName LLDPTLVType = 5 constant LLDPTLVSysDescription (line 27) | LLDPTLVSysDescription LLDPTLVType = 6 constant LLDPTLVSysCapabilities (line 28) | LLDPTLVSysCapabilities LLDPTLVType = 7 constant LLDPTLVMgmtAddress (line 29) | LLDPTLVMgmtAddress LLDPTLVType = 8 constant LLDPTLVOrgSpecific (line 30) | LLDPTLVOrgSpecific LLDPTLVType = 127 type LinkLayerDiscoveryValue (line 34) | type LinkLayerDiscoveryValue struct method len (line 40) | func (c *LinkLayerDiscoveryValue) len() int { type LLDPChassisIDSubType (line 45) | type LLDPChassisIDSubType method String (line 1271) | func (t LLDPChassisIDSubType) String() (s string) { constant LLDPChassisIDSubTypeReserved (line 49) | LLDPChassisIDSubTypeReserved LLDPChassisIDSubType = 0 constant LLDPChassisIDSubTypeChassisComp (line 50) | LLDPChassisIDSubTypeChassisComp LLDPChassisIDSubType = 1 constant LLDPChassisIDSubtypeIfaceAlias (line 51) | LLDPChassisIDSubtypeIfaceAlias LLDPChassisIDSubType = 2 constant LLDPChassisIDSubTypePortComp (line 52) | LLDPChassisIDSubTypePortComp LLDPChassisIDSubType = 3 constant LLDPChassisIDSubTypeMACAddr (line 53) | LLDPChassisIDSubTypeMACAddr LLDPChassisIDSubType = 4 constant LLDPChassisIDSubTypeNetworkAddr (line 54) | LLDPChassisIDSubTypeNetworkAddr LLDPChassisIDSubType = 5 constant LLDPChassisIDSubtypeIfaceName (line 55) | LLDPChassisIDSubtypeIfaceName LLDPChassisIDSubType = 6 constant LLDPChassisIDSubTypeLocal (line 56) | LLDPChassisIDSubTypeLocal LLDPChassisIDSubType = 7 type LLDPChassisID (line 59) | type LLDPChassisID struct method serialize (line 64) | func (c *LLDPChassisID) serialize() []byte { method serializedLen (line 74) | func (c *LLDPChassisID) serializedLen() int { type LLDPPortIDSubType (line 79) | type LLDPPortIDSubType method String (line 1295) | func (t LLDPPortIDSubType) String() (s string) { constant LLDPPortIDSubtypeReserved (line 83) | LLDPPortIDSubtypeReserved LLDPPortIDSubType = 0 constant LLDPPortIDSubtypeIfaceAlias (line 84) | LLDPPortIDSubtypeIfaceAlias LLDPPortIDSubType = 1 constant LLDPPortIDSubtypePortComp (line 85) | LLDPPortIDSubtypePortComp LLDPPortIDSubType = 2 constant LLDPPortIDSubtypeMACAddr (line 86) | LLDPPortIDSubtypeMACAddr LLDPPortIDSubType = 3 constant LLDPPortIDSubtypeNetworkAddr (line 87) | LLDPPortIDSubtypeNetworkAddr LLDPPortIDSubType = 4 constant LLDPPortIDSubtypeIfaceName (line 88) | LLDPPortIDSubtypeIfaceName LLDPPortIDSubType = 5 constant LLDPPortIDSubtypeAgentCircuitID (line 89) | LLDPPortIDSubtypeAgentCircuitID LLDPPortIDSubType = 6 constant LLDPPortIDSubtypeLocal (line 90) | LLDPPortIDSubtypeLocal LLDPPortIDSubType = 7 type LLDPPortID (line 93) | type LLDPPortID struct method serialize (line 98) | func (c *LLDPPortID) serialize() []byte { method serializedLen (line 108) | func (c *LLDPPortID) serializedLen() int { type LinkLayerDiscovery (line 116) | type LinkLayerDiscovery struct method LayerType (line 764) | func (c *LinkLayerDiscovery) LayerType() gopacket.LayerType { method SerializeTo (line 769) | func (c *LinkLayerDiscovery) SerializeTo(b gopacket.SerializeBuffer, o... type IEEEOUI (line 124) | type IEEEOUI constant IEEEOUI8021 (line 128) | IEEEOUI8021 IEEEOUI = 0x0080c2 constant IEEEOUI8023 (line 129) | IEEEOUI8023 IEEEOUI = 0x00120f constant IEEEOUI80211 (line 130) | IEEEOUI80211 IEEEOUI = 0x000fac constant IEEEOUI8021Qbg (line 131) | IEEEOUI8021Qbg IEEEOUI = 0x0013BF constant IEEEOUICisco2 (line 132) | IEEEOUICisco2 IEEEOUI = 0x000142 constant IEEEOUIMedia (line 133) | IEEEOUIMedia IEEEOUI = 0x0012bb constant IEEEOUIProfinet (line 134) | IEEEOUIProfinet IEEEOUI = 0x000ecf constant IEEEOUIDCBX (line 135) | IEEEOUIDCBX IEEEOUI = 0x001b21 type LLDPOrgSpecificTLV (line 139) | type LLDPOrgSpecificTLV struct constant LLDPCapsOther (line 147) | LLDPCapsOther uint16 = 1 << 0 constant LLDPCapsRepeater (line 148) | LLDPCapsRepeater uint16 = 1 << 1 constant LLDPCapsBridge (line 149) | LLDPCapsBridge uint16 = 1 << 2 constant LLDPCapsWLANAP (line 150) | LLDPCapsWLANAP uint16 = 1 << 3 constant LLDPCapsRouter (line 151) | LLDPCapsRouter uint16 = 1 << 4 constant LLDPCapsPhone (line 152) | LLDPCapsPhone uint16 = 1 << 5 constant LLDPCapsDocSis (line 153) | LLDPCapsDocSis uint16 = 1 << 6 constant LLDPCapsStationOnly (line 154) | LLDPCapsStationOnly uint16 = 1 << 7 constant LLDPCapsCVLAN (line 155) | LLDPCapsCVLAN uint16 = 1 << 8 constant LLDPCapsSVLAN (line 156) | LLDPCapsSVLAN uint16 = 1 << 9 constant LLDPCapsTmpr (line 157) | LLDPCapsTmpr uint16 = 1 << 10 type LLDPCapabilities (line 161) | type LLDPCapabilities struct type LLDPSysCapabilities (line 175) | type LLDPSysCapabilities struct type IANAAddressFamily (line 180) | type IANAAddressFamily method String (line 1319) | func (t IANAAddressFamily) String() (s string) { constant IANAAddressFamilyReserved (line 185) | IANAAddressFamilyReserved IANAAddressFamily = 0 constant IANAAddressFamilyIPV4 (line 186) | IANAAddressFamilyIPV4 IANAAddressFamily = 1 constant IANAAddressFamilyIPV6 (line 187) | IANAAddressFamilyIPV6 IANAAddressFamily = 2 constant IANAAddressFamilyNSAP (line 188) | IANAAddressFamilyNSAP IANAAddressFamily = 3 constant IANAAddressFamilyHDLC (line 189) | IANAAddressFamilyHDLC IANAAddressFamily = 4 constant IANAAddressFamilyBBN1822 (line 190) | IANAAddressFamilyBBN1822 IANAAddressFamily = 5 constant IANAAddressFamily802 (line 191) | IANAAddressFamily802 IANAAddressFamily = 6 constant IANAAddressFamilyE163 (line 192) | IANAAddressFamilyE163 IANAAddressFamily = 7 constant IANAAddressFamilyE164 (line 193) | IANAAddressFamilyE164 IANAAddressFamily = 8 constant IANAAddressFamilyF69 (line 194) | IANAAddressFamilyF69 IANAAddressFamily = 9 constant IANAAddressFamilyX121 (line 195) | IANAAddressFamilyX121 IANAAddressFamily = 10 constant IANAAddressFamilyIPX (line 196) | IANAAddressFamilyIPX IANAAddressFamily = 11 constant IANAAddressFamilyAtalk (line 197) | IANAAddressFamilyAtalk IANAAddressFamily = 12 constant IANAAddressFamilyDecnet (line 198) | IANAAddressFamilyDecnet IANAAddressFamily = 13 constant IANAAddressFamilyBanyan (line 199) | IANAAddressFamilyBanyan IANAAddressFamily = 14 constant IANAAddressFamilyE164NSAP (line 200) | IANAAddressFamilyE164NSAP IANAAddressFamily = 15 constant IANAAddressFamilyDNS (line 201) | IANAAddressFamilyDNS IANAAddressFamily = 16 constant IANAAddressFamilyDistname (line 202) | IANAAddressFamilyDistname IANAAddressFamily = 17 constant IANAAddressFamilyASNumber (line 203) | IANAAddressFamilyASNumber IANAAddressFamily = 18 constant IANAAddressFamilyXTPIPV4 (line 204) | IANAAddressFamilyXTPIPV4 IANAAddressFamily = 19 constant IANAAddressFamilyXTPIPV6 (line 205) | IANAAddressFamilyXTPIPV6 IANAAddressFamily = 20 constant IANAAddressFamilyXTP (line 206) | IANAAddressFamilyXTP IANAAddressFamily = 21 constant IANAAddressFamilyFcWWPN (line 207) | IANAAddressFamilyFcWWPN IANAAddressFamily = 22 constant IANAAddressFamilyFcWWNN (line 208) | IANAAddressFamilyFcWWNN IANAAddressFamily = 23 constant IANAAddressFamilyGWID (line 209) | IANAAddressFamilyGWID IANAAddressFamily = 24 constant IANAAddressFamilyL2VPN (line 210) | IANAAddressFamilyL2VPN IANAAddressFamily = 25 type LLDPInterfaceSubtype (line 213) | type LLDPInterfaceSubtype method String (line 1379) | func (t LLDPInterfaceSubtype) String() (s string) { constant LLDPInterfaceSubtypeUnknown (line 217) | LLDPInterfaceSubtypeUnknown LLDPInterfaceSubtype = 1 constant LLDPInterfaceSubtypeifIndex (line 218) | LLDPInterfaceSubtypeifIndex LLDPInterfaceSubtype = 2 constant LLDPInterfaceSubtypeSysPort (line 219) | LLDPInterfaceSubtypeSysPort LLDPInterfaceSubtype = 3 type LLDPMgmtAddress (line 222) | type LLDPMgmtAddress struct type LinkLayerDiscoveryInfo (line 232) | type LinkLayerDiscoveryInfo struct method Decode8021 (line 907) | func (l *LinkLayerDiscoveryInfo) Decode8021() (info LLDPInfo8021, err ... method Decode8023 (line 962) | func (l *LinkLayerDiscoveryInfo) Decode8023() (info LLDPInfo8023, err ... method Decode8021Qbg (line 1014) | func (l *LinkLayerDiscoveryInfo) Decode8021Qbg() (info LLDPInfo8021Qbg... method DecodeMedia (line 1034) | func (l *LinkLayerDiscoveryInfo) DecodeMedia() (info LLDPInfoMedia, er... method DecodeCisco2 (line 1138) | func (l *LinkLayerDiscoveryInfo) DecodeCisco2() (info LLDPInfoCisco2, ... method DecodeProfinet (line 1157) | func (l *LinkLayerDiscoveryInfo) DecodeProfinet() (info LLDPInfoProfin... method LayerType (line 1214) | func (c *LinkLayerDiscoveryInfo) LayerType() gopacket.LayerType { constant LLDP8021SubtypePortVLANID (line 245) | LLDP8021SubtypePortVLANID uint8 = 1 constant LLDP8021SubtypeProtocolVLANID (line 246) | LLDP8021SubtypeProtocolVLANID uint8 = 2 constant LLDP8021SubtypeVLANName (line 247) | LLDP8021SubtypeVLANName uint8 = 3 constant LLDP8021SubtypeProtocolIdentity (line 248) | LLDP8021SubtypeProtocolIdentity uint8 = 4 constant LLDP8021SubtypeVDIUsageDigest (line 249) | LLDP8021SubtypeVDIUsageDigest uint8 = 5 constant LLDP8021SubtypeManagementVID (line 250) | LLDP8021SubtypeManagementVID uint8 = 6 constant LLDP8021SubtypeLinkAggregation (line 251) | LLDP8021SubtypeLinkAggregation uint8 = 7 constant LLDPProtocolVLANIDCapability (line 256) | LLDPProtocolVLANIDCapability byte = 1 << 1 constant LLDPProtocolVLANIDStatus (line 257) | LLDPProtocolVLANIDStatus byte = 1 << 2 type PortProtocolVLANID (line 260) | type PortProtocolVLANID struct type VLANName (line 266) | type VLANName struct type ProtocolIdentity (line 271) | type ProtocolIdentity constant LLDPAggregationCapability (line 275) | LLDPAggregationCapability byte = 1 << 0 constant LLDPAggregationStatus (line 276) | LLDPAggregationStatus byte = 1 << 1 type LLDPLinkAggregation (line 280) | type LLDPLinkAggregation struct type LLDPInfo8021 (line 287) | type LLDPInfo8021 struct constant LLDP8023SubtypeMACPHY (line 299) | LLDP8023SubtypeMACPHY uint8 = 1 constant LLDP8023SubtypeMDIPower (line 300) | LLDP8023SubtypeMDIPower uint8 = 2 constant LLDP8023SubtypeLinkAggregation (line 301) | LLDP8023SubtypeLinkAggregation uint8 = 3 constant LLDP8023SubtypeMTU (line 302) | LLDP8023SubtypeMTU uint8 = 4 constant LLDPMACPHYCapability (line 307) | LLDPMACPHYCapability byte = 1 << 0 constant LLDPMACPHYStatus (line 308) | LLDPMACPHYStatus byte = 1 << 1 constant LLDPMAUTypeUnknown (line 313) | LLDPMAUTypeUnknown uint16 = 0 constant LLDPMAUTypeAUI (line 314) | LLDPMAUTypeAUI uint16 = 1 constant LLDPMAUType10Base5 (line 315) | LLDPMAUType10Base5 uint16 = 2 constant LLDPMAUTypeFOIRL (line 316) | LLDPMAUTypeFOIRL uint16 = 3 constant LLDPMAUType10Base2 (line 317) | LLDPMAUType10Base2 uint16 = 4 constant LLDPMAUType10BaseT (line 318) | LLDPMAUType10BaseT uint16 = 5 constant LLDPMAUType10BaseFP (line 319) | LLDPMAUType10BaseFP uint16 = 6 constant LLDPMAUType10BaseFB (line 320) | LLDPMAUType10BaseFB uint16 = 7 constant LLDPMAUType10BaseFL (line 321) | LLDPMAUType10BaseFL uint16 = 8 constant LLDPMAUType10BROAD36 (line 322) | LLDPMAUType10BROAD36 uint16 = 9 constant LLDPMAUType10BaseT_HD (line 323) | LLDPMAUType10BaseT_HD uint16 = 10 constant LLDPMAUType10BaseT_FD (line 324) | LLDPMAUType10BaseT_FD uint16 = 11 constant LLDPMAUType10BaseFL_HD (line 325) | LLDPMAUType10BaseFL_HD uint16 = 12 constant LLDPMAUType10BaseFL_FD (line 326) | LLDPMAUType10BaseFL_FD uint16 = 13 constant LLDPMAUType100BaseT4 (line 327) | LLDPMAUType100BaseT4 uint16 = 14 constant LLDPMAUType100BaseTX_HD (line 328) | LLDPMAUType100BaseTX_HD uint16 = 15 constant LLDPMAUType100BaseTX_FD (line 329) | LLDPMAUType100BaseTX_FD uint16 = 16 constant LLDPMAUType100BaseFX_HD (line 330) | LLDPMAUType100BaseFX_HD uint16 = 17 constant LLDPMAUType100BaseFX_FD (line 331) | LLDPMAUType100BaseFX_FD uint16 = 18 constant LLDPMAUType100BaseT2_HD (line 332) | LLDPMAUType100BaseT2_HD uint16 = 19 constant LLDPMAUType100BaseT2_FD (line 333) | LLDPMAUType100BaseT2_FD uint16 = 20 constant LLDPMAUType1000BaseX_HD (line 334) | LLDPMAUType1000BaseX_HD uint16 = 21 constant LLDPMAUType1000BaseX_FD (line 335) | LLDPMAUType1000BaseX_FD uint16 = 22 constant LLDPMAUType1000BaseLX_HD (line 336) | LLDPMAUType1000BaseLX_HD uint16 = 23 constant LLDPMAUType1000BaseLX_FD (line 337) | LLDPMAUType1000BaseLX_FD uint16 = 24 constant LLDPMAUType1000BaseSX_HD (line 338) | LLDPMAUType1000BaseSX_HD uint16 = 25 constant LLDPMAUType1000BaseSX_FD (line 339) | LLDPMAUType1000BaseSX_FD uint16 = 26 constant LLDPMAUType1000BaseCX_HD (line 340) | LLDPMAUType1000BaseCX_HD uint16 = 27 constant LLDPMAUType1000BaseCX_FD (line 341) | LLDPMAUType1000BaseCX_FD uint16 = 28 constant LLDPMAUType1000BaseT_HD (line 342) | LLDPMAUType1000BaseT_HD uint16 = 29 constant LLDPMAUType1000BaseT_FD (line 343) | LLDPMAUType1000BaseT_FD uint16 = 30 constant LLDPMAUType10GBaseX (line 344) | LLDPMAUType10GBaseX uint16 = 31 constant LLDPMAUType10GBaseLX4 (line 345) | LLDPMAUType10GBaseLX4 uint16 = 32 constant LLDPMAUType10GBaseR (line 346) | LLDPMAUType10GBaseR uint16 = 33 constant LLDPMAUType10GBaseER (line 347) | LLDPMAUType10GBaseER uint16 = 34 constant LLDPMAUType10GBaseLR (line 348) | LLDPMAUType10GBaseLR uint16 = 35 constant LLDPMAUType10GBaseSR (line 349) | LLDPMAUType10GBaseSR uint16 = 36 constant LLDPMAUType10GBaseW (line 350) | LLDPMAUType10GBaseW uint16 = 37 constant LLDPMAUType10GBaseEW (line 351) | LLDPMAUType10GBaseEW uint16 = 38 constant LLDPMAUType10GBaseLW (line 352) | LLDPMAUType10GBaseLW uint16 = 39 constant LLDPMAUType10GBaseSW (line 353) | LLDPMAUType10GBaseSW uint16 = 40 constant LLDPMAUType10GBaseCX4 (line 354) | LLDPMAUType10GBaseCX4 uint16 = 41 constant LLDPMAUType2BaseTL (line 355) | LLDPMAUType2BaseTL uint16 = 42 constant LLDPMAUType10PASS_TS (line 356) | LLDPMAUType10PASS_TS uint16 = 43 constant LLDPMAUType100BaseBX10D (line 357) | LLDPMAUType100BaseBX10D uint16 = 44 constant LLDPMAUType100BaseBX10U (line 358) | LLDPMAUType100BaseBX10U uint16 = 45 constant LLDPMAUType100BaseLX10 (line 359) | LLDPMAUType100BaseLX10 uint16 = 46 constant LLDPMAUType1000BaseBX10D (line 360) | LLDPMAUType1000BaseBX10D uint16 = 47 constant LLDPMAUType1000BaseBX10U (line 361) | LLDPMAUType1000BaseBX10U uint16 = 48 constant LLDPMAUType1000BaseLX10 (line 362) | LLDPMAUType1000BaseLX10 uint16 = 49 constant LLDPMAUType1000BasePX10D (line 363) | LLDPMAUType1000BasePX10D uint16 = 50 constant LLDPMAUType1000BasePX10U (line 364) | LLDPMAUType1000BasePX10U uint16 = 51 constant LLDPMAUType1000BasePX20D (line 365) | LLDPMAUType1000BasePX20D uint16 = 52 constant LLDPMAUType1000BasePX20U (line 366) | LLDPMAUType1000BasePX20U uint16 = 53 constant LLDPMAUType10GBaseT (line 367) | LLDPMAUType10GBaseT uint16 = 54 constant LLDPMAUType10GBaseLRM (line 368) | LLDPMAUType10GBaseLRM uint16 = 55 constant LLDPMAUType1000BaseKX (line 369) | LLDPMAUType1000BaseKX uint16 = 56 constant LLDPMAUType10GBaseKX4 (line 370) | LLDPMAUType10GBaseKX4 uint16 = 57 constant LLDPMAUType10GBaseKR (line 371) | LLDPMAUType10GBaseKR uint16 = 58 constant LLDPMAUType10_1GBasePRX_D1 (line 372) | LLDPMAUType10_1GBasePRX_D1 uint16 = 59 constant LLDPMAUType10_1GBasePRX_D2 (line 373) | LLDPMAUType10_1GBasePRX_D2 uint16 = 60 constant LLDPMAUType10_1GBasePRX_D3 (line 374) | LLDPMAUType10_1GBasePRX_D3 uint16 = 61 constant LLDPMAUType10_1GBasePRX_U1 (line 375) | LLDPMAUType10_1GBasePRX_U1 uint16 = 62 constant LLDPMAUType10_1GBasePRX_U2 (line 376) | LLDPMAUType10_1GBasePRX_U2 uint16 = 63 constant LLDPMAUType10_1GBasePRX_U3 (line 377) | LLDPMAUType10_1GBasePRX_U3 uint16 = 64 constant LLDPMAUType10GBasePR_D1 (line 378) | LLDPMAUType10GBasePR_D1 uint16 = 65 constant LLDPMAUType10GBasePR_D2 (line 379) | LLDPMAUType10GBasePR_D2 uint16 = 66 constant LLDPMAUType10GBasePR_D3 (line 380) | LLDPMAUType10GBasePR_D3 uint16 = 67 constant LLDPMAUType10GBasePR_U1 (line 381) | LLDPMAUType10GBasePR_U1 uint16 = 68 constant LLDPMAUType10GBasePR_U3 (line 382) | LLDPMAUType10GBasePR_U3 uint16 = 69 constant LLDPMAUPMDOther (line 387) | LLDPMAUPMDOther uint16 = 1 << 15 constant LLDPMAUPMD10BaseT (line 388) | LLDPMAUPMD10BaseT uint16 = 1 << 14 constant LLDPMAUPMD10BaseT_FD (line 389) | LLDPMAUPMD10BaseT_FD uint16 = 1 << 13 constant LLDPMAUPMD100BaseT4 (line 390) | LLDPMAUPMD100BaseT4 uint16 = 1 << 12 constant LLDPMAUPMD100BaseTX (line 391) | LLDPMAUPMD100BaseTX uint16 = 1 << 11 constant LLDPMAUPMD100BaseTX_FD (line 392) | LLDPMAUPMD100BaseTX_FD uint16 = 1 << 10 constant LLDPMAUPMD100BaseT2 (line 393) | LLDPMAUPMD100BaseT2 uint16 = 1 << 9 constant LLDPMAUPMD100BaseT2_FD (line 394) | LLDPMAUPMD100BaseT2_FD uint16 = 1 << 8 constant LLDPMAUPMDFDXPAUSE (line 395) | LLDPMAUPMDFDXPAUSE uint16 = 1 << 7 constant LLDPMAUPMDFDXAPAUSE (line 396) | LLDPMAUPMDFDXAPAUSE uint16 = 1 << 6 constant LLDPMAUPMDFDXSPAUSE (line 397) | LLDPMAUPMDFDXSPAUSE uint16 = 1 << 5 constant LLDPMAUPMDFDXBPAUSE (line 398) | LLDPMAUPMDFDXBPAUSE uint16 = 1 << 4 constant LLDPMAUPMD1000BaseX (line 399) | LLDPMAUPMD1000BaseX uint16 = 1 << 3 constant LLDPMAUPMD1000BaseX_FD (line 400) | LLDPMAUPMD1000BaseX_FD uint16 = 1 << 2 constant LLDPMAUPMD1000BaseT (line 401) | LLDPMAUPMD1000BaseT uint16 = 1 << 1 constant LLDPMAUPMD1000BaseT_FD (line 402) | LLDPMAUPMD1000BaseT_FD uint16 = 1 << 0 constant LLDPMAUPMDOtherInv (line 409) | LLDPMAUPMDOtherInv uint16 = 1 << 0 constant LLDPMAUPMD10BaseTInv (line 410) | LLDPMAUPMD10BaseTInv uint16 = 1 << 1 constant LLDPMAUPMD10BaseT_FDInv (line 411) | LLDPMAUPMD10BaseT_FDInv uint16 = 1 << 2 constant LLDPMAUPMD100BaseT4Inv (line 412) | LLDPMAUPMD100BaseT4Inv uint16 = 1 << 3 constant LLDPMAUPMD100BaseTXInv (line 413) | LLDPMAUPMD100BaseTXInv uint16 = 1 << 4 constant LLDPMAUPMD100BaseTX_FDInv (line 414) | LLDPMAUPMD100BaseTX_FDInv uint16 = 1 << 5 constant LLDPMAUPMD100BaseT2Inv (line 415) | LLDPMAUPMD100BaseT2Inv uint16 = 1 << 6 constant LLDPMAUPMD100BaseT2_FDInv (line 416) | LLDPMAUPMD100BaseT2_FDInv uint16 = 1 << 7 constant LLDPMAUPMDFDXPAUSEInv (line 417) | LLDPMAUPMDFDXPAUSEInv uint16 = 1 << 8 constant LLDPMAUPMDFDXAPAUSEInv (line 418) | LLDPMAUPMDFDXAPAUSEInv uint16 = 1 << 9 constant LLDPMAUPMDFDXSPAUSEInv (line 419) | LLDPMAUPMDFDXSPAUSEInv uint16 = 1 << 10 constant LLDPMAUPMDFDXBPAUSEInv (line 420) | LLDPMAUPMDFDXBPAUSEInv uint16 = 1 << 11 constant LLDPMAUPMD1000BaseXInv (line 421) | LLDPMAUPMD1000BaseXInv uint16 = 1 << 12 constant LLDPMAUPMD1000BaseX_FDInv (line 422) | LLDPMAUPMD1000BaseX_FDInv uint16 = 1 << 13 constant LLDPMAUPMD1000BaseTInv (line 423) | LLDPMAUPMD1000BaseTInv uint16 = 1 << 14 constant LLDPMAUPMD1000BaseT_FDInv (line 424) | LLDPMAUPMD1000BaseT_FDInv uint16 = 1 << 15 type LLDPMACPHYConfigStatus (line 427) | type LLDPMACPHYConfigStatus struct constant LLDPMDIPowerPortClass (line 436) | LLDPMDIPowerPortClass byte = 1 << 0 constant LLDPMDIPowerCapability (line 437) | LLDPMDIPowerCapability byte = 1 << 1 constant LLDPMDIPowerStatus (line 438) | LLDPMDIPowerStatus byte = 1 << 2 constant LLDPMDIPowerPairsAbility (line 439) | LLDPMDIPowerPairsAbility byte = 1 << 3 type LLDPPowerType (line 442) | type LLDPPowerType method String (line 1393) | func (t LLDPPowerType) String() (s string) { type LLDPPowerSource (line 444) | type LLDPPowerSource method String (line 1409) | func (t LLDPPowerSource) String() (s string) { type LLDPPowerPriority (line 446) | type LLDPPowerPriority method String (line 1433) | func (t LLDPPowerPriority) String() (s string) { constant LLDPPowerPriorityUnknown (line 449) | LLDPPowerPriorityUnknown LLDPPowerPriority = 0 constant LLDPPowerPriorityMedium (line 450) | LLDPPowerPriorityMedium LLDPPowerPriority = 1 constant LLDPPowerPriorityHigh (line 451) | LLDPPowerPriorityHigh LLDPPowerPriority = 2 constant LLDPPowerPriorityLow (line 452) | LLDPPowerPriorityLow LLDPPowerPriority = 3 type LLDPPowerViaMDI8023 (line 455) | type LLDPPowerViaMDI8023 struct type LLDPInfo8023 (line 470) | type LLDPInfo8023 struct constant LLDP8021QbgEVB (line 479) | LLDP8021QbgEVB uint8 = 0 constant LLDP8021QbgCDCP (line 480) | LLDP8021QbgCDCP uint8 = 1 constant LLDP8021QbgVDP (line 481) | LLDP8021QbgVDP uint8 = 2 constant LLDP8021QbgEVB22 (line 482) | LLDP8021QbgEVB22 uint8 = 13 constant LLDPEVBCapsSTD (line 487) | LLDPEVBCapsSTD uint16 = 1 << 7 constant LLDPEVBCapsRR (line 488) | LLDPEVBCapsRR uint16 = 1 << 6 constant LLDPEVBCapsRTE (line 489) | LLDPEVBCapsRTE uint16 = 1 << 2 constant LLDPEVBCapsECP (line 490) | LLDPEVBCapsECP uint16 = 1 << 1 constant LLDPEVBCapsVDP (line 491) | LLDPEVBCapsVDP uint16 = 1 << 0 type LLDPEVBCapabilities (line 495) | type LLDPEVBCapabilities struct type LLDPEVBSettings (line 503) | type LLDPEVBSettings struct type LLDPInfo8021Qbg (line 512) | type LLDPInfo8021Qbg struct type LLDPMediaSubtype (line 516) | type LLDPMediaSubtype method String (line 1449) | func (t LLDPMediaSubtype) String() (s string) { constant LLDPMediaTypeCapabilities (line 520) | LLDPMediaTypeCapabilities LLDPMediaSubtype = 1 constant LLDPMediaTypeNetwork (line 521) | LLDPMediaTypeNetwork LLDPMediaSubtype = 2 constant LLDPMediaTypeLocation (line 522) | LLDPMediaTypeLocation LLDPMediaSubtype = 3 constant LLDPMediaTypePower (line 523) | LLDPMediaTypePower LLDPMediaSubtype = 4 constant LLDPMediaTypeHardware (line 524) | LLDPMediaTypeHardware LLDPMediaSubtype = 5 constant LLDPMediaTypeFirmware (line 525) | LLDPMediaTypeFirmware LLDPMediaSubtype = 6 constant LLDPMediaTypeSoftware (line 526) | LLDPMediaTypeSoftware LLDPMediaSubtype = 7 constant LLDPMediaTypeSerial (line 527) | LLDPMediaTypeSerial LLDPMediaSubtype = 8 constant LLDPMediaTypeManufacturer (line 528) | LLDPMediaTypeManufacturer LLDPMediaSubtype = 9 constant LLDPMediaTypeModel (line 529) | LLDPMediaTypeModel LLDPMediaSubtype = 10 constant LLDPMediaTypeAssetID (line 530) | LLDPMediaTypeAssetID LLDPMediaSubtype = 11 type LLDPMediaClass (line 533) | type LLDPMediaClass method String (line 1479) | func (t LLDPMediaClass) String() (s string) { constant LLDPMediaClassUndefined (line 537) | LLDPMediaClassUndefined LLDPMediaClass = 0 constant LLDPMediaClassEndpointI (line 538) | LLDPMediaClassEndpointI LLDPMediaClass = 1 constant LLDPMediaClassEndpointII (line 539) | LLDPMediaClassEndpointII LLDPMediaClass = 2 constant LLDPMediaClassEndpointIII (line 540) | LLDPMediaClassEndpointIII LLDPMediaClass = 3 constant LLDPMediaClassNetwork (line 541) | LLDPMediaClassNetwork LLDPMediaClass = 4 constant LLDPMediaCapsLLDP (line 546) | LLDPMediaCapsLLDP uint16 = 1 << 0 constant LLDPMediaCapsNetwork (line 547) | LLDPMediaCapsNetwork uint16 = 1 << 1 constant LLDPMediaCapsLocation (line 548) | LLDPMediaCapsLocation uint16 = 1 << 2 constant LLDPMediaCapsPowerPSE (line 549) | LLDPMediaCapsPowerPSE uint16 = 1 << 3 constant LLDPMediaCapsPowerPD (line 550) | LLDPMediaCapsPowerPD uint16 = 1 << 4 constant LLDPMediaCapsInventory (line 551) | LLDPMediaCapsInventory uint16 = 1 << 5 type LLDPMediaCapabilities (line 555) | type LLDPMediaCapabilities struct type LLDPApplicationType (line 565) | type LLDPApplicationType method String (line 1497) | func (t LLDPApplicationType) String() (s string) { constant LLDPAppTypeReserved (line 568) | LLDPAppTypeReserved LLDPApplicationType = 0 constant LLDPAppTypeVoice (line 569) | LLDPAppTypeVoice LLDPApplicationType = 1 constant LLDPappTypeVoiceSignaling (line 570) | LLDPappTypeVoiceSignaling LLDPApplicationType = 2 constant LLDPappTypeGuestVoice (line 571) | LLDPappTypeGuestVoice LLDPApplicationType = 3 constant LLDPappTypeGuestVoiceSignaling (line 572) | LLDPappTypeGuestVoiceSignaling LLDPApplicationType = 4 constant LLDPappTypeSoftphoneVoice (line 573) | LLDPappTypeSoftphoneVoice LLDPApplicationType = 5 constant LLDPappTypeVideoConferencing (line 574) | LLDPappTypeVideoConferencing LLDPApplicationType = 6 constant LLDPappTypeStreamingVideo (line 575) | LLDPappTypeStreamingVideo LLDPApplicationType = 7 constant LLDPappTypeVideoSignaling (line 576) | LLDPappTypeVideoSignaling LLDPApplicationType = 8 type LLDPNetworkPolicy (line 579) | type LLDPNetworkPolicy struct type LLDPLocationFormat (line 588) | type LLDPLocationFormat method String (line 1523) | func (t LLDPLocationFormat) String() (s string) { constant LLDPLocationFormatInvalid (line 591) | LLDPLocationFormatInvalid LLDPLocationFormat = 0 constant LLDPLocationFormatCoordinate (line 592) | LLDPLocationFormatCoordinate LLDPLocationFormat = 1 constant LLDPLocationFormatAddress (line 593) | LLDPLocationFormatAddress LLDPLocationFormat = 2 constant LLDPLocationFormatECS (line 594) | LLDPLocationFormatECS LLDPLocationFormat = 3 type LLDPLocationAddressWhat (line 597) | type LLDPLocationAddressWhat constant LLDPLocationAddressWhatDHCP (line 600) | LLDPLocationAddressWhatDHCP LLDPLocationAddressWhat = 0 constant LLDPLocationAddressWhatNetwork (line 601) | LLDPLocationAddressWhatNetwork LLDPLocationAddressWhat = 1 constant LLDPLocationAddressWhatClient (line 602) | LLDPLocationAddressWhatClient LLDPLocationAddressWhat = 2 type LLDPLocationAddressType (line 605) | type LLDPLocationAddressType method String (line 1539) | func (t LLDPLocationAddressType) String() (s string) { constant LLDPLocationAddressTypeLanguage (line 608) | LLDPLocationAddressTypeLanguage LLDPLocationAddressType = 0 constant LLDPLocationAddressTypeNational (line 609) | LLDPLocationAddressTypeNational LLDPLocationAddressType = 1 constant LLDPLocationAddressTypeCounty (line 610) | LLDPLocationAddressTypeCounty LLDPLocationAddressType = 2 constant LLDPLocationAddressTypeCity (line 611) | LLDPLocationAddressTypeCity LLDPLocationAddressType = 3 constant LLDPLocationAddressTypeCityDivision (line 612) | LLDPLocationAddressTypeCityDivision LLDPLocationAddressType = 4 constant LLDPLocationAddressTypeNeighborhood (line 613) | LLDPLocationAddressTypeNeighborhood LLDPLocationAddressType = 5 constant LLDPLocationAddressTypeStreet (line 614) | LLDPLocationAddressTypeStreet LLDPLocationAddressType = 6 constant LLDPLocationAddressTypeLeadingStreet (line 615) | LLDPLocationAddressTypeLeadingStreet LLDPLocationAddressType = 16 constant LLDPLocationAddressTypeTrailingStreet (line 616) | LLDPLocationAddressTypeTrailingStreet LLDPLocationAddressType = 17 constant LLDPLocationAddressTypeStreetSuffix (line 617) | LLDPLocationAddressTypeStreetSuffix LLDPLocationAddressType = 18 constant LLDPLocationAddressTypeHouseNum (line 618) | LLDPLocationAddressTypeHouseNum LLDPLocationAddressType = 19 constant LLDPLocationAddressTypeHouseSuffix (line 619) | LLDPLocationAddressTypeHouseSuffix LLDPLocationAddressType = 20 constant LLDPLocationAddressTypeLandmark (line 620) | LLDPLocationAddressTypeLandmark LLDPLocationAddressType = 21 constant LLDPLocationAddressTypeAdditional (line 621) | LLDPLocationAddressTypeAdditional LLDPLocationAddressType = 22 constant LLDPLocationAddressTypeName (line 622) | LLDPLocationAddressTypeName LLDPLocationAddressType = 23 constant LLDPLocationAddressTypePostal (line 623) | LLDPLocationAddressTypePostal LLDPLocationAddressType = 24 constant LLDPLocationAddressTypeBuilding (line 624) | LLDPLocationAddressTypeBuilding LLDPLocationAddressType = 25 constant LLDPLocationAddressTypeUnit (line 625) | LLDPLocationAddressTypeUnit LLDPLocationAddressType = 26 constant LLDPLocationAddressTypeFloor (line 626) | LLDPLocationAddressTypeFloor LLDPLocationAddressType = 27 constant LLDPLocationAddressTypeRoom (line 627) | LLDPLocationAddressTypeRoom LLDPLocationAddressType = 28 constant LLDPLocationAddressTypePlace (line 628) | LLDPLocationAddressTypePlace LLDPLocationAddressType = 29 constant LLDPLocationAddressTypeScript (line 629) | LLDPLocationAddressTypeScript LLDPLocationAddressType = 128 type LLDPLocationCoordinate (line 632) | type LLDPLocationCoordinate struct type LLDPLocationAddressLine (line 643) | type LLDPLocationAddressLine struct type LLDPLocationAddress (line 648) | type LLDPLocationAddress struct type LLDPLocationECS (line 654) | type LLDPLocationECS struct type LLDPLocation (line 660) | type LLDPLocation struct type LLDPPowerViaMDI (line 667) | type LLDPPowerViaMDI struct type LLDPInfoMedia (line 675) | type LLDPInfoMedia struct type LLDPCisco2Subtype (line 689) | type LLDPCisco2Subtype constant LLDPCisco2PowerViaMDI (line 693) | LLDPCisco2PowerViaMDI LLDPCisco2Subtype = 1 constant LLDPCiscoPSESupport (line 697) | LLDPCiscoPSESupport uint8 = 1 << 0 constant LLDPCiscoArchShared (line 698) | LLDPCiscoArchShared uint8 = 1 << 1 constant LLDPCiscoPDSparePair (line 699) | LLDPCiscoPDSparePair uint8 = 1 << 2 constant LLDPCiscoPSESparePair (line 700) | LLDPCiscoPSESparePair uint8 = 1 << 3 type LLDPInfoCisco2 (line 704) | type LLDPInfoCisco2 struct type LLDPProfinetSubtype (line 712) | type LLDPProfinetSubtype constant LLDPProfinetPNIODelay (line 715) | LLDPProfinetPNIODelay LLDPProfinetSubtype = 1 constant LLDPProfinetPNIOPortStatus (line 716) | LLDPProfinetPNIOPortStatus LLDPProfinetSubtype = 2 constant LLDPProfinetPNIOMRPPortStatus (line 717) | LLDPProfinetPNIOMRPPortStatus LLDPProfinetSubtype = 4 constant LLDPProfinetPNIOChassisMAC (line 718) | LLDPProfinetPNIOChassisMAC LLDPProfinetSubtype = 5 constant LLDPProfinetPNIOPTCPStatus (line 719) | LLDPProfinetPNIOPTCPStatus LLDPProfinetSubtype = 6 type LLDPPNIODelay (line 722) | type LLDPPNIODelay struct type LLDPPNIOPortStatus (line 730) | type LLDPPNIOPortStatus struct type LLDPPNIOMRPPortStatus (line 735) | type LLDPPNIOMRPPortStatus struct type LLDPPNIOPTCPStatus (line 740) | type LLDPPNIOPTCPStatus struct type LLDPInfoProfinet (line 755) | type LLDPInfoProfinet struct function decodeLinkLayerDiscovery (line 801) | func decodeLinkLayerDiscovery(data []byte, p gopacket.PacketBuilder) err... function getCapabilities (line 1218) | func getCapabilities(v uint16) (c LLDPCapabilities) { function getEVBCapabilities (line 1233) | func getEVBCapabilities(v uint16) (c LLDPEVBCapabilities) { function checkLLDPTLVLen (line 1591) | func checkLLDPTLVLen(v LinkLayerDiscoveryValue, l int) (err error) { function checkLLDPOrgSpecificLen (line 1598) | func checkLLDPOrgSpecificLen(o LLDPOrgSpecificTLV, l int) (err error) { FILE: layers/lldp_test.go function TestPacketLLDP (line 49) | func TestPacketLLDP(t *testing.T) { function BenchmarkDecodePacketLLDP (line 85) | func BenchmarkDecodePacketLLDP(b *testing.B) { FILE: layers/loopback.go type Loopback (line 20) | type Loopback struct method LayerType (line 26) | func (l *Loopback) LayerType() gopacket.LayerType { return LayerTypeLo... method DecodeFromBytes (line 29) | func (l *Loopback) DecodeFromBytes(data []byte, df gopacket.DecodeFeed... method CanDecode (line 53) | func (l *Loopback) CanDecode() gopacket.LayerClass { method NextLayerType (line 58) | func (l *Loopback) NextLayerType() gopacket.LayerType { method SerializeTo (line 64) | func (l *Loopback) SerializeTo(b gopacket.SerializeBuffer, opts gopack... function decodeLoopback (line 73) | func decodeLoopback(data []byte, p gopacket.PacketBuilder) error { FILE: layers/mldv1.go type MLDv1Message (line 21) | type MLDv1Message struct method DecodeFromBytes (line 32) | func (m *MLDv1Message) DecodeFromBytes(data []byte, df gopacket.Decode... method NextLayerType (line 46) | func (*MLDv1Message) NextLayerType() gopacket.LayerType { method SerializeTo (line 53) | func (m *MLDv1Message) SerializeTo(b gopacket.SerializeBuffer, opts go... method String (line 80) | func (m *MLDv1Message) String() string { type MLDv1MulticastListenerQueryMessage (line 90) | type MLDv1MulticastListenerQueryMessage struct method DecodeFromBytes (line 95) | func (m *MLDv1MulticastListenerQueryMessage) DecodeFromBytes(data []by... method LayerType (line 109) | func (*MLDv1MulticastListenerQueryMessage) LayerType() gopacket.LayerT... method CanDecode (line 114) | func (*MLDv1MulticastListenerQueryMessage) CanDecode() gopacket.LayerC... method IsGeneralQuery (line 122) | func (m *MLDv1MulticastListenerQueryMessage) IsGeneralQuery() bool { method IsSpecificQuery (line 130) | func (m *MLDv1MulticastListenerQueryMessage) IsSpecificQuery() bool { type MLDv1MulticastListenerReportMessage (line 138) | type MLDv1MulticastListenerReportMessage struct method LayerType (line 143) | func (*MLDv1MulticastListenerReportMessage) LayerType() gopacket.Layer... method CanDecode (line 148) | func (*MLDv1MulticastListenerReportMessage) CanDecode() gopacket.Layer... type MLDv1MulticastListenerDoneMessage (line 155) | type MLDv1MulticastListenerDoneMessage struct method LayerType (line 160) | func (*MLDv1MulticastListenerDoneMessage) LayerType() gopacket.LayerTy... method CanDecode (line 165) | func (*MLDv1MulticastListenerDoneMessage) CanDecode() gopacket.LayerCl... function decodeMLDv1MulticastListenerReport (line 169) | func decodeMLDv1MulticastListenerReport(data []byte, p gopacket.PacketBu... function decodeMLDv1MulticastListenerQuery (line 174) | func decodeMLDv1MulticastListenerQuery(data []byte, p gopacket.PacketBui... function decodeMLDv1MulticastListenerDone (line 179) | func decodeMLDv1MulticastListenerDone(data []byte, p gopacket.PacketBuil... FILE: layers/mldv1_test.go function TestPacketMulticastListenerQueryMessageV1 (line 48) | func TestPacketMulticastListenerQueryMessageV1(t *testing.T) { function TestPacketMulticastListenerReportMessageV1 (line 90) | func TestPacketMulticastListenerReportMessageV1(t *testing.T) { function TestPacketMulticastListenerDoneMessageV1 (line 132) | func TestPacketMulticastListenerDoneMessageV1(t *testing.T) { FILE: layers/mldv2.go constant mldv2STrue (line 22) | mldv2STrue uint8 = 0x8 constant mldv2SMask (line 28) | mldv2SMask uint8 = 0x8 constant mldv2QRVMask (line 31) | mldv2QRVMask uint8 = 0x7 type MLDv2MulticastListenerQueryMessage (line 40) | type MLDv2MulticastListenerQueryMessage struct method DecodeFromBytes (line 61) | func (m *MLDv2MulticastListenerQueryMessage) DecodeFromBytes(data []by... method NextLayerType (line 93) | func (*MLDv2MulticastListenerQueryMessage) NextLayerType() gopacket.La... method SerializeTo (line 100) | func (m *MLDv2MulticastListenerQueryMessage) SerializeTo(b gopacket.Se... method serializeSourceAddressesTo (line 135) | func (m *MLDv2MulticastListenerQueryMessage) serializeSourceAddressesT... method String (line 167) | func (m *MLDv2MulticastListenerQueryMessage) String() string { method LayerType (line 183) | func (*MLDv2MulticastListenerQueryMessage) LayerType() gopacket.LayerT... method CanDecode (line 188) | func (*MLDv2MulticastListenerQueryMessage) CanDecode() gopacket.LayerC... method QQI (line 194) | func (m *MLDv2MulticastListenerQueryMessage) QQI() time.Duration { method SetQQI (line 207) | func (m *MLDv2MulticastListenerQueryMessage) SetQQI(d time.Duration) e... method MaximumResponseDelay (line 248) | func (m *MLDv2MulticastListenerQueryMessage) MaximumResponseDelay() ti... method SetMLDv2MaximumResponseDelay (line 261) | func (m *MLDv2MulticastListenerQueryMessage) SetMLDv2MaximumResponseDe... type MLDv2MulticastListenerReportMessage (line 300) | type MLDv2MulticastListenerReportMessage struct method DecodeFromBytes (line 309) | func (m *MLDv2MulticastListenerReportMessage) DecodeFromBytes(data []b... method SerializeTo (line 338) | func (m *MLDv2MulticastListenerReportMessage) SerializeTo(b gopacket.S... method String (line 371) | func (m *MLDv2MulticastListenerReportMessage) String() string { method LayerType (line 380) | func (*MLDv2MulticastListenerReportMessage) LayerType() gopacket.Layer... method CanDecode (line 385) | func (*MLDv2MulticastListenerReportMessage) CanDecode() gopacket.Layer... method NextLayerType (line 390) | func (*MLDv2MulticastListenerReportMessage) NextLayerType() gopacket.L... type MLDv2MulticastAddressRecordType (line 398) | type MLDv2MulticastAddressRecordType method String (line 435) | func (m MLDv2MulticastAddressRecordType) String() string { constant MLDv2MulticastAddressRecordTypeModeIsIncluded (line 404) | MLDv2MulticastAddressRecordTypeModeIsIncluded MLDv2MulticastAddressRecor... constant MLDv2MulticastAddressRecordTypeModeIsExcluded (line 408) | MLDv2MulticastAddressRecordTypeModeIsExcluded MLDv2MulticastAddressRecor... constant MLDv2MulticastAddressRecordTypeChangeToIncludeMode (line 413) | MLDv2MulticastAddressRecordTypeChangeToIncludeMode MLDv2MulticastAddress... constant MLDv2MulticastAddressRecordTypeChangeToExcludeMode (line 418) | MLDv2MulticastAddressRecordTypeChangeToExcludeMode MLDv2MulticastAddress... constant MLDv2MulticastAddressRecordTypeAllowNewSources (line 424) | MLDv2MulticastAddressRecordTypeAllowNewSources MLDv2MulticastAddressReco... constant MLDv2MulticastAddressRecordTypeBlockOldSources (line 430) | MLDv2MulticastAddressRecordTypeBlockOldSources MLDv2MulticastAddressReco... type MLDv2MulticastAddressRecord (line 457) | type MLDv2MulticastAddressRecord struct method decode (line 473) | func (m *MLDv2MulticastAddressRecord) decode(data []byte, df gopacket.... method String (line 512) | func (m *MLDv2MulticastAddressRecord) String() string { method serializeTo (line 525) | func (m *MLDv2MulticastAddressRecord) serializeTo(b gopacket.Serialize... method serializeAuxiliaryDataTo (line 553) | func (m *MLDv2MulticastAddressRecord) serializeAuxiliaryDataTo(b gopac... method serializeSourceAddressesTo (line 579) | func (m *MLDv2MulticastAddressRecord) serializeSourceAddressesTo(b gop... function decodeMLDv2MulticastListenerReport (line 611) | func decodeMLDv2MulticastListenerReport(data []byte, p gopacket.PacketBu... function decodeMLDv2MulticastListenerQuery (line 616) | func decodeMLDv2MulticastListenerQuery(data []byte, p gopacket.PacketBui... FILE: layers/mldv2_test.go function TestPacketMulticastListenerQueryMessageV2 (line 53) | func TestPacketMulticastListenerQueryMessageV2(t *testing.T) { function TestPacketMulticastListenerReportMessageV2 (line 124) | func TestPacketMulticastListenerReportMessageV2(t *testing.T) { FILE: layers/modbustcp.go constant mbapRecordSizeInBytes (line 26) | mbapRecordSizeInBytes int = 7 constant modbusPDUMinimumRecordSizeInBytes (line 27) | modbusPDUMinimumRecordSizeInBytes int = 2 constant modbusPDUMaximumRecordSizeInBytes (line 28) | modbusPDUMaximumRecordSizeInBytes int = 253 type ModbusProtocol (line 31) | type ModbusProtocol method String (line 38) | func (mp ModbusProtocol) String() string { constant ModbusProtocolModbus (line 35) | ModbusProtocolModbus ModbusProtocol = 0 type ModbusTCP (line 55) | type ModbusTCP struct method LayerType (line 67) | func (d *ModbusTCP) LayerType() gopacket.LayerType { method DecodeFromBytes (line 105) | func (d *ModbusTCP) DecodeFromBytes(data []byte, df gopacket.DecodeFee... method NextLayerType (line 142) | func (d *ModbusTCP) NextLayerType() gopacket.LayerType { method Payload (line 149) | func (d *ModbusTCP) Payload() []byte { method CanDecode (line 154) | func (s *ModbusTCP) CanDecode() gopacket.LayerClass { function decodeModbusTCP (line 80) | func decodeModbusTCP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/mpls.go type MPLS (line 16) | type MPLS struct method LayerType (line 25) | func (m *MPLS) LayerType() gopacket.LayerType { return LayerTypeMPLS } method SerializeTo (line 74) | func (m *MPLS) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.S... type ProtocolGuessingDecoder (line 33) | type ProtocolGuessingDecoder struct method Decode (line 35) | func (ProtocolGuessingDecoder) Decode(data []byte, p gopacket.PacketBu... function decodeMPLS (line 55) | func decodeMPLS(data []byte, p gopacket.PacketBuilder) error { FILE: layers/mpls_test.go function TestPacketMPLS (line 42) | func TestPacketMPLS(t *testing.T) { function BenchmarkDecodePacketMPLS (line 92) | func BenchmarkDecodePacketMPLS(b *testing.B) { FILE: layers/ndp.go type NDPChassisType (line 18) | type NDPChassisType method String (line 241) | func (t NDPChassisType) String() (s string) { constant NDPChassisother (line 22) | NDPChassisother NDPChassisType = 1 constant NDPChassis3000 (line 23) | NDPChassis3000 NDPChassisType = 2 constant NDPChassis3030 (line 24) | NDPChassis3030 NDPChassisType = 3 constant NDPChassis2310 (line 25) | NDPChassis2310 NDPChassisType = 4 constant NDPChassis2810 (line 26) | NDPChassis2810 NDPChassisType = 5 constant NDPChassis2912 (line 27) | NDPChassis2912 NDPChassisType = 6 constant NDPChassis2914 (line 28) | NDPChassis2914 NDPChassisType = 7 constant NDPChassis271x (line 29) | NDPChassis271x NDPChassisType = 8 constant NDPChassis2813 (line 30) | NDPChassis2813 NDPChassisType = 9 constant NDPChassis2814 (line 31) | NDPChassis2814 NDPChassisType = 10 constant NDPChassis2915 (line 32) | NDPChassis2915 NDPChassisType = 11 constant NDPChassis5000 (line 33) | NDPChassis5000 NDPChassisType = 12 constant NDPChassis2813SA (line 34) | NDPChassis2813SA NDPChassisType = 13 constant NDPChassis2814SA (line 35) | NDPChassis2814SA NDPChassisType = 14 constant NDPChassis810M (line 36) | NDPChassis810M NDPChassisType = 15 constant NDPChassisEthercell (line 37) | NDPChassisEthercell NDPChassisType = 16 constant NDPChassis5005 (line 38) | NDPChassis5005 NDPChassisType = 17 constant NDPChassisAlcatelEWC (line 39) | NDPChassisAlcatelEWC NDPChassisType = 18 constant NDPChassis2715SA (line 40) | NDPChassis2715SA NDPChassisType = 20 constant NDPChassis2486 (line 41) | NDPChassis2486 NDPChassisType = 21 constant NDPChassis28000series (line 42) | NDPChassis28000series NDPChassisType = 22 constant NDPChassis23000series (line 43) | NDPChassis23000series NDPChassisType = 23 constant NDPChassis5DN00xseries (line 44) | NDPChassis5DN00xseries NDPChassisType = 24 constant NDPChassisBayStackEthernet (line 45) | NDPChassisBayStackEthernet NDPChassisType = 25 constant NDPChassis23100series (line 46) | NDPChassis23100series NDPChassisType = 26 constant NDPChassis100BaseTHub (line 47) | NDPChassis100BaseTHub NDPChassisType = 27 constant NDPChassis3000FastEthernet (line 48) | NDPChassis3000FastEthernet NDPChassisType = 28 constant NDPChassisOrionSwitch (line 49) | NDPChassisOrionSwitch NDPChassisType = 29 constant NDPChassisDDS (line 50) | NDPChassisDDS NDPChassisType = 31 constant NDPChassisCentillion6slot (line 51) | NDPChassisCentillion6slot NDPChassisType = 32 constant NDPChassisCentillion12slot (line 52) | NDPChassisCentillion12slot NDPChassisType = 33 constant NDPChassisCentillion1slot (line 53) | NDPChassisCentillion1slot NDPChassisType = 34 constant NDPChassisBayStack301 (line 54) | NDPChassisBayStack301 NDPChassisType = 35 constant NDPChassisBayStackTokenRingHub (line 55) | NDPChassisBayStackTokenRingHub NDPChassisType = 36 constant NDPChassisFVCMultimediaSwitch (line 56) | NDPChassisFVCMultimediaSwitch NDPChassisType = 37 constant NDPChassisSwitchNode (line 57) | NDPChassisSwitchNode NDPChassisType = 38 constant NDPChassisBayStack302Switch (line 58) | NDPChassisBayStack302Switch NDPChassisType = 39 constant NDPChassisBayStack350Switch (line 59) | NDPChassisBayStack350Switch NDPChassisType = 40 constant NDPChassisBayStack150EthernetHub (line 60) | NDPChassisBayStack150EthernetHub NDPChassisType = 41 constant NDPChassisCentillion50NSwitch (line 61) | NDPChassisCentillion50NSwitch NDPChassisType = 42 constant NDPChassisCentillion50TSwitch (line 62) | NDPChassisCentillion50TSwitch NDPChassisType = 43 constant NDPChassisBayStack303304Switches (line 63) | NDPChassisBayStack303304Switches NDPChassisType = 44 constant NDPChassisBayStack200EthernetHub (line 64) | NDPChassisBayStack200EthernetHub NDPChassisType = 45 constant NDPChassisBayStack25010100EthernetHub (line 65) | NDPChassisBayStack25010100EthernetHub NDPChassisType = 46 constant NDPChassisBayStack450101001000Switches (line 66) | NDPChassisBayStack450101001000Switches NDPChassisType = 48 constant NDPChassisBayStack41010100Switches (line 67) | NDPChassisBayStack41010100Switches NDPChassisType = 49 constant NDPChassisPassport1200L3Switch (line 68) | NDPChassisPassport1200L3Switch NDPChassisType = 50 constant NDPChassisPassport1250L3Switch (line 69) | NDPChassisPassport1250L3Switch NDPChassisType = 51 constant NDPChassisPassport1100L3Switch (line 70) | NDPChassisPassport1100L3Switch NDPChassisType = 52 constant NDPChassisPassport1150L3Switch (line 71) | NDPChassisPassport1150L3Switch NDPChassisType = 53 constant NDPChassisPassport1050L3Switch (line 72) | NDPChassisPassport1050L3Switch NDPChassisType = 54 constant NDPChassisPassport1051L3Switch (line 73) | NDPChassisPassport1051L3Switch NDPChassisType = 55 constant NDPChassisPassport8610L3Switch (line 74) | NDPChassisPassport8610L3Switch NDPChassisType = 56 constant NDPChassisPassport8606L3Switch (line 75) | NDPChassisPassport8606L3Switch NDPChassisType = 57 constant NDPChassisPassport8010 (line 76) | NDPChassisPassport8010 NDPChassisType = 58 constant NDPChassisPassport8006 (line 77) | NDPChassisPassport8006 NDPChassisType = 59 constant NDPChassisBayStack670wirelessaccesspoint (line 78) | NDPChassisBayStack670wirelessaccesspoint NDPChassisType = 60 constant NDPChassisPassport740 (line 79) | NDPChassisPassport740 NDPChassisType = 61 constant NDPChassisPassport750 (line 80) | NDPChassisPassport750 NDPChassisType = 62 constant NDPChassisPassport790 (line 81) | NDPChassisPassport790 NDPChassisType = 63 constant NDPChassisBusinessPolicySwitch200010100Switches (line 82) | NDPChassisBusinessPolicySwitch200010100Switches NDPChassisType = 64 constant NDPChassisPassport8110L2Switch (line 83) | NDPChassisPassport8110L2Switch NDPChassisType = 65 constant NDPChassisPassport8106L2Switch (line 84) | NDPChassisPassport8106L2Switch NDPChassisType = 66 constant NDPChassisBayStack3580GigSwitch (line 85) | NDPChassisBayStack3580GigSwitch NDPChassisType = 67 constant NDPChassisBayStack10PowerSupplyUnit (line 86) | NDPChassisBayStack10PowerSupplyUnit NDPChassisType = 68 constant NDPChassisBayStack42010100Switch (line 87) | NDPChassisBayStack42010100Switch NDPChassisType = 69 constant NDPChassisOPTeraMetro1200EthernetServiceModule (line 88) | NDPChassisOPTeraMetro1200EthernetServiceModule NDPChassisType = 70 constant NDPChassisOPTera8010co (line 89) | NDPChassisOPTera8010co NDPChassisType = 71 constant NDPChassisOPTera8610coL3Switch (line 90) | NDPChassisOPTera8610coL3Switch NDPChassisType = 72 constant NDPChassisOPTera8110coL2Switch (line 91) | NDPChassisOPTera8110coL2Switch NDPChassisType = 73 constant NDPChassisOPTera8003 (line 92) | NDPChassisOPTera8003 NDPChassisType = 74 constant NDPChassisOPTera8603L3Switch (line 93) | NDPChassisOPTera8603L3Switch NDPChassisType = 75 constant NDPChassisOPTera8103L2Switch (line 94) | NDPChassisOPTera8103L2Switch NDPChassisType = 76 constant NDPChassisBayStack380101001000Switch (line 95) | NDPChassisBayStack380101001000Switch NDPChassisType = 77 constant NDPChassisEthernetSwitch47048T (line 96) | NDPChassisEthernetSwitch47048T NDPChassisType = 78 constant NDPChassisOPTeraMetro1450EthernetServiceModule (line 97) | NDPChassisOPTeraMetro1450EthernetServiceModule NDPChassisType = 79 constant NDPChassisOPTeraMetro1400EthernetServiceModule (line 98) | NDPChassisOPTeraMetro1400EthernetServiceModule NDPChassisType = 80 constant NDPChassisAlteonSwitchFamily (line 99) | NDPChassisAlteonSwitchFamily NDPChassisType = 81 constant NDPChassisEthernetSwitch46024TPWR (line 100) | NDPChassisEthernetSwitch46024TPWR NDPChassisType = 82 constant NDPChassisOPTeraMetro8010OPML2Switch (line 101) | NDPChassisOPTeraMetro8010OPML2Switch NDPChassisType = 83 constant NDPChassisOPTeraMetro8010coOPML2Switch (line 102) | NDPChassisOPTeraMetro8010coOPML2Switch NDPChassisType = 84 constant NDPChassisOPTeraMetro8006OPML2Switch (line 103) | NDPChassisOPTeraMetro8006OPML2Switch NDPChassisType = 85 constant NDPChassisOPTeraMetro8003OPML2Switch (line 104) | NDPChassisOPTeraMetro8003OPML2Switch NDPChassisType = 86 constant NDPChassisAlteon180e (line 105) | NDPChassisAlteon180e NDPChassisType = 87 constant NDPChassisAlteonAD3 (line 106) | NDPChassisAlteonAD3 NDPChassisType = 88 constant NDPChassisAlteon184 (line 107) | NDPChassisAlteon184 NDPChassisType = 89 constant NDPChassisAlteonAD4 (line 108) | NDPChassisAlteonAD4 NDPChassisType = 90 constant NDPChassisPassport1424L3Switch (line 109) | NDPChassisPassport1424L3Switch NDPChassisType = 91 constant NDPChassisPassport1648L3Switch (line 110) | NDPChassisPassport1648L3Switch NDPChassisType = 92 constant NDPChassisPassport1612L3Switch (line 111) | NDPChassisPassport1612L3Switch NDPChassisType = 93 constant NDPChassisPassport1624L3Switch (line 112) | NDPChassisPassport1624L3Switch NDPChassisType = 94 constant NDPChassisBayStack38024FFiber1000Switch (line 113) | NDPChassisBayStack38024FFiber1000Switch NDPChassisType = 95 constant NDPChassisEthernetRoutingSwitch551024T (line 114) | NDPChassisEthernetRoutingSwitch551024T NDPChassisType = 96 constant NDPChassisEthernetRoutingSwitch551048T (line 115) | NDPChassisEthernetRoutingSwitch551048T NDPChassisType = 97 constant NDPChassisEthernetSwitch47024T (line 116) | NDPChassisEthernetSwitch47024T NDPChassisType = 98 constant NDPChassisNortelNetworksWirelessLANAccessPoint2220 (line 117) | NDPChassisNortelNetworksWirelessLANAccessPoint2220 NDPChassisType = 99 constant NDPChassisPassportRBS2402L3Switch (line 118) | NDPChassisPassportRBS2402L3Switch NDPChassisType = 100 constant NDPChassisAlteonApplicationSwitch2424 (line 119) | NDPChassisAlteonApplicationSwitch2424 NDPChassisType = 101 constant NDPChassisAlteonApplicationSwitch2224 (line 120) | NDPChassisAlteonApplicationSwitch2224 NDPChassisType = 102 constant NDPChassisAlteonApplicationSwitch2208 (line 121) | NDPChassisAlteonApplicationSwitch2208 NDPChassisType = 103 constant NDPChassisAlteonApplicationSwitch2216 (line 122) | NDPChassisAlteonApplicationSwitch2216 NDPChassisType = 104 constant NDPChassisAlteonApplicationSwitch3408 (line 123) | NDPChassisAlteonApplicationSwitch3408 NDPChassisType = 105 constant NDPChassisAlteonApplicationSwitch3416 (line 124) | NDPChassisAlteonApplicationSwitch3416 NDPChassisType = 106 constant NDPChassisNortelNetworksWirelessLANSecuritySwitch2250 (line 125) | NDPChassisNortelNetworksWirelessLANSecuritySwitch2250 NDPChassisType = 107 constant NDPChassisEthernetSwitch42548T (line 126) | NDPChassisEthernetSwitch42548T NDPChassisType = 108 constant NDPChassisEthernetSwitch42524T (line 127) | NDPChassisEthernetSwitch42524T NDPChassisType = 109 constant NDPChassisNortelNetworksWirelessLANAccessPoint2221 (line 128) | NDPChassisNortelNetworksWirelessLANAccessPoint2221 NDPChassisType = 110 constant NDPChassisNortelMetroEthernetServiceUnit24TSPFswitch (line 129) | NDPChassisNortelMetroEthernetServiceUnit24TSPFswitch NDPChassisType = 111 constant NDPChassisNortelMetroEthernetServiceUnit24TLXDCswitch (line 130) | NDPChassisNortelMetroEthernetServiceUnit24TLXDCswitch NDPChassisType = 112 constant NDPChassisPassport830010slotchassis (line 131) | NDPChassisPassport830010slotchassis NDPChassisType = 113 constant NDPChassisPassport83006slotchassis (line 132) | NDPChassisPassport83006slotchassis NDPChassisType = 114 constant NDPChassisEthernetRoutingSwitch552024TPWR (line 133) | NDPChassisEthernetRoutingSwitch552024TPWR NDPChassisType = 115 constant NDPChassisEthernetRoutingSwitch552048TPWR (line 134) | NDPChassisEthernetRoutingSwitch552048TPWR NDPChassisType = 116 constant NDPChassisNortelNetworksVPNGateway3050 (line 135) | NDPChassisNortelNetworksVPNGateway3050 NDPChassisType = 117 constant NDPChassisAlteonSSL31010100 (line 136) | NDPChassisAlteonSSL31010100 NDPChassisType = 118 constant NDPChassisAlteonSSL31010100Fiber (line 137) | NDPChassisAlteonSSL31010100Fiber NDPChassisType = 119 constant NDPChassisAlteonSSL31010100FIPS (line 138) | NDPChassisAlteonSSL31010100FIPS NDPChassisType = 120 constant NDPChassisAlteonSSL410101001000 (line 139) | NDPChassisAlteonSSL410101001000 NDPChassisType = 121 constant NDPChassisAlteonSSL410101001000Fiber (line 140) | NDPChassisAlteonSSL410101001000Fiber NDPChassisType = 122 constant NDPChassisAlteonApplicationSwitch2424SSL (line 141) | NDPChassisAlteonApplicationSwitch2424SSL NDPChassisType = 123 constant NDPChassisEthernetSwitch32524T (line 142) | NDPChassisEthernetSwitch32524T NDPChassisType = 124 constant NDPChassisEthernetSwitch32524G (line 143) | NDPChassisEthernetSwitch32524G NDPChassisType = 125 constant NDPChassisNortelNetworksWirelessLANAccessPoint2225 (line 144) | NDPChassisNortelNetworksWirelessLANAccessPoint2225 NDPChassisType = 126 constant NDPChassisNortelNetworksWirelessLANSecuritySwitch2270 (line 145) | NDPChassisNortelNetworksWirelessLANSecuritySwitch2270 NDPChassisType = 127 constant NDPChassis24portEthernetSwitch47024TPWR (line 146) | NDPChassis24portEthernetSwitch47024TPWR NDPChassisType = 128 constant NDPChassis48portEthernetSwitch47048TPWR (line 147) | NDPChassis48portEthernetSwitch47048TPWR NDPChassisType = 129 constant NDPChassisEthernetRoutingSwitch553024TFD (line 148) | NDPChassisEthernetRoutingSwitch553024TFD NDPChassisType = 130 constant NDPChassisEthernetSwitch351024T (line 149) | NDPChassisEthernetSwitch351024T NDPChassisType = 131 constant NDPChassisNortelMetroEthernetServiceUnit12GACL3Switch (line 150) | NDPChassisNortelMetroEthernetServiceUnit12GACL3Switch NDPChassisType = 132 constant NDPChassisNortelMetroEthernetServiceUnit12GDCL3Switch (line 151) | NDPChassisNortelMetroEthernetServiceUnit12GDCL3Switch NDPChassisType = 133 constant NDPChassisNortelSecureAccessSwitch (line 152) | NDPChassisNortelSecureAccessSwitch NDPChassisType = 134 constant NDPChassisNortelNetworksVPNGateway3070 (line 153) | NDPChassisNortelNetworksVPNGateway3070 NDPChassisType = 135 constant NDPChassisOPTeraMetro3500 (line 154) | NDPChassisOPTeraMetro3500 NDPChassisType = 136 constant NDPChassisSMBBES101024T (line 155) | NDPChassisSMBBES101024T NDPChassisType = 137 constant NDPChassisSMBBES101048T (line 156) | NDPChassisSMBBES101048T NDPChassisType = 138 constant NDPChassisSMBBES102024TPWR (line 157) | NDPChassisSMBBES102024TPWR NDPChassisType = 139 constant NDPChassisSMBBES102048TPWR (line 158) | NDPChassisSMBBES102048TPWR NDPChassisType = 140 constant NDPChassisSMBBES201024T (line 159) | NDPChassisSMBBES201024T NDPChassisType = 141 constant NDPChassisSMBBES201048T (line 160) | NDPChassisSMBBES201048T NDPChassisType = 142 constant NDPChassisSMBBES202024TPWR (line 161) | NDPChassisSMBBES202024TPWR NDPChassisType = 143 constant NDPChassisSMBBES202048TPWR (line 162) | NDPChassisSMBBES202048TPWR NDPChassisType = 144 constant NDPChassisSMBBES11024T (line 163) | NDPChassisSMBBES11024T NDPChassisType = 145 constant NDPChassisSMBBES11048T (line 164) | NDPChassisSMBBES11048T NDPChassisType = 146 constant NDPChassisSMBBES12024TPWR (line 165) | NDPChassisSMBBES12024TPWR NDPChassisType = 147 constant NDPChassisSMBBES12048TPWR (line 166) | NDPChassisSMBBES12048TPWR NDPChassisType = 148 constant NDPChassisSMBBES21024T (line 167) | NDPChassisSMBBES21024T NDPChassisType = 149 constant NDPChassisSMBBES21048T (line 168) | NDPChassisSMBBES21048T NDPChassisType = 150 constant NDPChassisSMBBES22024TPWR (line 169) | NDPChassisSMBBES22024TPWR NDPChassisType = 151 constant NDPChassisSMBBES22048TPWR (line 170) | NDPChassisSMBBES22048TPWR NDPChassisType = 152 constant NDPChassisOME6500 (line 171) | NDPChassisOME6500 NDPChassisType = 153 constant NDPChassisEthernetRoutingSwitch4548GT (line 172) | NDPChassisEthernetRoutingSwitch4548GT NDPChassisType = 154 constant NDPChassisEthernetRoutingSwitch4548GTPWR (line 173) | NDPChassisEthernetRoutingSwitch4548GTPWR NDPChassisType = 155 constant NDPChassisEthernetRoutingSwitch4550T (line 174) | NDPChassisEthernetRoutingSwitch4550T NDPChassisType = 156 constant NDPChassisEthernetRoutingSwitch4550TPWR (line 175) | NDPChassisEthernetRoutingSwitch4550TPWR NDPChassisType = 157 constant NDPChassisEthernetRoutingSwitch4526FX (line 176) | NDPChassisEthernetRoutingSwitch4526FX NDPChassisType = 158 constant NDPChassisEthernetRoutingSwitch250026T (line 177) | NDPChassisEthernetRoutingSwitch250026T NDPChassisType = 159 constant NDPChassisEthernetRoutingSwitch250026TPWR (line 178) | NDPChassisEthernetRoutingSwitch250026TPWR NDPChassisType = 160 constant NDPChassisEthernetRoutingSwitch250050T (line 179) | NDPChassisEthernetRoutingSwitch250050T NDPChassisType = 161 constant NDPChassisEthernetRoutingSwitch250050TPWR (line 180) | NDPChassisEthernetRoutingSwitch250050TPWR NDPChassisType = 162 type NDPBackplaneType (line 183) | type NDPBackplaneType method String (line 567) | func (t NDPBackplaneType) String() (s string) { constant NDPBackplaneOther (line 187) | NDPBackplaneOther NDPBackplaneType... constant NDPBackplaneEthernet (line 188) | NDPBackplaneEthernet NDPBackplaneType... constant NDPBackplaneEthernetTokenring (line 189) | NDPBackplaneEthernetTokenring NDPBackplaneType... constant NDPBackplaneEthernetFDDI (line 190) | NDPBackplaneEthernetFDDI NDPBackplaneType... constant NDPBackplaneEthernetTokenringFDDI (line 191) | NDPBackplaneEthernetTokenringFDDI NDPBackplaneType... constant NDPBackplaneEthernetTokenringRedundantPower (line 192) | NDPBackplaneEthernetTokenringRedundantPower NDPBackplaneType... constant NDPBackplaneEthernetTokenringFDDIRedundantPower (line 193) | NDPBackplaneEthernetTokenringFDDIRedundantPower NDPBackplaneType... constant NDPBackplaneTokenRing (line 194) | NDPBackplaneTokenRing NDPBackplaneType... constant NDPBackplaneEthernetTokenringFastEthernet (line 195) | NDPBackplaneEthernetTokenringFastEthernet NDPBackplaneType... constant NDPBackplaneEthernetFastEthernet (line 196) | NDPBackplaneEthernetFastEthernet NDPBackplaneType... constant NDPBackplaneEthernetTokenringFastEthernetRedundantPower (line 197) | NDPBackplaneEthernetTokenringFastEthernetRedundantPower NDPBackplaneType... constant NDPBackplaneEthernetFastEthernetGigabitEthernet (line 198) | NDPBackplaneEthernetFastEthernetGigabitEthernet NDPBackplaneType... type NDPState (line 201) | type NDPState method String (line 599) | func (t NDPState) String() (s string) { constant NDPStateTopology (line 205) | NDPStateTopology NDPState = 1 constant NDPStateHeartbeat (line 206) | NDPStateHeartbeat NDPState = 2 constant NDPStateNew (line 207) | NDPStateNew NDPState = 3 type NortelDiscovery (line 211) | type NortelDiscovery struct method LayerType (line 222) | func (c *NortelDiscovery) LayerType() gopacket.LayerType { function decodeNortelDiscovery (line 226) | func decodeNortelDiscovery(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ntp.go constant ntpMinimumRecordSizeInBytes (line 213) | ntpMinimumRecordSizeInBytes int = 48 type NTPLeapIndicator (line 224) | type NTPLeapIndicator type NTPVersion (line 225) | type NTPVersion type NTPMode (line 226) | type NTPMode type NTPStratum (line 227) | type NTPStratum type NTPLog2Seconds (line 228) | type NTPLog2Seconds type NTPFixed16Seconds (line 229) | type NTPFixed16Seconds type NTPReferenceID (line 230) | type NTPReferenceID type NTPTimestamp (line 231) | type NTPTimestamp type NTP (line 233) | type NTP struct method LayerType (line 257) | func (d *NTP) LayerType() gopacket.LayerType { method DecodeFromBytes (line 295) | func (d *NTP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method SerializeTo (line 353) | func (d *NTP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... method CanDecode (line 392) | func (d *NTP) CanDecode() gopacket.LayerClass { method NextLayerType (line 401) | func (d *NTP) NextLayerType() gopacket.LayerType { method Payload (line 410) | func (d *NTP) Payload() []byte { function decodeNTP (line 270) | func decodeNTP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ntp_test.go function checkNTP (line 25) | func checkNTP(desc string, t *testing.T, packetBytes []byte, pExpectedNT... function TestNTPOne (line 69) | func TestNTPOne(t *testing.T) { function TestNTPTwo (line 121) | func TestNTPTwo(t *testing.T) { function TestNTPThree (line 180) | func TestNTPThree(t *testing.T) { function TestNTPIsomorphism (line 238) | func TestNTPIsomorphism(t *testing.T) { FILE: layers/ospf.go type OSPFType (line 18) | type OSPFType method String (line 48) | func (i OSPFType) String() string { constant OSPFHello (line 22) | OSPFHello OSPFType = 1 constant OSPFDatabaseDescription (line 23) | OSPFDatabaseDescription OSPFType = 2 constant OSPFLinkStateRequest (line 24) | OSPFLinkStateRequest OSPFType = 3 constant OSPFLinkStateUpdate (line 25) | OSPFLinkStateUpdate OSPFType = 4 constant OSPFLinkStateAcknowledgment (line 26) | OSPFLinkStateAcknowledgment OSPFType = 5 constant RouterLSAtypeV2 (line 31) | RouterLSAtypeV2 = 0x1 constant RouterLSAtype (line 32) | RouterLSAtype = 0x2001 constant NetworkLSAtypeV2 (line 33) | NetworkLSAtypeV2 = 0x2 constant NetworkLSAtype (line 34) | NetworkLSAtype = 0x2002 constant SummaryLSANetworktypeV2 (line 35) | SummaryLSANetworktypeV2 = 0x3 constant InterAreaPrefixLSAtype (line 36) | InterAreaPrefixLSAtype = 0x2003 constant SummaryLSAASBRtypeV2 (line 37) | SummaryLSAASBRtypeV2 = 0x4 constant InterAreaRouterLSAtype (line 38) | InterAreaRouterLSAtype = 0x2004 constant ASExternalLSAtypeV2 (line 39) | ASExternalLSAtypeV2 = 0x5 constant ASExternalLSAtype (line 40) | ASExternalLSAtype = 0x4005 constant NSSALSAtype (line 41) | NSSALSAtype = 0x2007 constant NSSALSAtypeV2 (line 42) | NSSALSAtypeV2 = 0x7 constant LinkLSAtype (line 43) | LinkLSAtype = 0x0008 constant IntraAreaPrefixLSAtype (line 44) | IntraAreaPrefixLSAtype = 0x2009 type Prefix (line 66) | type Prefix struct type IntraAreaPrefixLSA (line 74) | type IntraAreaPrefixLSA struct type LinkLSA (line 83) | type LinkLSA struct type ASExternalLSAV2 (line 92) | type ASExternalLSAV2 struct type ASExternalLSA (line 101) | type ASExternalLSA struct type InterAreaRouterLSA (line 114) | type InterAreaRouterLSA struct type InterAreaPrefixLSA (line 121) | type InterAreaPrefixLSA struct type NetworkLSA (line 129) | type NetworkLSA struct type NetworkLSAV2 (line 135) | type NetworkLSAV2 struct type RouterV2 (line 141) | type RouterV2 struct type RouterLSAV2 (line 149) | type RouterLSAV2 struct type Router (line 156) | type Router struct type RouterLSA (line 165) | type RouterLSA struct type LSAheader (line 172) | type LSAheader struct type LSA (line 184) | type LSA struct type LSUpdate (line 190) | type LSUpdate struct type LSReq (line 196) | type LSReq struct type DbDescPkg (line 203) | type DbDescPkg struct type HelloPkg (line 212) | type HelloPkg struct type HelloPkgV2 (line 224) | type HelloPkgV2 struct type OSPF (line 230) | type OSPF struct type OSPFv2 (line 241) | type OSPFv2 struct method DecodeFromBytes (line 484) | func (ospf *OSPFv2) DecodeFromBytes(data []byte, df gopacket.DecodeFee... method LayerType (line 676) | func (ospf *OSPFv2) LayerType() gopacket.LayerType { method NextLayerType (line 684) | func (ospf *OSPFv2) NextLayerType() gopacket.LayerType { method CanDecode (line 692) | func (ospf *OSPFv2) CanDecode() gopacket.LayerClass { type OSPFv3 (line 249) | type OSPFv3 struct method DecodeFromBytes (line 580) | func (ospf *OSPFv3) DecodeFromBytes(data []byte, df gopacket.DecodeFee... method LayerType (line 679) | func (ospf *OSPFv3) LayerType() gopacket.LayerType { method NextLayerType (line 687) | func (ospf *OSPFv3) NextLayerType() gopacket.LayerType { method CanDecode (line 695) | func (ospf *OSPFv3) CanDecode() gopacket.LayerClass { function getLSAsv2 (line 257) | func getLSAsv2(num uint32, data []byte) ([]LSA, error) { function extractLSAInformation (line 288) | func extractLSAInformation(lstype, lsalength uint16, data []byte) (inter... function getLSAs (line 452) | func getLSAs(num uint32, data []byte) ([]LSA, error) { function decodeOSPF (line 699) | func decodeOSPF(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ospf_test.go function TestPacketOSPF2Hello (line 31) | func TestPacketOSPF2Hello(t *testing.T) { function BenchmarkDecodePacketPacket5 (line 71) | func BenchmarkDecodePacketPacket5(b *testing.B) { function TestPacketOSPF3Hello (line 94) | func TestPacketOSPF3Hello(t *testing.T) { function BenchmarkDecodePacketPacket0 (line 134) | func BenchmarkDecodePacketPacket0(b *testing.B) { function TestPacketOSPF2DBDesc (line 155) | func TestPacketOSPF2DBDesc(t *testing.T) { function BenchmarkDecodePacketPacket6 (line 185) | func BenchmarkDecodePacketPacket6(b *testing.B) { function TestPacketOSPF3DBDesc (line 208) | func TestPacketOSPF3DBDesc(t *testing.T) { function BenchmarkDecodePacketPacket1 (line 240) | func BenchmarkDecodePacketPacket1(b *testing.B) { function TestPacketOSPF2LSRequest (line 261) | func TestPacketOSPF2LSRequest(t *testing.T) { function BenchmarkDecodePacketPacket7 (line 292) | func BenchmarkDecodePacketPacket7(b *testing.B) { function TestPacketOSPF3LSRequest (line 323) | func TestPacketOSPF3LSRequest(t *testing.T) { function BenchmarkDecodePacketPacket2 (line 386) | func BenchmarkDecodePacketPacket2(b *testing.B) { function TestPacketOSPF2LSUpdate (line 439) | func TestPacketOSPF2LSUpdate(t *testing.T) { function BenchmarkDecodePacketPacket8 (line 612) | func BenchmarkDecodePacketPacket8(b *testing.B) { function TestPacketOSPF2LSUpdateLSA2 (line 641) | func TestPacketOSPF2LSUpdateLSA2(t *testing.T) { function TestPacketOSPF2LSUpdateLSA7 (line 739) | func TestPacketOSPF2LSUpdateLSA7(t *testing.T) { function TestPacketOSPF3LSUpdate (line 856) | func TestPacketOSPF3LSUpdate(t *testing.T) { function BenchmarkDecodePacketPacket3 (line 1018) | func BenchmarkDecodePacketPacket3(b *testing.B) { function TestPacketOSPF2LSAck (line 1039) | func TestPacketOSPF2LSAck(t *testing.T) { function BenchmarkDecodePacketPacket9 (line 1075) | func BenchmarkDecodePacketPacket9(b *testing.B) { function TestPacketOSPF3LSAck (line 1110) | func TestPacketOSPF3LSAck(t *testing.T) { function TestPacketOSPFInvalidLSA (line 1205) | func TestPacketOSPFInvalidLSA(t *testing.T) { function BenchmarkDecodePacketPacket4 (line 1213) | func BenchmarkDecodePacketPacket4(b *testing.B) { FILE: layers/pflog.go type PFDirection (line 17) | type PFDirection constant PFDirectionInOut (line 20) | PFDirectionInOut PFDirection = 0 constant PFDirectionIn (line 21) | PFDirectionIn PFDirection = 1 constant PFDirectionOut (line 22) | PFDirectionOut PFDirection = 2 type PFLog (line 27) | type PFLog struct method DecodeFromBytes (line 42) | func (pf *PFLog) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method LayerType (line 73) | func (pf *PFLog) LayerType() gopacket.LayerType { return LayerTypePFLog } method CanDecode (line 75) | func (pf *PFLog) CanDecode() gopacket.LayerClass { return LayerTypePFL... method NextLayerType (line 77) | func (pf *PFLog) NextLayerType() gopacket.LayerType { function decodePFLog (line 81) | func decodePFLog(data []byte, p gopacket.PacketBuilder) error { FILE: layers/ports.go type TCPPort (line 17) | type TCPPort method String (line 42) | func (a TCPPort) String() string { method LayerType (line 54) | func (a TCPPort) LayerType() gopacket.LayerType { type UDPPort (line 20) | type UDPPort method String (line 85) | func (a UDPPort) String() string { method LayerType (line 97) | func (a UDPPort) LayerType() gopacket.LayerType { type RUDPPort (line 23) | type RUDPPort method String (line 133) | func (a RUDPPort) String() string { type SCTPPort (line 26) | type SCTPPort method String (line 143) | func (a SCTPPort) String() string { type UDPLitePort (line 29) | type UDPLitePort method String (line 153) | func (a UDPLitePort) String() string { function RegisterTCPPortLayerType (line 78) | func RegisterTCPPortLayerType(port TCPPort, layerType gopacket.LayerType) { function RegisterUDPPortLayerType (line 126) | func RegisterUDPPortLayerType(port UDPPort, layerType gopacket.LayerType) { FILE: layers/ppp.go type PPP (line 16) | type PPP struct method LayerType (line 33) | func (p *PPP) LayerType() gopacket.LayerType { return LayerTypePPP } method LinkFlow (line 36) | func (p *PPP) LinkFlow() gopacket.Flow { return PPPFlow } method SerializeTo (line 65) | func (p *PPP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... function decodePPP (line 38) | func decodePPP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/pppoe.go type PPPoE (line 15) | type PPPoE struct method LayerType (line 25) | func (p *PPPoE) LayerType() gopacket.LayerType { method SerializeTo (line 46) | func (p *PPPoE) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.... function decodePPPoE (line 30) | func decodePPPoE(data []byte, p gopacket.PacketBuilder) error { FILE: layers/prism.go function decodePrismValue (line 18) | func decodePrismValue(data []byte, pv *PrismValue) { type PrismDID (line 25) | type PrismDID method String (line 55) | func (p PrismDID) String() string { constant PrismDIDType1HostTime (line 28) | PrismDIDType1HostTime PrismDID = 0x10044 constant PrismDIDType2HostTime (line 29) | PrismDIDType2HostTime PrismDID = 0x01041 constant PrismDIDType1MACTime (line 30) | PrismDIDType1MACTime PrismDID = 0x20044 constant PrismDIDType2MACTime (line 31) | PrismDIDType2MACTime PrismDID = 0x02041 constant PrismDIDType1Channel (line 32) | PrismDIDType1Channel PrismDID = 0x30044 constant PrismDIDType2Channel (line 33) | PrismDIDType2Channel PrismDID = 0x03041 constant PrismDIDType1RSSI (line 34) | PrismDIDType1RSSI PrismDID = 0x40044 constant PrismDIDType2RSSI (line 35) | PrismDIDType2RSSI PrismDID = 0x04041 constant PrismDIDType1SignalQuality (line 36) | PrismDIDType1SignalQuality PrismDID = 0x50044 constant PrismDIDType2SignalQuality (line 37) | PrismDIDType2SignalQuality PrismDID = 0x05041 constant PrismDIDType1Signal (line 38) | PrismDIDType1Signal PrismDID = 0x60044 constant PrismDIDType2Signal (line 39) | PrismDIDType2Signal PrismDID = 0x06041 constant PrismDIDType1Noise (line 40) | PrismDIDType1Noise PrismDID = 0x70044 constant PrismDIDType2Noise (line 41) | PrismDIDType2Noise PrismDID = 0x07041 constant PrismDIDType1Rate (line 42) | PrismDIDType1Rate PrismDID = 0x80044 constant PrismDIDType2Rate (line 43) | PrismDIDType2Rate PrismDID = 0x08041 constant PrismDIDType1TransmittedFrameIndicator (line 44) | PrismDIDType1TransmittedFrameIndicator PrismDID = 0x90044 constant PrismDIDType2TransmittedFrameIndicator (line 45) | PrismDIDType2TransmittedFrameIndicator PrismDID = 0x09041 constant PrismDIDType1FrameLength (line 46) | PrismDIDType1FrameLength PrismDID = 0xA0044 constant PrismDIDType2FrameLength (line 47) | PrismDIDType2FrameLength PrismDID = 0x0A041 constant PrismType1MessageCode (line 51) | PrismType1MessageCode uint16 = 0x00000044 constant PrismType2MessageCode (line 52) | PrismType2MessageCode uint16 = 0x00000041 type PrismValue (line 86) | type PrismValue struct method IsSupplied (line 93) | func (pv *PrismValue) IsSupplied() bool { function decodePrismHeader (line 100) | func decodePrismHeader(data []byte, p gopacket.PacketBuilder) error { type PrismHeader (line 105) | type PrismHeader struct method LayerType (line 113) | func (m *PrismHeader) LayerType() gopacket.LayerType { return LayerTyp... method DecodeFromBytes (line 115) | func (m *PrismHeader) DecodeFromBytes(data []byte, df gopacket.DecodeF... method CanDecode (line 145) | func (m *PrismHeader) CanDecode() gopacket.LayerClass { return Laye... method NextLayerType (line 146) | func (m *PrismHeader) NextLayerType() gopacket.LayerType { return Laye... FILE: layers/prism_test.go function TestPacketPrism (line 60) | func TestPacketPrism(t *testing.T) { function BenchmarkDecodePacketPrism (line 116) | func BenchmarkDecodePacketPrism(b *testing.B) { FILE: layers/radiotap.go function align (line 23) | func align(offset uint16, width uint16) uint16 { type RadioTapPresent (line 27) | type RadioTapPresent method TSFT (line 55) | func (r RadioTapPresent) TSFT() bool { method Flags (line 58) | func (r RadioTapPresent) Flags() bool { method Rate (line 61) | func (r RadioTapPresent) Rate() bool { method Channel (line 64) | func (r RadioTapPresent) Channel() bool { method FHSS (line 67) | func (r RadioTapPresent) FHSS() bool { method DBMAntennaSignal (line 70) | func (r RadioTapPresent) DBMAntennaSignal() bool { method DBMAntennaNoise (line 73) | func (r RadioTapPresent) DBMAntennaNoise() bool { method LockQuality (line 76) | func (r RadioTapPresent) LockQuality() bool { method TxAttenuation (line 79) | func (r RadioTapPresent) TxAttenuation() bool { method DBTxAttenuation (line 82) | func (r RadioTapPresent) DBTxAttenuation() bool { method DBMTxPower (line 85) | func (r RadioTapPresent) DBMTxPower() bool { method Antenna (line 88) | func (r RadioTapPresent) Antenna() bool { method DBAntennaSignal (line 91) | func (r RadioTapPresent) DBAntennaSignal() bool { method DBAntennaNoise (line 94) | func (r RadioTapPresent) DBAntennaNoise() bool { method RxFlags (line 97) | func (r RadioTapPresent) RxFlags() bool { method TxFlags (line 100) | func (r RadioTapPresent) TxFlags() bool { method RtsRetries (line 103) | func (r RadioTapPresent) RtsRetries() bool { method DataRetries (line 106) | func (r RadioTapPresent) DataRetries() bool { method MCS (line 109) | func (r RadioTapPresent) MCS() bool { method AMPDUStatus (line 112) | func (r RadioTapPresent) AMPDUStatus() bool { method VHT (line 115) | func (r RadioTapPresent) VHT() bool { method EXT (line 118) | func (r RadioTapPresent) EXT() bool { constant RadioTapPresentTSFT (line 30) | RadioTapPresentTSFT RadioTapPresent = 1 << iota constant RadioTapPresentFlags (line 31) | RadioTapPresentFlags constant RadioTapPresentRate (line 32) | RadioTapPresentRate constant RadioTapPresentChannel (line 33) | RadioTapPresentChannel constant RadioTapPresentFHSS (line 34) | RadioTapPresentFHSS constant RadioTapPresentDBMAntennaSignal (line 35) | RadioTapPresentDBMAntennaSignal constant RadioTapPresentDBMAntennaNoise (line 36) | RadioTapPresentDBMAntennaNoise constant RadioTapPresentLockQuality (line 37) | RadioTapPresentLockQuality constant RadioTapPresentTxAttenuation (line 38) | RadioTapPresentTxAttenuation constant RadioTapPresentDBTxAttenuation (line 39) | RadioTapPresentDBTxAttenuation constant RadioTapPresentDBMTxPower (line 40) | RadioTapPresentDBMTxPower constant RadioTapPresentAntenna (line 41) | RadioTapPresentAntenna constant RadioTapPresentDBAntennaSignal (line 42) | RadioTapPresentDBAntennaSignal constant RadioTapPresentDBAntennaNoise (line 43) | RadioTapPresentDBAntennaNoise constant RadioTapPresentRxFlags (line 44) | RadioTapPresentRxFlags constant RadioTapPresentTxFlags (line 45) | RadioTapPresentTxFlags constant RadioTapPresentRtsRetries (line 46) | RadioTapPresentRtsRetries constant RadioTapPresentDataRetries (line 47) | RadioTapPresentDataRetries constant _ (line 48) | _ constant RadioTapPresentMCS (line 49) | RadioTapPresentMCS constant RadioTapPresentAMPDUStatus (line 50) | RadioTapPresentAMPDUStatus constant RadioTapPresentVHT (line 51) | RadioTapPresentVHT constant RadioTapPresentEXT (line 52) | RadioTapPresentEXT RadioTapPresent = 1 << 31 type RadioTapChannelFlags (line 122) | type RadioTapChannelFlags method Turbo (line 135) | func (r RadioTapChannelFlags) Turbo() bool { method CCK (line 138) | func (r RadioTapChannelFlags) CCK() bool { method OFDM (line 141) | func (r RadioTapChannelFlags) OFDM() bool { method Ghz2 (line 144) | func (r RadioTapChannelFlags) Ghz2() bool { method Ghz5 (line 147) | func (r RadioTapChannelFlags) Ghz5() bool { method Passive (line 150) | func (r RadioTapChannelFlags) Passive() bool { method Dynamic (line 153) | func (r RadioTapChannelFlags) Dynamic() bool { method GFSK (line 156) | func (r RadioTapChannelFlags) GFSK() bool { method String (line 163) | func (a RadioTapChannelFlags) String() string { constant RadioTapChannelFlagsTurbo (line 125) | RadioTapChannelFlagsTurbo RadioTapChannelFlags = 0x0010 constant RadioTapChannelFlagsCCK (line 126) | RadioTapChannelFlagsCCK RadioTapChannelFlags = 0x0020 constant RadioTapChannelFlagsOFDM (line 127) | RadioTapChannelFlagsOFDM RadioTapChannelFlags = 0x0040 constant RadioTapChannelFlagsGhz2 (line 128) | RadioTapChannelFlagsGhz2 RadioTapChannelFlags = 0x0080 constant RadioTapChannelFlagsGhz5 (line 129) | RadioTapChannelFlagsGhz5 RadioTapChannelFlags = 0x0100 constant RadioTapChannelFlagsPassive (line 130) | RadioTapChannelFlagsPassive RadioTapChannelFlags = 0x0200 constant RadioTapChannelFlagsDynamic (line 131) | RadioTapChannelFlagsDynamic RadioTapChannelFlags = 0x0400 constant RadioTapChannelFlagsGFSK (line 132) | RadioTapChannelFlagsGFSK RadioTapChannelFlags = 0x0800 type RadioTapFlags (line 196) | type RadioTapFlags method CFP (line 209) | func (r RadioTapFlags) CFP() bool { method ShortPreamble (line 212) | func (r RadioTapFlags) ShortPreamble() bool { method WEP (line 215) | func (r RadioTapFlags) WEP() bool { method Frag (line 218) | func (r RadioTapFlags) Frag() bool { method FCS (line 221) | func (r RadioTapFlags) FCS() bool { method Datapad (line 224) | func (r RadioTapFlags) Datapad() bool { method BadFCS (line 227) | func (r RadioTapFlags) BadFCS() bool { method ShortGI (line 230) | func (r RadioTapFlags) ShortGI() bool { method String (line 237) | func (a RadioTapFlags) String() string { constant RadioTapFlagsCFP (line 199) | RadioTapFlagsCFP RadioTapFlags = 1 << iota constant RadioTapFlagsShortPreamble (line 200) | RadioTapFlagsShortPreamble constant RadioTapFlagsWEP (line 201) | RadioTapFlagsWEP constant RadioTapFlagsFrag (line 202) | RadioTapFlagsFrag constant RadioTapFlagsFCS (line 203) | RadioTapFlagsFCS constant RadioTapFlagsDatapad (line 204) | RadioTapFlagsDatapad constant RadioTapFlagsBadFCS (line 205) | RadioTapFlagsBadFCS constant RadioTapFlagsShortGI (line 206) | RadioTapFlagsShortGI type RadioTapRate (line 267) | type RadioTapRate method String (line 269) | func (a RadioTapRate) String() string { type RadioTapChannelFrequency (line 273) | type RadioTapChannelFrequency method String (line 275) | func (a RadioTapChannelFrequency) String() string { type RadioTapRxFlags (line 279) | type RadioTapRxFlags method BadPlcp (line 285) | func (self RadioTapRxFlags) BadPlcp() bool { method String (line 289) | func (self RadioTapRxFlags) String() string { constant RadioTapRxFlagsBadPlcp (line 282) | RadioTapRxFlagsBadPlcp RadioTapRxFlags = 0x0002 type RadioTapTxFlags (line 296) | type RadioTapTxFlags method Fail (line 305) | func (self RadioTapTxFlags) Fail() bool { return self&RadioTapTxFlags... method CTS (line 306) | func (self RadioTapTxFlags) CTS() bool { return self&RadioTapTxFlags... method RTS (line 307) | func (self RadioTapTxFlags) RTS() bool { return self&RadioTapTxFlags... method NoACK (line 308) | func (self RadioTapTxFlags) NoACK() bool { return self&RadioTapTxFlags... method String (line 310) | func (self RadioTapTxFlags) String() string { constant RadioTapTxFlagsFail (line 299) | RadioTapTxFlagsFail RadioTapTxFlags = 1 << iota constant RadioTapTxFlagsCTS (line 300) | RadioTapTxFlagsCTS constant RadioTapTxFlagsRTS (line 301) | RadioTapTxFlagsRTS constant RadioTapTxFlagsNoACK (line 302) | RadioTapTxFlagsNoACK type RadioTapMCS (line 327) | type RadioTapMCS struct method String (line 333) | func (self RadioTapMCS) String() string { type RadioTapMCSKnown (line 389) | type RadioTapMCSKnown method Bandwidth (line 402) | func (self RadioTapMCSKnown) Bandwidth() bool { return self&RadioT... method MCSIndex (line 403) | func (self RadioTapMCSKnown) MCSIndex() bool { return self&RadioT... method GuardInterval (line 404) | func (self RadioTapMCSKnown) GuardInterval() bool { return self&RadioT... method HTFormat (line 405) | func (self RadioTapMCSKnown) HTFormat() bool { return self&RadioT... method FECType (line 406) | func (self RadioTapMCSKnown) FECType() bool { return self&RadioT... method STBC (line 407) | func (self RadioTapMCSKnown) STBC() bool { return self&RadioT... method NESS (line 408) | func (self RadioTapMCSKnown) NESS() bool { return self&RadioT... method NESS1 (line 409) | func (self RadioTapMCSKnown) NESS1() bool { return self&RadioT... constant RadioTapMCSKnownBandwidth (line 392) | RadioTapMCSKnownBandwidth RadioTapMCSKnown = 1 << iota constant RadioTapMCSKnownMCSIndex (line 393) | RadioTapMCSKnownMCSIndex constant RadioTapMCSKnownGuardInterval (line 394) | RadioTapMCSKnownGuardInterval constant RadioTapMCSKnownHTFormat (line 395) | RadioTapMCSKnownHTFormat constant RadioTapMCSKnownFECType (line 396) | RadioTapMCSKnownFECType constant RadioTapMCSKnownSTBC (line 397) | RadioTapMCSKnownSTBC constant RadioTapMCSKnownNESS (line 398) | RadioTapMCSKnownNESS constant RadioTapMCSKnownNESS1 (line 399) | RadioTapMCSKnownNESS1 type RadioTapMCSFlags (line 411) | type RadioTapMCSFlags method Bandwidth (line 422) | func (self RadioTapMCSFlags) Bandwidth() int { method ShortGI (line 425) | func (self RadioTapMCSFlags) ShortGI() bool { return self&RadioTapM... method Greenfield (line 426) | func (self RadioTapMCSFlags) Greenfield() bool { return self&RadioTapM... method FECLDPC (line 427) | func (self RadioTapMCSFlags) FECLDPC() bool { return self&RadioTapM... method STBC (line 428) | func (self RadioTapMCSFlags) STBC() int { method NESS0 (line 431) | func (self RadioTapMCSFlags) NESS0() bool { return self&RadioTapMCSFla... constant RadioTapMCSFlagsBandwidthMask (line 414) | RadioTapMCSFlagsBandwidthMask RadioTapMCSFlags = 0x03 constant RadioTapMCSFlagsShortGI (line 415) | RadioTapMCSFlagsShortGI = 0x04 constant RadioTapMCSFlagsGreenfield (line 416) | RadioTapMCSFlagsGreenfield = 0x08 constant RadioTapMCSFlagsFECLDPC (line 417) | RadioTapMCSFlagsFECLDPC = 0x10 constant RadioTapMCSFlagsSTBCMask (line 418) | RadioTapMCSFlagsSTBCMask = 0x60 constant RadioTapMCSFlagsNESS0 (line 419) | RadioTapMCSFlagsNESS0 = 0x80 type RadioTapAMPDUStatus (line 433) | type RadioTapAMPDUStatus struct method String (line 439) | func (self RadioTapAMPDUStatus) String() string { type RadioTapAMPDUStatusFlags (line 458) | type RadioTapAMPDUStatusFlags method ReportZerolen (line 469) | func (self RadioTapAMPDUStatusFlags) ReportZerolen() bool { method IsZerolen (line 472) | func (self RadioTapAMPDUStatusFlags) IsZerolen() bool { return self&... method LastKnown (line 473) | func (self RadioTapAMPDUStatusFlags) LastKnown() bool { return self&... method IsLast (line 474) | func (self RadioTapAMPDUStatusFlags) IsLast() bool { return self&... method DelimCRCErr (line 475) | func (self RadioTapAMPDUStatusFlags) DelimCRCErr() bool { return self&... method DelimCRCKnown (line 476) | func (self RadioTapAMPDUStatusFlags) DelimCRCKnown() bool { constant RadioTapAMPDUStatusFlagsReportZerolen (line 461) | RadioTapAMPDUStatusFlagsReportZerolen RadioTapAMPDUStatusFlags = 1 << iota constant RadioTapAMPDUIsZerolen (line 462) | RadioTapAMPDUIsZerolen constant RadioTapAMPDULastKnown (line 463) | RadioTapAMPDULastKnown constant RadioTapAMPDUIsLast (line 464) | RadioTapAMPDUIsLast constant RadioTapAMPDUDelimCRCErr (line 465) | RadioTapAMPDUDelimCRCErr constant RadioTapAMPDUDelimCRCKnown (line 466) | RadioTapAMPDUDelimCRCKnown type RadioTapVHT (line 480) | type RadioTapVHT struct method String (line 490) | func (self RadioTapVHT) String() string { type RadioTapVHTKnown (line 615) | type RadioTapVHTKnown method STBC (line 629) | func (self RadioTapVHTKnown) STBC() bool { return self&RadioTapVHTKnow... method TXOPPSNotAllowed (line 630) | func (self RadioTapVHTKnown) TXOPPSNotAllowed() bool { method GI (line 633) | func (self RadioTapVHTKnown) GI() bool { return self&RadioTapVHTKnownG... method SGINSYMDisambiguation (line 634) | func (self RadioTapVHTKnown) SGINSYMDisambiguation() bool { method LDPCExtraOFDMSymbol (line 637) | func (self RadioTapVHTKnown) LDPCExtraOFDMSymbol() bool { method Beamformed (line 640) | func (self RadioTapVHTKnown) Beamformed() bool { return self&RadioTapV... method Bandwidth (line 641) | func (self RadioTapVHTKnown) Bandwidth() bool { return self&RadioTapV... method GroupId (line 642) | func (self RadioTapVHTKnown) GroupId() bool { return self&RadioTapV... method PartialAID (line 643) | func (self RadioTapVHTKnown) PartialAID() bool { return self&RadioTapV... constant RadioTapVHTKnownSTBC (line 618) | RadioTapVHTKnownSTBC RadioTapVHTKnown = 1 << iota constant RadioTapVHTKnownTXOPPSNotAllowed (line 619) | RadioTapVHTKnownTXOPPSNotAllowed constant RadioTapVHTKnownGI (line 620) | RadioTapVHTKnownGI constant RadioTapVHTKnownSGINSYMDisambiguation (line 621) | RadioTapVHTKnownSGINSYMDisambiguation constant RadioTapVHTKnownLDPCExtraOFDMSymbol (line 622) | RadioTapVHTKnownLDPCExtraOFDMSymbol constant RadioTapVHTKnownBeamformed (line 623) | RadioTapVHTKnownBeamformed constant RadioTapVHTKnownBandwidth (line 624) | RadioTapVHTKnownBandwidth constant RadioTapVHTKnownGroupId (line 625) | RadioTapVHTKnownGroupId constant RadioTapVHTKnownPartialAID (line 626) | RadioTapVHTKnownPartialAID type RadioTapVHTFlags (line 645) | type RadioTapVHTFlags method STBC (line 656) | func (self RadioTapVHTFlags) STBC() bool { return self&RadioTapVHTFlag... method TXOPPSNotAllowed (line 657) | func (self RadioTapVHTFlags) TXOPPSNotAllowed() bool { method SGI (line 660) | func (self RadioTapVHTFlags) SGI() bool { return self&RadioTapV... method SGINSYMMod (line 661) | func (self RadioTapVHTFlags) SGINSYMMod() bool { return self&RadioTapV... method LDPCExtraOFDMSymbol (line 662) | func (self RadioTapVHTFlags) LDPCExtraOFDMSymbol() bool { method Beamformed (line 665) | func (self RadioTapVHTFlags) Beamformed() bool { return self&RadioTapV... constant RadioTapVHTFlagsSTBC (line 648) | RadioTapVHTFlagsSTBC RadioTapVHTFlags = 1 << iota constant RadioTapVHTFlagsTXOPPSNotAllowed (line 649) | RadioTapVHTFlagsTXOPPSNotAllowed constant RadioTapVHTFlagsSGI (line 650) | RadioTapVHTFlagsSGI constant RadioTapVHTFlagsSGINSYMMod (line 651) | RadioTapVHTFlagsSGINSYMMod constant RadioTapVHTFlagsLDPCExtraOFDMSymbol (line 652) | RadioTapVHTFlagsLDPCExtraOFDMSymbol constant RadioTapVHTFlagsBeamformed (line 653) | RadioTapVHTFlagsBeamformed type RadioTapVHTMCSNSS (line 667) | type RadioTapVHTMCSNSS method Present (line 669) | func (self RadioTapVHTMCSNSS) Present() bool { method String (line 673) | func (self RadioTapVHTMCSNSS) String() string { function decodeRadioTap (line 677) | func decodeRadioTap(data []byte, p gopacket.PacketBuilder) error { type RadioTap (line 683) | type RadioTap struct method LayerType (line 730) | func (m *RadioTap) LayerType() gopacket.LayerType { return LayerTypeRa... method DecodeFromBytes (line 732) | func (m *RadioTap) DecodeFromBytes(data []byte, df gopacket.DecodeFeed... method SerializeTo (line 905) | func (m RadioTap) SerializeTo(b gopacket.SerializeBuffer, opts gopacke... method CanDecode (line 1075) | func (m *RadioTap) CanDecode() gopacket.LayerClass { return LayerTy... method NextLayerType (line 1076) | func (m *RadioTap) NextLayerType() gopacket.LayerType { return LayerTy... FILE: layers/radiotap_test.go function TestPacketRadiotap0 (line 22) | func TestPacketRadiotap0(t *testing.T) { function BenchmarkDecodePacketRadiotap0 (line 36) | func BenchmarkDecodePacketRadiotap0(b *testing.B) { function TestPacketRadiotap1 (line 55) | func TestPacketRadiotap1(t *testing.T) { function BenchmarkDecodePacketRadiotap1 (line 75) | func BenchmarkDecodePacketRadiotap1(b *testing.B) { FILE: layers/radius.go constant radiusMinimumRecordSizeInBytes (line 18) | radiusMinimumRecordSizeInBytes int = 20 constant radiusMaximumRecordSizeInBytes (line 19) | radiusMaximumRecordSizeInBytes int = 4096 constant radiusAttributesMinimumRecordSizeInBytes (line 24) | radiusAttributesMinimumRecordSizeInBytes int = 2 type RADIUS (line 28) | type RADIUS struct method Len (line 369) | func (radius *RADIUS) Len() (int, error) { method LayerType (line 382) | func (radius *RADIUS) LayerType() gopacket.LayerType { method DecodeFromBytes (line 387) | func (radius *RADIUS) DecodeFromBytes(data []byte, df gopacket.DecodeF... method SerializeTo (line 480) | func (radius *RADIUS) SerializeTo(b gopacket.SerializeBuffer, opts gop... method CanDecode (line 520) | func (radius *RADIUS) CanDecode() gopacket.LayerClass { method NextLayerType (line 525) | func (radius *RADIUS) NextLayerType() gopacket.LayerType { method Payload (line 534) | func (radius *RADIUS) Payload() []byte { type RADIUSCode (line 39) | type RADIUSCode method String (line 55) | func (t RADIUSCode) String() (s string) { constant RADIUSCodeAccessRequest (line 43) | RADIUSCodeAccessRequest RADIUSCode = 1 constant RADIUSCodeAccessAccept (line 44) | RADIUSCodeAccessAccept RADIUSCode = 2 constant RADIUSCodeAccessReject (line 45) | RADIUSCodeAccessReject RADIUSCode = 3 constant RADIUSCodeAccountingRequest (line 46) | RADIUSCodeAccountingRequest RADIUSCode = 4 constant RADIUSCodeAccountingResponse (line 47) | RADIUSCodeAccountingResponse RADIUSCode = 5 constant RADIUSCodeAccessChallenge (line 48) | RADIUSCodeAccessChallenge RADIUSCode = 11 constant RADIUSCodeStatusServer (line 49) | RADIUSCodeStatusServer RADIUSCode = 12 constant RADIUSCodeStatusClient (line 50) | RADIUSCodeStatusClient RADIUSCode = 13 constant RADIUSCodeReserved (line 51) | RADIUSCodeReserved RADIUSCode = 255 type RADIUSIdentifier (line 82) | type RADIUSIdentifier type RADIUSLength (line 85) | type RADIUSLength type RADIUSAuthenticator (line 88) | type RADIUSAuthenticator type RADIUSAttribute (line 91) | type RADIUSAttribute struct type RADIUSAttributeType (line 98) | type RADIUSAttributeType method String (line 194) | func (t RADIUSAttributeType) String() (s string) { constant RADIUSAttributeTypeUserName (line 102) | RADIUSAttributeTypeUserName RADIUSAttributeType = 1 constant RADIUSAttributeTypeUserPassword (line 103) | RADIUSAttributeTypeUserPassword RADIUSAttributeType = 2 constant RADIUSAttributeTypeCHAPPassword (line 104) | RADIUSAttributeTypeCHAPPassword RADIUSAttributeType = 3 constant RADIUSAttributeTypeNASIPAddress (line 105) | RADIUSAttributeTypeNASIPAddress RADIUSAttributeType = 4 constant RADIUSAttributeTypeNASPort (line 106) | RADIUSAttributeTypeNASPort RADIUSAttributeType = 5 constant RADIUSAttributeTypeServiceType (line 107) | RADIUSAttributeTypeServiceType RADIUSAttributeType = 6 constant RADIUSAttributeTypeFramedProtocol (line 108) | RADIUSAttributeTypeFramedProtocol RADIUSAttributeType = 7 constant RADIUSAttributeTypeFramedIPAddress (line 109) | RADIUSAttributeTypeFramedIPAddress RADIUSAttributeType = 8 constant RADIUSAttributeTypeFramedIPNetmask (line 110) | RADIUSAttributeTypeFramedIPNetmask RADIUSAttributeType = 9 constant RADIUSAttributeTypeFramedRouting (line 111) | RADIUSAttributeTypeFramedRouting RADIUSAttributeType = 10 constant RADIUSAttributeTypeFilterId (line 112) | RADIUSAttributeTypeFilterId RADIUSAttributeType = 11 constant RADIUSAttributeTypeFramedMTU (line 113) | RADIUSAttributeTypeFramedMTU RADIUSAttributeType = 12 constant RADIUSAttributeTypeFramedCompression (line 114) | RADIUSAttributeTypeFramedCompression RADIUSAttributeType = 13 constant RADIUSAttributeTypeLoginIPHost (line 115) | RADIUSAttributeTypeLoginIPHost RADIUSAttributeType = 14 constant RADIUSAttributeTypeLoginService (line 116) | RADIUSAttributeTypeLoginService RADIUSAttributeType = 15 constant RADIUSAttributeTypeLoginTCPPort (line 117) | RADIUSAttributeTypeLoginTCPPort RADIUSAttributeType = 16 constant RADIUSAttributeTypeReplyMessage (line 118) | RADIUSAttributeTypeReplyMessage RADIUSAttributeType = 18 constant RADIUSAttributeTypeCallbackNumber (line 119) | RADIUSAttributeTypeCallbackNumber RADIUSAttributeType = 19 constant RADIUSAttributeTypeCallbackId (line 120) | RADIUSAttributeTypeCallbackId RADIUSAttributeType = 20 constant RADIUSAttributeTypeFramedRoute (line 121) | RADIUSAttributeTypeFramedRoute RADIUSAttributeType = 22 constant RADIUSAttributeTypeFramedIPXNetwork (line 122) | RADIUSAttributeTypeFramedIPXNetwork RADIUSAttributeType = 23 constant RADIUSAttributeTypeState (line 123) | RADIUSAttributeTypeState RADIUSAttributeType = 24 constant RADIUSAttributeTypeClass (line 124) | RADIUSAttributeTypeClass RADIUSAttributeType = 25 constant RADIUSAttributeTypeVendorSpecific (line 125) | RADIUSAttributeTypeVendorSpecific RADIUSAttributeType = 26 constant RADIUSAttributeTypeSessionTimeout (line 126) | RADIUSAttributeTypeSessionTimeout RADIUSAttributeType = 27 constant RADIUSAttributeTypeIdleTimeout (line 127) | RADIUSAttributeTypeIdleTimeout RADIUSAttributeType = 28 constant RADIUSAttributeTypeTerminationAction (line 128) | RADIUSAttributeTypeTerminationAction RADIUSAttributeType = 29 constant RADIUSAttributeTypeCalledStationId (line 129) | RADIUSAttributeTypeCalledStationId RADIUSAttributeType = 30 constant RADIUSAttributeTypeCallingStationId (line 130) | RADIUSAttributeTypeCallingStationId RADIUSAttributeType = 31 constant RADIUSAttributeTypeNASIdentifier (line 131) | RADIUSAttributeTypeNASIdentifier RADIUSAttributeType = 32 constant RADIUSAttributeTypeProxyState (line 132) | RADIUSAttributeTypeProxyState RADIUSAttributeType = 33 constant RADIUSAttributeTypeLoginLATService (line 133) | RADIUSAttributeTypeLoginLATService RADIUSAttributeType = 34 constant RADIUSAttributeTypeLoginLATNode (line 134) | RADIUSAttributeTypeLoginLATNode RADIUSAttributeType = 35 constant RADIUSAttributeTypeLoginLATGroup (line 135) | RADIUSAttributeTypeLoginLATGroup RADIUSAttributeType = 36 constant RADIUSAttributeTypeFramedAppleTalkLink (line 136) | RADIUSAttributeTypeFramedAppleTalkLink RADIUSAttributeType = 37 constant RADIUSAttributeTypeFramedAppleTalkNetwork (line 137) | RADIUSAttributeTypeFramedAppleTalkNetwork RADIUSAttributeType = 38 constant RADIUSAttributeTypeFramedAppleTalkZone (line 138) | RADIUSAttributeTypeFramedAppleTalkZone RADIUSAttributeType = 39 constant RADIUSAttributeTypeAcctStatusType (line 139) | RADIUSAttributeTypeAcctStatusType RADIUSAttributeType = 40 constant RADIUSAttributeTypeAcctDelayTime (line 140) | RADIUSAttributeTypeAcctDelayTime RADIUSAttributeType = 41 constant RADIUSAttributeTypeAcctInputOctets (line 141) | RADIUSAttributeTypeAcctInputOctets RADIUSAttributeType = 42 constant RADIUSAttributeTypeAcctOutputOctets (line 142) | RADIUSAttributeTypeAcctOutputOctets RADIUSAttributeType = 43 constant RADIUSAttributeTypeAcctSessionId (line 143) | RADIUSAttributeTypeAcctSessionId RADIUSAttributeType = 44 constant RADIUSAttributeTypeAcctAuthentic (line 144) | RADIUSAttributeTypeAcctAuthentic RADIUSAttributeType = 45 constant RADIUSAttributeTypeAcctSessionTime (line 145) | RADIUSAttributeTypeAcctSessionTime RADIUSAttributeType = 46 constant RADIUSAttributeTypeAcctInputPackets (line 146) | RADIUSAttributeTypeAcctInputPackets RADIUSAttributeType = 47 constant RADIUSAttributeTypeAcctOutputPackets (line 147) | RADIUSAttributeTypeAcctOutputPackets RADIUSAttributeType = 48 constant RADIUSAttributeTypeAcctTerminateCause (line 148) | RADIUSAttributeTypeAcctTerminateCause RADIUSAttributeType = 49 constant RADIUSAttributeTypeAcctMultiSessionId (line 149) | RADIUSAttributeTypeAcctMultiSessionId RADIUSAttributeType = 50 constant RADIUSAttributeTypeAcctLinkCount (line 150) | RADIUSAttributeTypeAcctLinkCount RADIUSAttributeType = 51 constant RADIUSAttributeTypeAcctInputGigawords (line 151) | RADIUSAttributeTypeAcctInputGigawords RADIUSAttributeType = 52 constant RADIUSAttributeTypeAcctOutputGigawords (line 152) | RADIUSAttributeTypeAcctOutputGigawords RADIUSAttributeType = 53 constant RADIUSAttributeTypeEventTimestamp (line 153) | RADIUSAttributeTypeEventTimestamp RADIUSAttributeType = 55 constant RADIUSAttributeTypeCHAPChallenge (line 154) | RADIUSAttributeTypeCHAPChallenge RADIUSAttributeType = 60 constant RADIUSAttributeTypeNASPortType (line 155) | RADIUSAttributeTypeNASPortType RADIUSAttributeType = 61 constant RADIUSAttributeTypePortLimit (line 156) | RADIUSAttributeTypePortLimit RADIUSAttributeType = 62 constant RADIUSAttributeTypeLoginLATPort (line 157) | RADIUSAttributeTypeLoginLATPort RADIUSAttributeType = 63 constant RADIUSAttributeTypeTunnelType (line 158) | RADIUSAttributeTypeTunnelType RADIUSAttributeType = 64 constant RADIUSAttributeTypeTunnelMediumType (line 159) | RADIUSAttributeTypeTunnelMediumType RADIUSAttributeType = 65 constant RADIUSAttributeTypeTunnelClientEndpoint (line 160) | RADIUSAttributeTypeTunnelClientEndpoint RADIUSAttributeType = 66 constant RADIUSAttributeTypeTunnelServerEndpoint (line 161) | RADIUSAttributeTypeTunnelServerEndpoint RADIUSAttributeType = 67 constant RADIUSAttributeTypeAcctTunnelConnection (line 162) | RADIUSAttributeTypeAcctTunnelConnection RADIUSAttributeType = 68 constant RADIUSAttributeTypeTunnelPassword (line 163) | RADIUSAttributeTypeTunnelPassword RADIUSAttributeType = 69 constant RADIUSAttributeTypeARAPPassword (line 164) | RADIUSAttributeTypeARAPPassword RADIUSAttributeType = 70 constant RADIUSAttributeTypeARAPFeatures (line 165) | RADIUSAttributeTypeARAPFeatures RADIUSAttributeType = 71 constant RADIUSAttributeTypeARAPZoneAccess (line 166) | RADIUSAttributeTypeARAPZoneAccess RADIUSAttributeType = 72 constant RADIUSAttributeTypeARAPSecurity (line 167) | RADIUSAttributeTypeARAPSecurity RADIUSAttributeType = 73 constant RADIUSAttributeTypeARAPSecurityData (line 168) | RADIUSAttributeTypeARAPSecurityData RADIUSAttributeType = 74 constant RADIUSAttributeTypePasswordRetry (line 169) | RADIUSAttributeTypePasswordRetry RADIUSAttributeType = 75 constant RADIUSAttributeTypePrompt (line 170) | RADIUSAttributeTypePrompt RADIUSAttributeType = 76 constant RADIUSAttributeTypeConnectInfo (line 171) | RADIUSAttributeTypeConnectInfo RADIUSAttributeType = 77 constant RADIUSAttributeTypeConfigurationToken (line 172) | RADIUSAttributeTypeConfigurationToken RADIUSAttributeType = 78 constant RADIUSAttributeTypeEAPMessage (line 173) | RADIUSAttributeTypeEAPMessage RADIUSAttributeType = 79 constant RADIUSAttributeTypeMessageAuthenticator (line 174) | RADIUSAttributeTypeMessageAuthenticator RADIUSAttributeType = 80 constant RADIUSAttributeTypeTunnelPrivateGroupID (line 175) | RADIUSAttributeTypeTunnelPrivateGroupID RADIUSAttributeType = 81 constant RADIUSAttributeTypeTunnelAssignmentID (line 176) | RADIUSAttributeTypeTunnelAssignmentID RADIUSAttributeType = 82 constant RADIUSAttributeTypeTunnelPreference (line 177) | RADIUSAttributeTypeTunnelPreference RADIUSAttributeType = 83 constant RADIUSAttributeTypeARAPChallengeResponse (line 178) | RADIUSAttributeTypeARAPChallengeResponse RADIUSAttributeType = 84 constant RADIUSAttributeTypeAcctInterimInterval (line 179) | RADIUSAttributeTypeAcctInterimInterval RADIUSAttributeType = 85 constant RADIUSAttributeTypeAcctTunnelPacketsLost (line 180) | RADIUSAttributeTypeAcctTunnelPacketsLost RADIUSAttributeType = 86 constant RADIUSAttributeTypeNASPortId (line 181) | RADIUSAttributeTypeNASPortId RADIUSAttributeType = 87 constant RADIUSAttributeTypeFramedPool (line 182) | RADIUSAttributeTypeFramedPool RADIUSAttributeType = 88 constant RADIUSAttributeTypeTunnelClientAuthID (line 183) | RADIUSAttributeTypeTunnelClientAuthID RADIUSAttributeType = 90 constant RADIUSAttributeTypeTunnelServerAuthID (line 184) | RADIUSAttributeTypeTunnelServerAuthID RADIUSAttributeType = 91 type RADIUSAttributeLength (line 188) | type RADIUSAttributeLength type RADIUSAttributeValue (line 191) | type RADIUSAttributeValue function decodeRADIUS (line 538) | func decodeRADIUS(data []byte, p gopacket.PacketBuilder) error { function attributeValueLength (line 553) | func attributeValueLength(v []byte) (RADIUSAttributeLength, error) { FILE: layers/radius_test.go function checkRADIUS (line 15) | func checkRADIUS(desc string, t *testing.T, packetBytes []byte, pExpecte... function faliedRADIUS (line 57) | func faliedRADIUS(t *testing.T, desc string, data *RADIUS) { function TestRADIUSCode (line 72) | func TestRADIUSCode(t *testing.T) { function TestRADIUSAttributeType (line 97) | func TestRADIUSAttributeType(t *testing.T) { function TestRADIUSRecordSize (line 196) | func TestRADIUSRecordSize(t *testing.T) { function TestRADIUSLengthField (line 215) | func TestRADIUSLengthField(t *testing.T) { function TestRADIUSAttributesLengthField (line 250) | func TestRADIUSAttributesLengthField(t *testing.T) { function TestRADIUSAccessRequest (line 309) | func TestRADIUSAccessRequest(t *testing.T) { function TestRADIUSAccessAccept (line 375) | func TestRADIUSAccessAccept(t *testing.T) { FILE: layers/rmcp.go type RMCPClass (line 20) | type RMCPClass method LayerType (line 23) | func (c RMCPClass) LayerType() gopacket.LayerType { method String (line 30) | func (c RMCPClass) String() string { constant RMCPVersion1 (line 38) | RMCPVersion1 uint8 = 0x06 constant RMCPNormal (line 41) | RMCPNormal uint8 = 0 constant RMCPAck (line 44) | RMCPAck uint8 = 1 << 7 constant RMCPClassASF (line 48) | RMCPClassASF RMCPClass = 0x06 constant RMCPClassIPMI (line 51) | RMCPClassIPMI RMCPClass = 0x07 constant RMCPClassOEM (line 55) | RMCPClassOEM RMCPClass = 0x08 function RegisterRMCPLayerType (line 69) | func RegisterRMCPLayerType(c RMCPClass, l gopacket.LayerType) { type RMCP (line 75) | type RMCP struct method LayerType (line 100) | func (*RMCP) LayerType() gopacket.LayerType { method CanDecode (line 105) | func (r *RMCP) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 111) | func (r *RMCP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback... method NextLayerType (line 131) | func (r *RMCP) NextLayerType() gopacket.LayerType { method Payload (line 136) | func (r *RMCP) Payload() []byte { method SerializeTo (line 142) | func (r *RMCP) SerializeTo(b gopacket.SerializeBuffer, _ gopacket.Seri... function decodeRMCP (line 161) | func decodeRMCP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/rmcp_test.go function TestRMCPDecodeFromBytes (line 16) | func TestRMCPDecodeFromBytes(t *testing.T) { function serializeRMCP (line 46) | func serializeRMCP(rmcp *RMCP) ([]byte, error) { function TestRMCPTestSerializeTo (line 52) | func TestRMCPTestSerializeTo(t *testing.T) { FILE: layers/rudp.go type RUDP (line 15) | type RUDP struct method LayerType (line 41) | func (r *RUDP) LayerType() gopacket.LayerType { return LayerTypeRUDP } method TransportFlow (line 91) | func (r *RUDP) TransportFlow() gopacket.Flow { type RUDPHeaderSYN (line 32) | type RUDPHeaderSYN struct type RUDPHeaderEACK (line 36) | type RUDPHeaderEACK struct function decodeRUDP (line 43) | func decodeRUDP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/sctp.go type SCTP (line 19) | type SCTP struct method LayerType (line 28) | func (s *SCTP) LayerType() gopacket.LayerType { return LayerTypeSCTP } method TransportFlow (line 44) | func (s *SCTP) TransportFlow() gopacket.Flow { method SerializeTo (line 54) | func (s SCTP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... method DecodeFromBytes (line 71) | func (sctp *SCTP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedb... method CanDecode (line 86) | func (t *SCTP) CanDecode() gopacket.LayerClass { method NextLayerType (line 90) | func (t *SCTP) NextLayerType() gopacket.LayerType { function decodeSCTP (line 30) | func decodeSCTP(data []byte, p gopacket.PacketBuilder) error { function decodeWithSCTPChunkTypePrefix (line 48) | func decodeWithSCTPChunkTypePrefix(data []byte, p gopacket.PacketBuilder... type SCTPChunk (line 95) | type SCTPChunk struct function roundUpToNearest4 (line 108) | func roundUpToNearest4(i int) int { function decodeSCTPChunk (line 115) | func decodeSCTPChunk(data []byte) (SCTPChunk, error) { type SCTPParameter (line 140) | type SCTPParameter struct method Bytes (line 157) | func (p SCTPParameter) Bytes() []byte { function decodeSCTPParameter (line 147) | func decodeSCTPParameter(data []byte) SCTPParameter { type SCTPUnknownChunkType (line 170) | type SCTPUnknownChunkType struct method SerializeTo (line 188) | func (s SCTPUnknownChunkType) SerializeTo(b gopacket.SerializeBuffer, ... method LayerType (line 198) | func (s *SCTPUnknownChunkType) LayerType() gopacket.LayerType { return... method Payload (line 202) | func (s *SCTPUnknownChunkType) Payload() []byte { return s.bytes } method Error (line 205) | func (s *SCTPUnknownChunkType) Error() error { function decodeSCTPChunkTypeUnknown (line 175) | func decodeSCTPChunkTypeUnknown(data []byte, p gopacket.PacketBuilder) e... type SCTPData (line 210) | type SCTPData struct method LayerType (line 220) | func (s *SCTPData) LayerType() gopacket.LayerType { return LayerTypeSC... method SerializeTo (line 313) | func (sc SCTPData) SerializeTo(b gopacket.SerializeBuffer, opts gopack... type SCTPPayloadProtocol (line 223) | type SCTPPayloadProtocol method String (line 248) | func (p SCTPPayloadProtocol) String() string { constant SCTPProtocolReserved (line 227) | SCTPProtocolReserved SCTPPayloadProtocol = 0 constant SCTPPayloadUIA (line 228) | SCTPPayloadUIA = 1 constant SCTPPayloadM2UA (line 229) | SCTPPayloadM2UA = 2 constant SCTPPayloadM3UA (line 230) | SCTPPayloadM3UA = 3 constant SCTPPayloadSUA (line 231) | SCTPPayloadSUA = 4 constant SCTPPayloadM2PA (line 232) | SCTPPayloadM2PA = 5 constant SCTPPayloadV5UA (line 233) | SCTPPayloadV5UA = 6 constant SCTPPayloadH248 (line 234) | SCTPPayloadH248 = 7 constant SCTPPayloadBICC (line 235) | SCTPPayloadBICC = 8 constant SCTPPayloadTALI (line 236) | SCTPPayloadTALI = 9 constant SCTPPayloadDUA (line 237) | SCTPPayloadDUA = 10 constant SCTPPayloadASAP (line 238) | SCTPPayloadASAP = 11 constant SCTPPayloadENRP (line 239) | SCTPPayloadENRP = 12 constant SCTPPayloadH323 (line 240) | SCTPPayloadH323 = 13 constant SCTPPayloadQIPC (line 241) | SCTPPayloadQIPC = 14 constant SCTPPayloadSIMCO (line 242) | SCTPPayloadSIMCO = 15 constant SCTPPayloadDDPSegment (line 243) | SCTPPayloadDDPSegment = 16 constant SCTPPayloadDDPStream (line 244) | SCTPPayloadDDPStream = 17 constant SCTPPayloadS1AP (line 245) | SCTPPayloadS1AP = 18 function decodeSCTPData (line 292) | func decodeSCTPData(data []byte, p gopacket.PacketBuilder) error { type SCTPInitParameter (line 345) | type SCTPInitParameter type SCTPInit (line 349) | type SCTPInit struct method LayerType (line 359) | func (sc *SCTPInit) LayerType() gopacket.LayerType { method SerializeTo (line 391) | func (sc SCTPInit) SerializeTo(b gopacket.SerializeBuffer, opts gopack... function decodeSCTPInit (line 367) | func decodeSCTPInit(data []byte, p gopacket.PacketBuilder) error { type SCTPSack (line 414) | type SCTPSack struct method LayerType (line 424) | func (sc *SCTPSack) LayerType() gopacket.LayerType { method SerializeTo (line 470) | func (sc SCTPSack) SerializeTo(b gopacket.SerializeBuffer, opts gopack... function decodeSCTPSack (line 428) | func decodeSCTPSack(data []byte, p gopacket.PacketBuilder) error { type SCTPHeartbeatParameter (line 495) | type SCTPHeartbeatParameter type SCTPHeartbeat (line 498) | type SCTPHeartbeat struct method LayerType (line 504) | func (sc *SCTPHeartbeat) LayerType() gopacket.LayerType { method SerializeTo (line 531) | func (sc SCTPHeartbeat) SerializeTo(b gopacket.SerializeBuffer, opts g... function decodeSCTPHeartbeat (line 512) | func decodeSCTPHeartbeat(data []byte, p gopacket.PacketBuilder) error { type SCTPErrorParameter (line 550) | type SCTPErrorParameter type SCTPError (line 553) | type SCTPError struct method LayerType (line 559) | func (sc *SCTPError) LayerType() gopacket.LayerType { method SerializeTo (line 587) | func (sc SCTPError) SerializeTo(b gopacket.SerializeBuffer, opts gopac... function decodeSCTPError (line 567) | func decodeSCTPError(data []byte, p gopacket.PacketBuilder) error { type SCTPShutdown (line 606) | type SCTPShutdown struct method LayerType (line 612) | func (sc *SCTPShutdown) LayerType() gopacket.LayerType { return LayerT... method SerializeTo (line 628) | func (sc SCTPShutdown) SerializeTo(b gopacket.SerializeBuffer, opts go... function decodeSCTPShutdown (line 614) | func decodeSCTPShutdown(data []byte, p gopacket.PacketBuilder) error { type SCTPShutdownAck (line 641) | type SCTPShutdownAck struct method LayerType (line 646) | func (sc *SCTPShutdownAck) LayerType() gopacket.LayerType { return Lay... method SerializeTo (line 661) | func (sc SCTPShutdownAck) SerializeTo(b gopacket.SerializeBuffer, opts... function decodeSCTPShutdownAck (line 648) | func decodeSCTPShutdownAck(data []byte, p gopacket.PacketBuilder) error { type SCTPCookieEcho (line 673) | type SCTPCookieEcho struct method LayerType (line 679) | func (sc *SCTPCookieEcho) LayerType() gopacket.LayerType { return Laye... method SerializeTo (line 695) | func (sc SCTPCookieEcho) SerializeTo(b gopacket.SerializeBuffer, opts ... function decodeSCTPCookieEcho (line 681) | func decodeSCTPCookieEcho(data []byte, p gopacket.PacketBuilder) error { type SCTPEmptyLayer (line 710) | type SCTPEmptyLayer struct method LayerType (line 716) | func (sc *SCTPEmptyLayer) LayerType() gopacket.LayerType { method SerializeTo (line 737) | func (sc SCTPEmptyLayer) SerializeTo(b gopacket.SerializeBuffer, opts ... function decodeSCTPEmptyLayer (line 724) | func decodeSCTPEmptyLayer(data []byte, p gopacket.PacketBuilder) error { FILE: layers/sflow.go type SFlowRecord (line 86) | type SFlowRecord interface type SFlowDataSource (line 93) | type SFlowDataSource method decode (line 95) | func (sdc SFlowDataSource) decode() (SFlowSourceFormat, SFlowSourceVal... type SFlowDataSourceExpanded (line 101) | type SFlowDataSourceExpanded struct method decode (line 106) | func (sdce SFlowDataSourceExpanded) decode() (SFlowSourceFormat, SFlow... type SFlowSourceFormat (line 112) | type SFlowSourceFormat method String (line 122) | func (sdf SFlowSourceFormat) String() string { type SFlowSourceValue (line 114) | type SFlowSourceValue constant SFlowTypeSingleInterface (line 117) | SFlowTypeSingleInterface SFlowSourceFormat = 0 constant SFlowTypePacketDiscarded (line 118) | SFlowTypePacketDiscarded SFlowSourceFormat = 1 constant SFlowTypeMultipleDestinations (line 119) | SFlowTypeMultipleDestinations SFlowSourceFormat = 2 function decodeSFlow (line 135) | func decodeSFlow(data []byte, p gopacket.PacketBuilder) error { type SFlowDatagram (line 148) | type SFlowDatagram struct method LayerType (line 261) | func (s *SFlowDatagram) LayerType() gopacket.LayerType { return LayerT... method Payload (line 263) | func (d *SFlowDatagram) Payload() []byte { return nil } method CanDecode (line 265) | func (d *SFlowDatagram) CanDecode() gopacket.LayerClass { return Layer... method NextLayerType (line 267) | func (d *SFlowDatagram) NextLayerType() gopacket.LayerType { return go... method DecodeFromBytes (line 300) | func (s *SFlowDatagram) DecodeFromBytes(data []byte, df gopacket.Decod... type SFlowDataFormat (line 188) | type SFlowDataFormat method decode (line 190) | func (sdf SFlowDataFormat) decode() (SFlowEnterpriseID, SFlowSampleTyp... type SFlowEnterpriseID (line 201) | type SFlowEnterpriseID method String (line 207) | func (eid SFlowEnterpriseID) String() string { method GetType (line 216) | func (eid SFlowEnterpriseID) GetType() SFlowEnterpriseID { constant SFlowStandard (line 204) | SFlowStandard SFlowEnterpriseID = 0 type SFlowSampleType (line 222) | type SFlowSampleType method GetType (line 231) | func (st SFlowSampleType) GetType() SFlowSampleType { method String (line 246) | func (st SFlowSampleType) String() string { constant SFlowTypeFlowSample (line 225) | SFlowTypeFlowSample SFlowSampleType = 1 constant SFlowTypeCounterSample (line 226) | SFlowTypeCounterSample SFlowSampleType = 2 constant SFlowTypeExpandedFlowSample (line 227) | SFlowTypeExpandedFlowSample SFlowSampleType = 3 constant SFlowTypeExpandedCounterSample (line 228) | SFlowTypeExpandedCounterSample SFlowSampleType = 4 type SFlowIPType (line 271) | type SFlowIPType method String (line 278) | func (s SFlowIPType) String() string { method Length (line 289) | func (s SFlowIPType) Length() int { constant SFlowIPv4 (line 274) | SFlowIPv4 SFlowIPType = 1 constant SFlowIPv6 (line 275) | SFlowIPv6 SFlowIPType = 2 type SFlowFlowSample (line 352) | type SFlowFlowSample struct method GetRecords (line 443) | func (fs SFlowFlowSample) GetRecords() []SFlowRecord { method GetType (line 447) | func (fs SFlowFlowSample) GetType() SFlowSampleType { type SFlowFlowDataFormat (line 435) | type SFlowFlowDataFormat method decode (line 437) | func (fdf SFlowFlowDataFormat) decode() (SFlowEnterpriseID, SFlowFlowR... function skipRecord (line 451) | func skipRecord(data *[]byte) { function decodeFlowSample (line 456) | func decodeFlowSample(data *[]byte, expanded bool) (SFlowFlowSample, err... type SFlowCounterSample (line 687) | type SFlowCounterSample struct method GetRecords (line 723) | func (cs SFlowCounterSample) GetRecords() []SFlowRecord { method GetType (line 729) | func (cs SFlowCounterSample) GetType() SFlowSampleType { type SFlowCounterDataFormat (line 712) | type SFlowCounterDataFormat method decode (line 714) | func (cdf SFlowCounterDataFormat) decode() (SFlowEnterpriseID, SFlowCo... type SFlowCounterRecordType (line 733) | type SFlowCounterRecordType method String (line 749) | func (cr SFlowCounterRecordType) String() string { constant SFlowTypeGenericInterfaceCounters (line 736) | SFlowTypeGenericInterfaceCounters SFlowCounterRecordType = 1 constant SFlowTypeEthernetInterfaceCounters (line 737) | SFlowTypeEthernetInterfaceCounters SFlowCounterRecordType = 2 constant SFlowTypeTokenRingInterfaceCounters (line 738) | SFlowTypeTokenRingInterfaceCounters SFlowCounterRecordType = 3 constant SFlowType100BaseVGInterfaceCounters (line 739) | SFlowType100BaseVGInterfaceCounters SFlowCounterRecordType = 4 constant SFlowTypeVLANCounters (line 740) | SFlowTypeVLANCounters SFlowCounterRecordType = 5 constant SFlowTypeLACPCounters (line 741) | SFlowTypeLACPCounters SFlowCounterRecordType = 7 constant SFlowTypeProcessorCounters (line 742) | SFlowTypeProcessorCounters SFlowCounterRecordType = 1001 constant SFlowTypeOpenflowPortCounters (line 743) | SFlowTypeOpenflowPortCounters SFlowCounterRecordType = 1004 constant SFlowTypePORTNAMECounters (line 744) | SFlowTypePORTNAMECounters SFlowCounterRecordType = 1005 constant SFLowTypeAPPRESOURCESCounters (line 745) | SFLowTypeAPPRESOURCESCounters SFlowCounterRecordType = 2203 constant SFlowTypeOVSDPCounters (line 746) | SFlowTypeOVSDPCounters SFlowCounterRecordType = 2207 function decodeCounterSample (line 779) | func decodeCounterSample(data *[]byte, expanded bool) (SFlowCounterSampl... type SFlowBaseFlowRecord (line 871) | type SFlowBaseFlowRecord struct method GetType (line 877) | func (bfr SFlowBaseFlowRecord) GetType() SFlowFlowRecordType { type SFlowFlowRecordType (line 883) | type SFlowFlowRecordType method String (line 912) | func (rt SFlowFlowRecordType) String() string { constant SFlowTypeRawPacketFlow (line 886) | SFlowTypeRawPacketFlow SFlowFlowRecordType = 1 constant SFlowTypeEthernetFrameFlow (line 887) | SFlowTypeEthernetFrameFlow SFlowFlowRecordType = 2 constant SFlowTypeIpv4Flow (line 888) | SFlowTypeIpv4Flow SFlowFlowRecordType = 3 constant SFlowTypeIpv6Flow (line 889) | SFlowTypeIpv6Flow SFlowFlowRecordType = 4 constant SFlowTypeExtendedSwitchFlow (line 890) | SFlowTypeExtendedSwitchFlow SFlowFlowRecordType = 1001 constant SFlowTypeExtendedRouterFlow (line 891) | SFlowTypeExtendedRouterFlow SFlowFlowRecordType = 1002 constant SFlowTypeExtendedGatewayFlow (line 892) | SFlowTypeExtendedGatewayFlow SFlowFlowRecordType = 1003 constant SFlowTypeExtendedUserFlow (line 893) | SFlowTypeExtendedUserFlow SFlowFlowRecordType = 1004 constant SFlowTypeExtendedUrlFlow (line 894) | SFlowTypeExtendedUrlFlow SFlowFlowRecordType = 1005 constant SFlowTypeExtendedMlpsFlow (line 895) | SFlowTypeExtendedMlpsFlow SFlowFlowRecordType = 1006 constant SFlowTypeExtendedNatFlow (line 896) | SFlowTypeExtendedNatFlow SFlowFlowRecordType = 1007 constant SFlowTypeExtendedMlpsTunnelFlow (line 897) | SFlowTypeExtendedMlpsTunnelFlow SFlowFlowRecordType = 1008 constant SFlowTypeExtendedMlpsVcFlow (line 898) | SFlowTypeExtendedMlpsVcFlow SFlowFlowRecordType = 1009 constant SFlowTypeExtendedMlpsFecFlow (line 899) | SFlowTypeExtendedMlpsFecFlow SFlowFlowRecordType = 1010 constant SFlowTypeExtendedMlpsLvpFecFlow (line 900) | SFlowTypeExtendedMlpsLvpFecFlow SFlowFlowRecordType = 1011 constant SFlowTypeExtendedVlanFlow (line 901) | SFlowTypeExtendedVlanFlow SFlowFlowRecordType = 1012 constant SFlowTypeExtendedIpv4TunnelEgressFlow (line 902) | SFlowTypeExtendedIpv4TunnelEgressFlow SFlowFlowRecordType = 1023 constant SFlowTypeExtendedIpv4TunnelIngressFlow (line 903) | SFlowTypeExtendedIpv4TunnelIngressFlow SFlowFlowRecordType = 1024 constant SFlowTypeExtendedIpv6TunnelEgressFlow (line 904) | SFlowTypeExtendedIpv6TunnelEgressFlow SFlowFlowRecordType = 1025 constant SFlowTypeExtendedIpv6TunnelIngressFlow (line 905) | SFlowTypeExtendedIpv6TunnelIngressFlow SFlowFlowRecordType = 1026 constant SFlowTypeExtendedDecapsulateEgressFlow (line 906) | SFlowTypeExtendedDecapsulateEgressFlow SFlowFlowRecordType = 1027 constant SFlowTypeExtendedDecapsulateIngressFlow (line 907) | SFlowTypeExtendedDecapsulateIngressFlow SFlowFlowRecordType = 1028 constant SFlowTypeExtendedVniEgressFlow (line 908) | SFlowTypeExtendedVniEgressFlow SFlowFlowRecordType = 1029 constant SFlowTypeExtendedVniIngressFlow (line 909) | SFlowTypeExtendedVniIngressFlow SFlowFlowRecordType = 1030 type SFlowRawPacketFlowRecord (line 977) | type SFlowRawPacketFlowRecord struct type SFlowRawHeaderProtocol (line 1007) | type SFlowRawHeaderProtocol method String (line 1026) | func (sfhp SFlowRawHeaderProtocol) String() string { constant SFlowProtoEthernet (line 1010) | SFlowProtoEthernet SFlowRawHeaderProtocol = 1 constant SFlowProtoISO88024 (line 1011) | SFlowProtoISO88024 SFlowRawHeaderProtocol = 2 constant SFlowProtoISO88025 (line 1012) | SFlowProtoISO88025 SFlowRawHeaderProtocol = 3 constant SFlowProtoFDDI (line 1013) | SFlowProtoFDDI SFlowRawHeaderProtocol = 4 constant SFlowProtoFrameRelay (line 1014) | SFlowProtoFrameRelay SFlowRawHeaderProtocol = 5 constant SFlowProtoX25 (line 1015) | SFlowProtoX25 SFlowRawHeaderProtocol = 6 constant SFlowProtoPPP (line 1016) | SFlowProtoPPP SFlowRawHeaderProtocol = 7 constant SFlowProtoSMDS (line 1017) | SFlowProtoSMDS SFlowRawHeaderProtocol = 8 constant SFlowProtoAAL5 (line 1018) | SFlowProtoAAL5 SFlowRawHeaderProtocol = 9 constant SFlowProtoAAL5_IP (line 1019) | SFlowProtoAAL5_IP SFlowRawHeaderProtocol = 10 constant SFlowProtoIPv4 (line 1020) | SFlowProtoIPv4 SFlowRawHeaderProtocol = 11 constant SFlowProtoIPv6 (line 1021) | SFlowProtoIPv6 SFlowRawHeaderProtocol = 12 constant SFlowProtoMPLS (line 1022) | SFlowProtoMPLS SFlowRawHeaderProtocol = 13 constant SFlowProtoPOS (line 1023) | SFlowProtoPOS SFlowRawHeaderProtocol = 14 function decodeRawPacketFlowRecord (line 1060) | func decodeRawPacketFlowRecord(data *[]byte) (SFlowRawPacketFlowRecord, ... type SFlowExtendedSwitchFlowRecord (line 1082) | type SFlowExtendedSwitchFlowRecord struct function decodeExtendedSwitchFlowRecord (line 1107) | func decodeExtendedSwitchFlowRecord(data *[]byte) (SFlowExtendedSwitchFl... type SFlowExtendedRouterFlowRecord (line 1124) | type SFlowExtendedRouterFlowRecord struct function decodeExtendedRouterFlowRecord (line 1149) | func decodeExtendedRouterFlowRecord(data *[]byte) (SFlowExtendedRouterFl... type SFlowExtendedGatewayFlowRecord (line 1222) | type SFlowExtendedGatewayFlowRecord struct type SFlowASPathType (line 1234) | type SFlowASPathType method String (line 1241) | func (apt SFlowASPathType) String() string { constant SFlowASSet (line 1237) | SFlowASSet SFlowASPathType = 1 constant SFlowASSequence (line 1238) | SFlowASSequence SFlowASPathType = 2 type SFlowASDestination (line 1252) | type SFlowASDestination struct method String (line 1258) | func (asd SFlowASDestination) String() string { method decodePath (line 1269) | func (ad *SFlowASDestination) decodePath(data *[]byte) { function decodeExtendedGatewayFlowRecord (line 1280) | func decodeExtendedGatewayFlowRecord(data *[]byte) (SFlowExtendedGateway... type SFlowURLDirection (line 1328) | type SFlowURLDirection method String (line 1335) | func (urld SFlowURLDirection) String() string { constant SFlowURLsrc (line 1331) | SFlowURLsrc SFlowURLDirection = 1 constant SFlowURLdst (line 1332) | SFlowURLdst SFlowURLDirection = 2 type SFlowExtendedURLRecord (line 1346) | type SFlowExtendedURLRecord struct function decodeExtendedURLRecord (line 1353) | func decodeExtendedURLRecord(data *[]byte) (SFlowExtendedURLRecord, erro... type SFlowExtendedUserFlow (line 1397) | type SFlowExtendedUserFlow struct type SFlowCharSet (line 1405) | type SFlowCharSet constant SFlowCSunknown (line 1408) | SFlowCSunknown SFlowCharSet = 2 constant SFlowCSASCII (line 1409) | SFlowCSASCII SFlowCharSet = 3 constant SFlowCSISOLatin1 (line 1410) | SFlowCSISOLatin1 SFlowCharSet = 4 constant SFlowCSISOLatin2 (line 1411) | SFlowCSISOLatin2 SFlowCharSet = 5 constant SFlowCSISOLatin3 (line 1412) | SFlowCSISOLatin3 SFlowCharSet = 6 constant SFlowCSISOLatin4 (line 1413) | SFlowCSISOLatin4 SFlowCharSet = 7 constant SFlowCSISOLatinCyrillic (line 1414) | SFlowCSISOLatinCyrillic SFlowCharSet = 8 constant SFlowCSISOLatinArabic (line 1415) | SFlowCSISOLatinArabic SFlowCharSet = 9 constant SFlowCSISOLatinGreek (line 1416) | SFlowCSISOLatinGreek SFlowCharSet = 10 constant SFlowCSISOLatinHebrew (line 1417) | SFlowCSISOLatinHebrew SFlowCharSet = 11 constant SFlowCSISOLatin5 (line 1418) | SFlowCSISOLatin5 SFlowCharSet = 12 constant SFlowCSISOLatin6 (line 1419) | SFlowCSISOLatin6 SFlowCharSet = 13 constant SFlowCSISOTextComm (line 1420) | SFlowCSISOTextComm SFlowCharSet = 14 constant SFlowCSHalfWidthKatakana (line 1421) | SFlowCSHalfWidthKatakana SFlowCharSet = 15 constant SFlowCSJISEncoding (line 1422) | SFlowCSJISEncoding SFlowCharSet = 16 constant SFlowCSShiftJIS (line 1423) | SFlowCSShiftJIS SFlowCharSet = 17 constant SFlowCSEUCPkdFmtJapanese (line 1424) | SFlowCSEUCPkdFmtJapanese SFlowCharSet = 18 constant SFlowCSEUCFixWidJapanese (line 1425) | SFlowCSEUCFixWidJapanese SFlowCharSet = 19 constant SFlowCSISO4UnitedKingdom (line 1426) | SFlowCSISO4UnitedKingdom SFlowCharSet = 20 constant SFlowCSISO11SwedishForNames (line 1427) | SFlowCSISO11SwedishForNames SFlowCharSet = 21 constant SFlowCSISO15Italian (line 1428) | SFlowCSISO15Italian SFlowCharSet = 22 constant SFlowCSISO17Spanish (line 1429) | SFlowCSISO17Spanish SFlowCharSet = 23 constant SFlowCSISO21German (line 1430) | SFlowCSISO21German SFlowCharSet = 24 constant SFlowCSISO60DanishNorwegian (line 1431) | SFlowCSISO60DanishNorwegian SFlowCharSet = 25 constant SFlowCSISO69French (line 1432) | SFlowCSISO69French SFlowCharSet = 26 constant SFlowCSISO10646UTF1 (line 1433) | SFlowCSISO10646UTF1 SFlowCharSet = 27 constant SFlowCSISO646basic1983 (line 1434) | SFlowCSISO646basic1983 SFlowCharSet = 28 constant SFlowCSINVARIANT (line 1435) | SFlowCSINVARIANT SFlowCharSet = 29 constant SFlowCSISO2IntlRefVersion (line 1436) | SFlowCSISO2IntlRefVersion SFlowCharSet = 30 constant SFlowCSNATSSEFI (line 1437) | SFlowCSNATSSEFI SFlowCharSet = 31 constant SFlowCSNATSSEFIADD (line 1438) | SFlowCSNATSSEFIADD SFlowCharSet = 32 constant SFlowCSNATSDANO (line 1439) | SFlowCSNATSDANO SFlowCharSet = 33 constant SFlowCSNATSDANOADD (line 1440) | SFlowCSNATSDANOADD SFlowCharSet = 34 constant SFlowCSISO10Swedish (line 1441) | SFlowCSISO10Swedish SFlowCharSet = 35 constant SFlowCSKSC56011987 (line 1442) | SFlowCSKSC56011987 SFlowCharSet = 36 constant SFlowCSISO2022KR (line 1443) | SFlowCSISO2022KR SFlowCharSet = 37 constant SFlowCSEUCKR (line 1444) | SFlowCSEUCKR SFlowCharSet = 38 constant SFlowCSISO2022JP (line 1445) | SFlowCSISO2022JP SFlowCharSet = 39 constant SFlowCSISO2022JP2 (line 1446) | SFlowCSISO2022JP2 SFlowCharSet = 40 constant SFlowCSISO13JISC6220jp (line 1447) | SFlowCSISO13JISC6220jp SFlowCharSet = 41 constant SFlowCSISO14JISC6220ro (line 1448) | SFlowCSISO14JISC6220ro SFlowCharSet = 42 constant SFlowCSISO16Portuguese (line 1449) | SFlowCSISO16Portuguese SFlowCharSet = 43 constant SFlowCSISO18Greek7Old (line 1450) | SFlowCSISO18Greek7Old SFlowCharSet = 44 constant SFlowCSISO19LatinGreek (line 1451) | SFlowCSISO19LatinGreek SFlowCharSet = 45 constant SFlowCSISO25French (line 1452) | SFlowCSISO25French SFlowCharSet = 46 constant SFlowCSISO27LatinGreek1 (line 1453) | SFlowCSISO27LatinGreek1 SFlowCharSet = 47 constant SFlowCSISO5427Cyrillic (line 1454) | SFlowCSISO5427Cyrillic SFlowCharSet = 48 constant SFlowCSISO42JISC62261978 (line 1455) | SFlowCSISO42JISC62261978 SFlowCharSet = 49 constant SFlowCSISO47BSViewdata (line 1456) | SFlowCSISO47BSViewdata SFlowCharSet = 50 constant SFlowCSISO49INIS (line 1457) | SFlowCSISO49INIS SFlowCharSet = 51 constant SFlowCSISO50INIS8 (line 1458) | SFlowCSISO50INIS8 SFlowCharSet = 52 constant SFlowCSISO51INISCyrillic (line 1459) | SFlowCSISO51INISCyrillic SFlowCharSet = 53 constant SFlowCSISO54271981 (line 1460) | SFlowCSISO54271981 SFlowCharSet = 54 constant SFlowCSISO5428Greek (line 1461) | SFlowCSISO5428Greek SFlowCharSet = 55 constant SFlowCSISO57GB1988 (line 1462) | SFlowCSISO57GB1988 SFlowCharSet = 56 constant SFlowCSISO58GB231280 (line 1463) | SFlowCSISO58GB231280 SFlowCharSet = 57 constant SFlowCSISO61Norwegian2 (line 1464) | SFlowCSISO61Norwegian2 SFlowCharSet = 58 constant SFlowCSISO70VideotexSupp1 (line 1465) | SFlowCSISO70VideotexSupp1 SFlowCharSet = 59 constant SFlowCSISO84Portuguese2 (line 1466) | SFlowCSISO84Portuguese2 SFlowCharSet = 60 constant SFlowCSISO85Spanish2 (line 1467) | SFlowCSISO85Spanish2 SFlowCharSet = 61 constant SFlowCSISO86Hungarian (line 1468) | SFlowCSISO86Hungarian SFlowCharSet = 62 constant SFlowCSISO87JISX0208 (line 1469) | SFlowCSISO87JISX0208 SFlowCharSet = 63 constant SFlowCSISO88Greek7 (line 1470) | SFlowCSISO88Greek7 SFlowCharSet = 64 constant SFlowCSISO89ASMO449 (line 1471) | SFlowCSISO89ASMO449 SFlowCharSet = 65 constant SFlowCSISO90 (line 1472) | SFlowCSISO90 SFlowCharSet = 66 constant SFlowCSISO91JISC62291984a (line 1473) | SFlowCSISO91JISC62291984a SFlowCharSet = 67 constant SFlowCSISO92JISC62991984b (line 1474) | SFlowCSISO92JISC62991984b SFlowCharSet = 68 constant SFlowCSISO93JIS62291984badd (line 1475) | SFlowCSISO93JIS62291984badd SFlowCharSet = 69 constant SFlowCSISO94JIS62291984hand (line 1476) | SFlowCSISO94JIS62291984hand SFlowCharSet = 70 constant SFlowCSISO95JIS62291984handadd (line 1477) | SFlowCSISO95JIS62291984handadd SFlowCharSet = 71 constant SFlowCSISO96JISC62291984kana (line 1478) | SFlowCSISO96JISC62291984kana SFlowCharSet = 72 constant SFlowCSISO2033 (line 1479) | SFlowCSISO2033 SFlowCharSet = 73 constant SFlowCSISO99NAPLPS (line 1480) | SFlowCSISO99NAPLPS SFlowCharSet = 74 constant SFlowCSISO102T617bit (line 1481) | SFlowCSISO102T617bit SFlowCharSet = 75 constant SFlowCSISO103T618bit (line 1482) | SFlowCSISO103T618bit SFlowCharSet = 76 constant SFlowCSISO111ECMACyrillic (line 1483) | SFlowCSISO111ECMACyrillic SFlowCharSet = 77 constant SFlowCSa71 (line 1484) | SFlowCSa71 SFlowCharSet = 78 constant SFlowCSa72 (line 1485) | SFlowCSa72 SFlowCharSet = 79 constant SFlowCSISO123CSAZ24341985gr (line 1486) | SFlowCSISO123CSAZ24341985gr SFlowCharSet = 80 constant SFlowCSISO88596E (line 1487) | SFlowCSISO88596E SFlowCharSet = 81 constant SFlowCSISO88596I (line 1488) | SFlowCSISO88596I SFlowCharSet = 82 constant SFlowCSISO128T101G2 (line 1489) | SFlowCSISO128T101G2 SFlowCharSet = 83 constant SFlowCSISO88598E (line 1490) | SFlowCSISO88598E SFlowCharSet = 84 constant SFlowCSISO88598I (line 1491) | SFlowCSISO88598I SFlowCharSet = 85 constant SFlowCSISO139CSN369103 (line 1492) | SFlowCSISO139CSN369103 SFlowCharSet = 86 constant SFlowCSISO141JUSIB1002 (line 1493) | SFlowCSISO141JUSIB1002 SFlowCharSet = 87 constant SFlowCSISO143IECP271 (line 1494) | SFlowCSISO143IECP271 SFlowCharSet = 88 constant SFlowCSISO146Serbian (line 1495) | SFlowCSISO146Serbian SFlowCharSet = 89 constant SFlowCSISO147Macedonian (line 1496) | SFlowCSISO147Macedonian SFlowCharSet = 90 constant SFlowCSISO150 (line 1497) | SFlowCSISO150 SFlowCharSet = 91 constant SFlowCSISO151Cuba (line 1498) | SFlowCSISO151Cuba SFlowCharSet = 92 constant SFlowCSISO6937Add (line 1499) | SFlowCSISO6937Add SFlowCharSet = 93 constant SFlowCSISO153GOST1976874 (line 1500) | SFlowCSISO153GOST1976874 SFlowCharSet = 94 constant SFlowCSISO8859Supp (line 1501) | SFlowCSISO8859Supp SFlowCharSet = 95 constant SFlowCSISO10367Box (line 1502) | SFlowCSISO10367Box SFlowCharSet = 96 constant SFlowCSISO158Lap (line 1503) | SFlowCSISO158Lap SFlowCharSet = 97 constant SFlowCSISO159JISX02121990 (line 1504) | SFlowCSISO159JISX02121990 SFlowCharSet = 98 constant SFlowCSISO646Danish (line 1505) | SFlowCSISO646Danish SFlowCharSet = 99 constant SFlowCSUSDK (line 1506) | SFlowCSUSDK SFlowCharSet = 100 constant SFlowCSDKUS (line 1507) | SFlowCSDKUS SFlowCharSet = 101 constant SFlowCSKSC5636 (line 1508) | SFlowCSKSC5636 SFlowCharSet = 102 constant SFlowCSUnicode11UTF7 (line 1509) | SFlowCSUnicode11UTF7 SFlowCharSet = 103 constant SFlowCSISO2022CN (line 1510) | SFlowCSISO2022CN SFlowCharSet = 104 constant SFlowCSISO2022CNEXT (line 1511) | SFlowCSISO2022CNEXT SFlowCharSet = 105 constant SFlowCSUTF8 (line 1512) | SFlowCSUTF8 SFlowCharSet = 106 constant SFlowCSISO885913 (line 1513) | SFlowCSISO885913 SFlowCharSet = 109 constant SFlowCSISO885914 (line 1514) | SFlowCSISO885914 SFlowCharSet = 110 constant SFlowCSISO885915 (line 1515) | SFlowCSISO885915 SFlowCharSet = 111 constant SFlowCSISO885916 (line 1516) | SFlowCSISO885916 SFlowCharSet = 112 constant SFlowCSGBK (line 1517) | SFlowCSGBK SFlowCharSet = 113 constant SFlowCSGB18030 (line 1518) | SFlowCSGB18030 SFlowCharSet = 114 constant SFlowCSOSDEBCDICDF0415 (line 1519) | SFlowCSOSDEBCDICDF0415 SFlowCharSet = 115 constant SFlowCSOSDEBCDICDF03IRV (line 1520) | SFlowCSOSDEBCDICDF03IRV SFlowCharSet = 116 constant SFlowCSOSDEBCDICDF041 (line 1521) | SFlowCSOSDEBCDICDF041 SFlowCharSet = 117 constant SFlowCSISO115481 (line 1522) | SFlowCSISO115481 SFlowCharSet = 118 constant SFlowCSKZ1048 (line 1523) | SFlowCSKZ1048 SFlowCharSet = 119 constant SFlowCSUnicode (line 1524) | SFlowCSUnicode SFlowCharSet = 1000 constant SFlowCSUCS4 (line 1525) | SFlowCSUCS4 SFlowCharSet = 1001 constant SFlowCSUnicodeASCII (line 1526) | SFlowCSUnicodeASCII SFlowCharSet = 1002 constant SFlowCSUnicodeLatin1 (line 1527) | SFlowCSUnicodeLatin1 SFlowCharSet = 1003 constant SFlowCSUnicodeJapanese (line 1528) | SFlowCSUnicodeJapanese SFlowCharSet = 1004 constant SFlowCSUnicodeIBM1261 (line 1529) | SFlowCSUnicodeIBM1261 SFlowCharSet = 1005 constant SFlowCSUnicodeIBM1268 (line 1530) | SFlowCSUnicodeIBM1268 SFlowCharSet = 1006 constant SFlowCSUnicodeIBM1276 (line 1531) | SFlowCSUnicodeIBM1276 SFlowCharSet = 1007 constant SFlowCSUnicodeIBM1264 (line 1532) | SFlowCSUnicodeIBM1264 SFlowCharSet = 1008 constant SFlowCSUnicodeIBM1265 (line 1533) | SFlowCSUnicodeIBM1265 SFlowCharSet = 1009 constant SFlowCSUnicode11 (line 1534) | SFlowCSUnicode11 SFlowCharSet = 1010 constant SFlowCSSCSU (line 1535) | SFlowCSSCSU SFlowCharSet = 1011 constant SFlowCSUTF7 (line 1536) | SFlowCSUTF7 SFlowCharSet = 1012 constant SFlowCSUTF16BE (line 1537) | SFlowCSUTF16BE SFlowCharSet = 1013 constant SFlowCSUTF16LE (line 1538) | SFlowCSUTF16LE SFlowCharSet = 1014 constant SFlowCSUTF16 (line 1539) | SFlowCSUTF16 SFlowCharSet = 1015 constant SFlowCSCESU8 (line 1540) | SFlowCSCESU8 SFlowCharSet = 1016 constant SFlowCSUTF32 (line 1541) | SFlowCSUTF32 SFlowCharSet = 1017 constant SFlowCSUTF32BE (line 1542) | SFlowCSUTF32BE SFlowCharSet = 1018 constant SFlowCSUTF32LE (line 1543) | SFlowCSUTF32LE SFlowCharSet = 1019 constant SFlowCSBOCU1 (line 1544) | SFlowCSBOCU1 SFlowCharSet = 1020 constant SFlowCSWindows30Latin1 (line 1545) | SFlowCSWindows30Latin1 SFlowCharSet = 2000 constant SFlowCSWindows31Latin1 (line 1546) | SFlowCSWindows31Latin1 SFlowCharSet = 2001 constant SFlowCSWindows31Latin2 (line 1547) | SFlowCSWindows31Latin2 SFlowCharSet = 2002 constant SFlowCSWindows31Latin5 (line 1548) | SFlowCSWindows31Latin5 SFlowCharSet = 2003 constant SFlowCSHPRoman8 (line 1549) | SFlowCSHPRoman8 SFlowCharSet = 2004 constant SFlowCSAdobeStandardEncoding (line 1550) | SFlowCSAdobeStandardEncoding SFlowCharSet = 2005 constant SFlowCSVenturaUS (line 1551) | SFlowCSVenturaUS SFlowCharSet = 2006 constant SFlowCSVenturaInternational (line 1552) | SFlowCSVenturaInternational SFlowCharSet = 2007 constant SFlowCSDECMCS (line 1553) | SFlowCSDECMCS SFlowCharSet = 2008 constant SFlowCSPC850Multilingual (line 1554) | SFlowCSPC850Multilingual SFlowCharSet = 2009 constant SFlowCSPCp852 (line 1555) | SFlowCSPCp852 SFlowCharSet = 2010 constant SFlowCSPC8CodePage437 (line 1556) | SFlowCSPC8CodePage437 SFlowCharSet = 2011 constant SFlowCSPC8DanishNorwegian (line 1557) | SFlowCSPC8DanishNorwegian SFlowCharSet = 2012 constant SFlowCSPC862LatinHebrew (line 1558) | SFlowCSPC862LatinHebrew SFlowCharSet = 2013 constant SFlowCSPC8Turkish (line 1559) | SFlowCSPC8Turkish SFlowCharSet = 2014 constant SFlowCSIBMSymbols (line 1560) | SFlowCSIBMSymbols SFlowCharSet = 2015 constant SFlowCSIBMThai (line 1561) | SFlowCSIBMThai SFlowCharSet = 2016 constant SFlowCSHPLegal (line 1562) | SFlowCSHPLegal SFlowCharSet = 2017 constant SFlowCSHPPiFont (line 1563) | SFlowCSHPPiFont SFlowCharSet = 2018 constant SFlowCSHPMath8 (line 1564) | SFlowCSHPMath8 SFlowCharSet = 2019 constant SFlowCSHPPSMath (line 1565) | SFlowCSHPPSMath SFlowCharSet = 2020 constant SFlowCSHPDesktop (line 1566) | SFlowCSHPDesktop SFlowCharSet = 2021 constant SFlowCSVenturaMath (line 1567) | SFlowCSVenturaMath SFlowCharSet = 2022 constant SFlowCSMicrosoftPublishing (line 1568) | SFlowCSMicrosoftPublishing SFlowCharSet = 2023 constant SFlowCSWindows31J (line 1569) | SFlowCSWindows31J SFlowCharSet = 2024 constant SFlowCSGB2312 (line 1570) | SFlowCSGB2312 SFlowCharSet = 2025 constant SFlowCSBig5 (line 1571) | SFlowCSBig5 SFlowCharSet = 2026 constant SFlowCSMacintosh (line 1572) | SFlowCSMacintosh SFlowCharSet = 2027 constant SFlowCSIBM037 (line 1573) | SFlowCSIBM037 SFlowCharSet = 2028 constant SFlowCSIBM038 (line 1574) | SFlowCSIBM038 SFlowCharSet = 2029 constant SFlowCSIBM273 (line 1575) | SFlowCSIBM273 SFlowCharSet = 2030 constant SFlowCSIBM274 (line 1576) | SFlowCSIBM274 SFlowCharSet = 2031 constant SFlowCSIBM275 (line 1577) | SFlowCSIBM275 SFlowCharSet = 2032 constant SFlowCSIBM277 (line 1578) | SFlowCSIBM277 SFlowCharSet = 2033 constant SFlowCSIBM278 (line 1579) | SFlowCSIBM278 SFlowCharSet = 2034 constant SFlowCSIBM280 (line 1580) | SFlowCSIBM280 SFlowCharSet = 2035 constant SFlowCSIBM281 (line 1581) | SFlowCSIBM281 SFlowCharSet = 2036 constant SFlowCSIBM284 (line 1582) | SFlowCSIBM284 SFlowCharSet = 2037 constant SFlowCSIBM285 (line 1583) | SFlowCSIBM285 SFlowCharSet = 2038 constant SFlowCSIBM290 (line 1584) | SFlowCSIBM290 SFlowCharSet = 2039 constant SFlowCSIBM297 (line 1585) | SFlowCSIBM297 SFlowCharSet = 2040 constant SFlowCSIBM420 (line 1586) | SFlowCSIBM420 SFlowCharSet = 2041 constant SFlowCSIBM423 (line 1587) | SFlowCSIBM423 SFlowCharSet = 2042 constant SFlowCSIBM424 (line 1588) | SFlowCSIBM424 SFlowCharSet = 2043 constant SFlowCSIBM500 (line 1589) | SFlowCSIBM500 SFlowCharSet = 2044 constant SFlowCSIBM851 (line 1590) | SFlowCSIBM851 SFlowCharSet = 2045 constant SFlowCSIBM855 (line 1591) | SFlowCSIBM855 SFlowCharSet = 2046 constant SFlowCSIBM857 (line 1592) | SFlowCSIBM857 SFlowCharSet = 2047 constant SFlowCSIBM860 (line 1593) | SFlowCSIBM860 SFlowCharSet = 2048 constant SFlowCSIBM861 (line 1594) | SFlowCSIBM861 SFlowCharSet = 2049 constant SFlowCSIBM863 (line 1595) | SFlowCSIBM863 SFlowCharSet = 2050 constant SFlowCSIBM864 (line 1596) | SFlowCSIBM864 SFlowCharSet = 2051 constant SFlowCSIBM865 (line 1597) | SFlowCSIBM865 SFlowCharSet = 2052 constant SFlowCSIBM868 (line 1598) | SFlowCSIBM868 SFlowCharSet = 2053 constant SFlowCSIBM869 (line 1599) | SFlowCSIBM869 SFlowCharSet = 2054 constant SFlowCSIBM870 (line 1600) | SFlowCSIBM870 SFlowCharSet = 2055 constant SFlowCSIBM871 (line 1601) | SFlowCSIBM871 SFlowCharSet = 2056 constant SFlowCSIBM880 (line 1602) | SFlowCSIBM880 SFlowCharSet = 2057 constant SFlowCSIBM891 (line 1603) | SFlowCSIBM891 SFlowCharSet = 2058 constant SFlowCSIBM903 (line 1604) | SFlowCSIBM903 SFlowCharSet = 2059 constant SFlowCSIBBM904 (line 1605) | SFlowCSIBBM904 SFlowCharSet = 2060 constant SFlowCSIBM905 (line 1606) | SFlowCSIBM905 SFlowCharSet = 2061 constant SFlowCSIBM918 (line 1607) | SFlowCSIBM918 SFlowCharSet = 2062 constant SFlowCSIBM1026 (line 1608) | SFlowCSIBM1026 SFlowCharSet = 2063 constant SFlowCSIBMEBCDICATDE (line 1609) | SFlowCSIBMEBCDICATDE SFlowCharSet = 2064 constant SFlowCSEBCDICATDEA (line 1610) | SFlowCSEBCDICATDEA SFlowCharSet = 2065 constant SFlowCSEBCDICCAFR (line 1611) | SFlowCSEBCDICCAFR SFlowCharSet = 2066 constant SFlowCSEBCDICDKNO (line 1612) | SFlowCSEBCDICDKNO SFlowCharSet = 2067 constant SFlowCSEBCDICDKNOA (line 1613) | SFlowCSEBCDICDKNOA SFlowCharSet = 2068 constant SFlowCSEBCDICFISE (line 1614) | SFlowCSEBCDICFISE SFlowCharSet = 2069 constant SFlowCSEBCDICFISEA (line 1615) | SFlowCSEBCDICFISEA SFlowCharSet = 2070 constant SFlowCSEBCDICFR (line 1616) | SFlowCSEBCDICFR SFlowCharSet = 2071 constant SFlowCSEBCDICIT (line 1617) | SFlowCSEBCDICIT SFlowCharSet = 2072 constant SFlowCSEBCDICPT (line 1618) | SFlowCSEBCDICPT SFlowCharSet = 2073 constant SFlowCSEBCDICES (line 1619) | SFlowCSEBCDICES SFlowCharSet = 2074 constant SFlowCSEBCDICESA (line 1620) | SFlowCSEBCDICESA SFlowCharSet = 2075 constant SFlowCSEBCDICESS (line 1621) | SFlowCSEBCDICESS SFlowCharSet = 2076 constant SFlowCSEBCDICUK (line 1622) | SFlowCSEBCDICUK SFlowCharSet = 2077 constant SFlowCSEBCDICUS (line 1623) | SFlowCSEBCDICUS SFlowCharSet = 2078 constant SFlowCSUnknown8BiT (line 1624) | SFlowCSUnknown8BiT SFlowCharSet = 2079 constant SFlowCSMnemonic (line 1625) | SFlowCSMnemonic SFlowCharSet = 2080 constant SFlowCSMnem (line 1626) | SFlowCSMnem SFlowCharSet = 2081 constant SFlowCSVISCII (line 1627) | SFlowCSVISCII SFlowCharSet = 2082 constant SFlowCSVIQR (line 1628) | SFlowCSVIQR SFlowCharSet = 2083 constant SFlowCSKOI8R (line 1629) | SFlowCSKOI8R SFlowCharSet = 2084 constant SFlowCSHZGB2312 (line 1630) | SFlowCSHZGB2312 SFlowCharSet = 2085 constant SFlowCSIBM866 (line 1631) | SFlowCSIBM866 SFlowCharSet = 2086 constant SFlowCSPC775Baltic (line 1632) | SFlowCSPC775Baltic SFlowCharSet = 2087 constant SFlowCSKOI8U (line 1633) | SFlowCSKOI8U SFlowCharSet = 2088 constant SFlowCSIBM00858 (line 1634) | SFlowCSIBM00858 SFlowCharSet = 2089 constant SFlowCSIBM00924 (line 1635) | SFlowCSIBM00924 SFlowCharSet = 2090 constant SFlowCSIBM01140 (line 1636) | SFlowCSIBM01140 SFlowCharSet = 2091 constant SFlowCSIBM01141 (line 1637) | SFlowCSIBM01141 SFlowCharSet = 2092 constant SFlowCSIBM01142 (line 1638) | SFlowCSIBM01142 SFlowCharSet = 2093 constant SFlowCSIBM01143 (line 1639) | SFlowCSIBM01143 SFlowCharSet = 2094 constant SFlowCSIBM01144 (line 1640) | SFlowCSIBM01144 SFlowCharSet = 2095 constant SFlowCSIBM01145 (line 1641) | SFlowCSIBM01145 SFlowCharSet = 2096 constant SFlowCSIBM01146 (line 1642) | SFlowCSIBM01146 SFlowCharSet = 2097 constant SFlowCSIBM01147 (line 1643) | SFlowCSIBM01147 SFlowCharSet = 2098 constant SFlowCSIBM01148 (line 1644) | SFlowCSIBM01148 SFlowCharSet = 2099 constant SFlowCSIBM01149 (line 1645) | SFlowCSIBM01149 SFlowCharSet = 2100 constant SFlowCSBig5HKSCS (line 1646) | SFlowCSBig5HKSCS SFlowCharSet = 2101 constant SFlowCSIBM1047 (line 1647) | SFlowCSIBM1047 SFlowCharSet = 2102 constant SFlowCSPTCP154 (line 1648) | SFlowCSPTCP154 SFlowCharSet = 2103 constant SFlowCSAmiga1251 (line 1649) | SFlowCSAmiga1251 SFlowCharSet = 2104 constant SFlowCSKOI7switched (line 1650) | SFlowCSKOI7switched SFlowCharSet = 2105 constant SFlowCSBRF (line 1651) | SFlowCSBRF SFlowCharSet = 2106 constant SFlowCSTSCII (line 1652) | SFlowCSTSCII SFlowCharSet = 2107 constant SFlowCSCP51932 (line 1653) | SFlowCSCP51932 SFlowCharSet = 2108 constant SFlowCSWindows874 (line 1654) | SFlowCSWindows874 SFlowCharSet = 2109 constant SFlowCSWindows1250 (line 1655) | SFlowCSWindows1250 SFlowCharSet = 2250 constant SFlowCSWindows1251 (line 1656) | SFlowCSWindows1251 SFlowCharSet = 2251 constant SFlowCSWindows1252 (line 1657) | SFlowCSWindows1252 SFlowCharSet = 2252 constant SFlowCSWindows1253 (line 1658) | SFlowCSWindows1253 SFlowCharSet = 2253 constant SFlowCSWindows1254 (line 1659) | SFlowCSWindows1254 SFlowCharSet = 2254 constant SFlowCSWindows1255 (line 1660) | SFlowCSWindows1255 SFlowCharSet = 2255 constant SFlowCSWindows1256 (line 1661) | SFlowCSWindows1256 SFlowCharSet = 2256 constant SFlowCSWindows1257 (line 1662) | SFlowCSWindows1257 SFlowCharSet = 2257 constant SFlowCSWindows1258 (line 1663) | SFlowCSWindows1258 SFlowCharSet = 2258 constant SFlowCSTIS620 (line 1664) | SFlowCSTIS620 SFlowCharSet = 2259 constant SFlowCS50220 (line 1665) | SFlowCS50220 SFlowCharSet = 2260 constant SFlowCSreserved (line 1666) | SFlowCSreserved SFlowCharSet = 3000 function decodeExtendedUserFlow (line 1669) | func decodeExtendedUserFlow(data *[]byte) (SFlowExtendedUserFlow, error) { type SFlowIpv4Record (line 1717) | type SFlowIpv4Record struct function decodeSFlowIpv4Record (line 1736) | func decodeSFlowIpv4Record(data *[]byte) (SFlowIpv4Record, error) { type SFlowIpv6Record (line 1773) | type SFlowIpv6Record struct function decodeSFlowIpv6Record (line 1792) | func decodeSFlowIpv6Record(data *[]byte) (SFlowIpv6Record, error) { type SFlowExtendedIpv4TunnelEgressRecord (line 1820) | type SFlowExtendedIpv4TunnelEgressRecord struct function decodeExtendedIpv4TunnelEgress (line 1825) | func decodeExtendedIpv4TunnelEgress(data *[]byte) (SFlowExtendedIpv4Tunn... type SFlowExtendedIpv4TunnelIngressRecord (line 1850) | type SFlowExtendedIpv4TunnelIngressRecord struct function decodeExtendedIpv4TunnelIngress (line 1855) | func decodeExtendedIpv4TunnelIngress(data *[]byte) (SFlowExtendedIpv4Tun... type SFlowExtendedIpv6TunnelEgressRecord (line 1880) | type SFlowExtendedIpv6TunnelEgressRecord struct function decodeExtendedIpv6TunnelEgress (line 1885) | func decodeExtendedIpv6TunnelEgress(data *[]byte) (SFlowExtendedIpv6Tunn... type SFlowExtendedIpv6TunnelIngressRecord (line 1910) | type SFlowExtendedIpv6TunnelIngressRecord struct function decodeExtendedIpv6TunnelIngress (line 1915) | func decodeExtendedIpv6TunnelIngress(data *[]byte) (SFlowExtendedIpv6Tun... type SFlowExtendedDecapsulateEgressRecord (line 1939) | type SFlowExtendedDecapsulateEgressRecord struct function decodeExtendedDecapsulateEgress (line 1944) | func decodeExtendedDecapsulateEgress(data *[]byte) (SFlowExtendedDecapsu... type SFlowExtendedDecapsulateIngressRecord (line 1968) | type SFlowExtendedDecapsulateIngressRecord struct function decodeExtendedDecapsulateIngress (line 1973) | func decodeExtendedDecapsulateIngress(data *[]byte) (SFlowExtendedDecaps... type SFlowExtendedVniEgressRecord (line 1997) | type SFlowExtendedVniEgressRecord struct function decodeExtendedVniEgress (line 2002) | func decodeExtendedVniEgress(data *[]byte) (SFlowExtendedVniEgressRecord... type SFlowExtendedVniIngressRecord (line 2026) | type SFlowExtendedVniIngressRecord struct function decodeExtendedVniIngress (line 2031) | func decodeExtendedVniIngress(data *[]byte) (SFlowExtendedVniIngressReco... type SFlowBaseCounterRecord (line 2057) | type SFlowBaseCounterRecord struct method GetType (line 2063) | func (bcr SFlowBaseCounterRecord) GetType() SFlowCounterRecordType { type SFlowGenericInterfaceCounters (line 2143) | type SFlowGenericInterfaceCounters struct function decodeGenericInterfaceCounters (line 2166) | func decodeGenericInterfaceCounters(data *[]byte) (SFlowGenericInterface... type SFlowEthernetCounters (line 2209) | type SFlowEthernetCounters struct function decodeEthernetCounters (line 2226) | func decodeEthernetCounters(data *[]byte) (SFlowEthernetCounters, error) { type SFlowVLANCounters (line 2293) | type SFlowVLANCounters struct function decodeVLANCounters (line 2303) | func decodeVLANCounters(data *[]byte) (SFlowVLANCounters, error) { type SFLLACPPortState (line 2321) | type SFLLACPPortState struct type SFlowLACPCounters (line 2326) | type SFlowLACPCounters struct function decodeLACPCounters (line 2342) | func decodeLACPCounters(data *[]byte) (SFlowLACPCounters, error) { type SFlowProcessorCounters (line 2388) | type SFlowProcessorCounters struct function decodeProcessorCounters (line 2397) | func decodeProcessorCounters(data *[]byte) (SFlowProcessorCounters, erro... type SFlowEthernetFrameFlowRecord (line 2422) | type SFlowEthernetFrameFlowRecord struct function decodeEthernetFrameFlowRecord (line 2445) | func decodeEthernetFrameFlowRecord(data *[]byte) (SFlowEthernetFrameFlow... type SFlowOpenflowPortCounters (line 2461) | type SFlowOpenflowPortCounters struct function decodeOpenflowportCounters (line 2467) | func decodeOpenflowportCounters(data *[]byte) (SFlowOpenflowPortCounters... type SFlowAppresourcesCounters (line 2481) | type SFlowAppresourcesCounters struct function decodeAppresourcesCounters (line 2493) | func decodeAppresourcesCounters(data *[]byte) (SFlowAppresourcesCounters... type SFlowOVSDPCounters (line 2513) | type SFlowOVSDPCounters struct function decodeOVSDPCounters (line 2523) | func decodeOVSDPCounters(data *[]byte) (SFlowOVSDPCounters, error) { type SFlowPORTNAME (line 2541) | type SFlowPORTNAME struct function decodeString (line 2547) | func decodeString(data *[]byte) (len uint32, str string) { function decodePortnameCounters (line 2557) | func decodePortnameCounters(data *[]byte) (SFlowPORTNAME, error) { FILE: layers/sflow_test.go function TestDecodeUDPSFlow (line 407) | func TestDecodeUDPSFlow(t *testing.T) { function TestDecodeSFlowDatagram (line 431) | func TestDecodeSFlowDatagram(t *testing.T) { function TestPacketPacket0 (line 748) | func TestPacketPacket0(t *testing.T) { function TestDecodeProcessorCounter (line 1013) | func TestDecodeProcessorCounter(t *testing.T) { function TestDecodeExtendedSwitchFlow (line 1060) | func TestDecodeExtendedSwitchFlow(t *testing.T) { function TestDecodeExtendedRouterFlow (line 1113) | func TestDecodeExtendedRouterFlow(t *testing.T) { function TestDecodeExtendedRouterFlowIPv6 (line 1165) | func TestDecodeExtendedRouterFlowIPv6(t *testing.T) { function TestDecodeExtendedIpv4TunnelIngressFlow (line 1217) | func TestDecodeExtendedIpv4TunnelIngressFlow(t *testing.T) { function TestDecodeExtendedIpv4TunnelEgressFlow (line 1276) | func TestDecodeExtendedIpv4TunnelEgressFlow(t *testing.T) { function TestDecodeEthernetFrameFlow (line 1335) | func TestDecodeEthernetFrameFlow(t *testing.T) { function TestDecodePortnameCounter (line 1562) | func TestDecodePortnameCounter(t *testing.T) { function TestDecodeVLANCounter (line 1646) | func TestDecodeVLANCounter(t *testing.T) { function TestDecodeLACPCounter (line 1694) | func TestDecodeLACPCounter(t *testing.T) { function TestDecodeOpenflowCounter (line 1748) | func TestDecodeOpenflowCounter(t *testing.T) { function TestDecodeAppResourcesOvsdbCounter (line 1827) | func TestDecodeAppResourcesOvsdbCounter(t *testing.T) { function BenchmarkDecodeSFlowPacket1 (line 1878) | func BenchmarkDecodeSFlowPacket1(b *testing.B) { function BenchmarkDecodeSFlowPacket2 (line 1884) | func BenchmarkDecodeSFlowPacket2(b *testing.B) { function BenchmarkDecodeSFlowPacket3 (line 1890) | func BenchmarkDecodeSFlowPacket3(b *testing.B) { function BenchmarkDecodeSFlowPacket4 (line 1896) | func BenchmarkDecodeSFlowPacket4(b *testing.B) { function BenchmarkDecodeSFlowPacket9 (line 1902) | func BenchmarkDecodeSFlowPacket9(b *testing.B) { function BenchmarkDecodeSFlowPacket10 (line 1908) | func BenchmarkDecodeSFlowPacket10(b *testing.B) { function BenchmarkDecodeSFlowPacket11 (line 1914) | func BenchmarkDecodeSFlowPacket11(b *testing.B) { function BenchmarkDecodeSFlowLayerPacket1 (line 1920) | func BenchmarkDecodeSFlowLayerPacket1(b *testing.B) { function BenchmarkDecodeSFlowLayerPacket2 (line 1927) | func BenchmarkDecodeSFlowLayerPacket2(b *testing.B) { FILE: layers/sip.go type SIPVersion (line 20) | type SIPVersion method String (line 28) | func (sv SIPVersion) String() string { constant SIPVersion1 (line 24) | SIPVersion1 SIPVersion = 1 constant SIPVersion2 (line 25) | SIPVersion2 SIPVersion = 2 function GetSIPVersion (line 41) | func GetSIPVersion(version string) (SIPVersion, error) { type SIPMethod (line 55) | type SIPMethod method String (line 76) | func (sm SIPMethod) String() string { constant SIPMethodInvite (line 59) | SIPMethodInvite SIPMethod = 1 constant SIPMethodAck (line 60) | SIPMethodAck SIPMethod = 2 constant SIPMethodBye (line 61) | SIPMethodBye SIPMethod = 3 constant SIPMethodCancel (line 62) | SIPMethodCancel SIPMethod = 4 constant SIPMethodOptions (line 63) | SIPMethodOptions SIPMethod = 5 constant SIPMethodRegister (line 64) | SIPMethodRegister SIPMethod = 6 constant SIPMethodPrack (line 65) | SIPMethodPrack SIPMethod = 7 constant SIPMethodSubscribe (line 66) | SIPMethodSubscribe SIPMethod = 8 constant SIPMethodNotify (line 67) | SIPMethodNotify SIPMethod = 9 constant SIPMethodPublish (line 68) | SIPMethodPublish SIPMethod = 10 constant SIPMethodInfo (line 69) | SIPMethodInfo SIPMethod = 11 constant SIPMethodRefer (line 70) | SIPMethodRefer SIPMethod = 12 constant SIPMethodMessage (line 71) | SIPMethodMessage SIPMethod = 13 constant SIPMethodUpdate (line 72) | SIPMethodUpdate SIPMethod = 14 constant SIPMethodPing (line 73) | SIPMethodPing SIPMethod = 15 function GetSIPMethod (line 115) | func GetSIPMethod(method string) (SIPMethod, error) { type SIP (line 184) | type SIP struct method LayerType (line 227) | func (s *SIP) LayerType() gopacket.LayerType { method Payload (line 232) | func (s *SIP) Payload() []byte { method CanDecode (line 237) | func (s *SIP) CanDecode() gopacket.LayerClass { method NextLayerType (line 242) | func (s *SIP) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 247) | func (s *SIP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method ParseFirstLine (line 314) | func (s *SIP) ParseFirstLine(firstLine []byte) error { method ParseHeader (line 382) | func (s *SIP) ParseHeader(header []byte) (err error) { method ParseSpecificHeaders (line 422) | func (s *SIP) ParseSpecificHeaders(headerName string, headerValue stri... method GetAllHeaders (line 462) | func (s *SIP) GetAllHeaders() map[string][]string { method GetHeader (line 468) | func (s *SIP) GetHeader(headerName string) []string { method GetFirstHeader (line 484) | func (s *SIP) GetFirstHeader(headerName string) string { method GetAuthorization (line 498) | func (s *SIP) GetAuthorization() string { method GetFrom (line 504) | func (s *SIP) GetFrom() string { method GetTo (line 510) | func (s *SIP) GetTo() string { method GetContact (line 516) | func (s *SIP) GetContact() string { method GetCallID (line 522) | func (s *SIP) GetCallID() string { method GetUserAgent (line 528) | func (s *SIP) GetUserAgent() string { method GetContentLength (line 534) | func (s *SIP) GetContentLength() int64 { method GetCSeq (line 540) | func (s *SIP) GetCSeq() int64 { function decodeSIP (line 208) | func decodeSIP(data []byte, p gopacket.PacketBuilder) error { function NewSIP (line 220) | func NewSIP() *SIP { FILE: layers/sip_test.go function TestSIPMain (line 150) | func TestSIPMain(t *testing.T) { function _TestPacketSIP (line 161) | func _TestPacketSIP(t *testing.T, packetData []byte, methodWanted SIPMet... FILE: layers/stp.go type STPSwitchID (line 18) | type STPSwitchID struct type STP (line 25) | type STP struct method LayerType (line 41) | func (s *STP) LayerType() gopacket.LayerType { return LayerTypeSTP } method CanDecode (line 44) | func (s *STP) CanDecode() gopacket.LayerClass { method DecodeFromBytes (line 49) | func (stp *STP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method NextLayerType (line 80) | func (stp *STP) NextLayerType() gopacket.LayerType { method SerializeTo (line 99) | func (s *STP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... function checkPriority (line 85) | func checkPriority(prio uint16) (uint16, error) { function decodeSTP (line 147) | func decodeSTP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/stp_test.go function TestPacketSTPNilRdata (line 53) | func TestPacketSTPNilRdata(t *testing.T) { function TestDecodeSTPRData (line 62) | func TestDecodeSTPRData(t *testing.T) { function testEncodeDecodeSTP (line 102) | func testEncodeDecodeSTP(stp *STP) error { function TestEncodeDecodeSTP (line 130) | func TestEncodeDecodeSTP(t *testing.T) { FILE: layers/tcp.go type TCP (line 20) | type TCP struct method LayerType (line 131) | func (t *TCP) LayerType() gopacket.LayerType { return LayerTypeTCP } method SerializeTo (line 136) | func (t *TCP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... method ComputeChecksum (line 193) | func (t *TCP) ComputeChecksum() (uint16, error) { method flagsAndOffset (line 197) | func (t *TCP) flagsAndOffset() uint16 { method DecodeFromBytes (line 229) | func (tcp *TCP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method CanDecode (line 304) | func (t *TCP) CanDecode() gopacket.LayerClass { method NextLayerType (line 308) | func (t *TCP) NextLayerType() gopacket.LayerType { method TransportFlow (line 331) | func (t *TCP) TransportFlow() gopacket.Flow { method SetInternalPortsForTesting (line 336) | func (t *TCP) SetInternalPortsForTesting() { type TCPOptionKind (line 38) | type TCPOptionKind method String (line 59) | func (k TCPOptionKind) String() string { constant TCPOptionKindEndList (line 41) | TCPOptionKindEndList = 0 constant TCPOptionKindNop (line 42) | TCPOptionKindNop = 1 constant TCPOptionKindMSS (line 43) | TCPOptionKindMSS = 2 constant TCPOptionKindWindowScale (line 44) | TCPOptionKindWindowScale = 3 constant TCPOptionKindSACKPermitted (line 45) | TCPOptionKindSACKPermitted = 4 constant TCPOptionKindSACK (line 46) | TCPOptionKindSACK = 5 constant TCPOptionKindEcho (line 47) | TCPOptionKindEcho = 6 constant TCPOptionKindEchoReply (line 48) | TCPOptionKindEchoReply = 7 constant TCPOptionKindTimestamps (line 49) | TCPOptionKindTimestamps = 8 constant TCPOptionKindPartialOrderConnectionPermitted (line 50) | TCPOptionKindPartialOrderConnectionPermitted = 9 constant TCPOptionKindPartialOrderServiceProfile (line 51) | TCPOptionKindPartialOrderServiceProfile = 10 constant TCPOptionKindCC (line 52) | TCPOptionKindCC = 11 constant TCPOptionKindCCNew (line 53) | TCPOptionKindCCNew = 12 constant TCPOptionKindCCEcho (line 54) | TCPOptionKindCCEcho = 13 constant TCPOptionKindAltChecksum (line 55) | TCPOptionKindAltChecksum = 14 constant TCPOptionKindAltChecksumData (line 56) | TCPOptionKindAltChecksumData = 15 type TCPOption (line 98) | type TCPOption struct method String (line 104) | func (t TCPOption) String() string { function decodeTCP (line 316) | func decodeTCP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/tcp_test.go function TestTCPOptionKindString (line 16) | func TestTCPOptionKindString(t *testing.T) { function TestTCPSerializePadding (line 46) | func TestTCPSerializePadding(t *testing.T) { function TestPacketTCPOptionDecode (line 78) | func TestPacketTCPOptionDecode(t *testing.T) { FILE: layers/tcpip.go type tcpipchecksum (line 18) | type tcpipchecksum struct method computeChecksum (line 75) | func (c *tcpipchecksum) computeChecksum(headerAndPayload []byte, heade... method SetNetworkLayerForChecksum (line 94) | func (i *tcpipchecksum) SetNetworkLayerForChecksum(l gopacket.NetworkL... type tcpipPseudoHeader (line 22) | type tcpipPseudoHeader interface method pseudoheaderChecksum (line 26) | func (ip *IPv4) pseudoheaderChecksum() (csum uint32, err error) { method pseudoheaderChecksum (line 37) | func (ip *IPv6) pseudoheaderChecksum() (csum uint32, err error) { function tcpipChecksum (line 52) | func tcpipChecksum(data []byte, csum uint32) uint16 { FILE: layers/tcpip_test.go constant ipv4UDPChecksum (line 16) | ipv4UDPChecksum = uint16(0xbc5f) constant ipv6UDPChecksumWithIPv6DstOpts (line 17) | ipv6UDPChecksumWithIPv6DstOpts = uint16(0x4d21) constant ipv6UDPChecksumJumbogram (line 18) | ipv6UDPChecksumJumbogram = uint16(0xcda8) function createIPv4ChecksumTestLayer (line 21) | func createIPv4ChecksumTestLayer() (ip4 *IPv4) { function createIPv6ChecksumTestLayer (line 30) | func createIPv6ChecksumTestLayer() (ip6 *IPv6) { function createIPv6DestinationChecksumTestLayer (line 40) | func createIPv6DestinationChecksumTestLayer() (dst *IPv6Destination) { function createUDPChecksumTestLayer (line 50) | func createUDPChecksumTestLayer() (udp *UDP) { function TestIPv4UDPChecksum (line 57) | func TestIPv4UDPChecksum(t *testing.T) { function TestIPv6UDPChecksumWithIPv6DstOpts (line 95) | func TestIPv6UDPChecksumWithIPv6DstOpts(t *testing.T) { function TestIPv6JumbogramUDPChecksum (line 137) | func TestIPv6JumbogramUDPChecksum(t *testing.T) { FILE: layers/test_creator.py class Packet (line 15) | class Packet(object): method __init__ (line 18) | def __init__(self, packet_lines): method _DecodeText (line 23) | def _DecodeText(cls, packet_lines): method Test (line 35) | def Test(self, name, link_type): function GetTcpdumpOutput (line 61) | def GetTcpdumpOutput(filename): function TcpdumpOutputToPackets (line 67) | def TcpdumpOutputToPackets(output): function main (line 79) | def main(): FILE: layers/tls.go type TLSType (line 17) | type TLSType method String (line 29) | func (tt TLSType) String() string { constant TLSChangeCipherSpec (line 21) | TLSChangeCipherSpec TLSType = 20 constant TLSAlert (line 22) | TLSAlert TLSType = 21 constant TLSHandshake (line 23) | TLSHandshake TLSType = 22 constant TLSApplicationData (line 24) | TLSApplicationData TLSType = 23 constant TLSUnknown (line 25) | TLSUnknown TLSType = 255 type TLSVersion (line 45) | type TLSVersion method String (line 48) | func (tv TLSVersion) String() string { type TLS (line 84) | type TLS struct method LayerType (line 102) | func (t *TLS) LayerType() gopacket.LayerType { return LayerTypeTLS } method DecodeFromBytes (line 118) | func (t *TLS) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... method decodeTLSRecords (line 130) | func (t *TLS) decodeTLSRecords(data []byte, df gopacket.DecodeFeedback... method CanDecode (line 197) | func (t *TLS) CanDecode() gopacket.LayerClass { method NextLayerType (line 202) | func (t *TLS) NextLayerType() gopacket.LayerType { method Payload (line 207) | func (t *TLS) Payload() []byte { method SerializeTo (line 213) | func (t *TLS) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... type TLSRecordHeader (line 95) | type TLSRecordHeader struct function decodeTLS (line 106) | func decodeTLS(data []byte, p gopacket.PacketBuilder) error { function encodeHeader (line 277) | func encodeHeader(header TLSRecordHeader, data []byte, offset int) int { FILE: layers/tls_alert.go type TLSAlertLevel (line 17) | type TLSAlertLevel method String (line 98) | func (al TLSAlertLevel) String() string { type TLSAlertDescr (line 20) | type TLSAlertDescr method String (line 110) | func (ad TLSAlertDescr) String() string { constant TLSAlertWarning (line 23) | TLSAlertWarning TLSAlertLevel = 1 constant TLSAlertFatal (line 24) | TLSAlertFatal TLSAlertLevel = 2 constant TLSAlertUnknownLevel (line 25) | TLSAlertUnknownLevel TLSAlertLevel = 255 constant TLSAlertCloseNotify (line 27) | TLSAlertCloseNotify TLSAlertDescr = 0 constant TLSAlertUnexpectedMessage (line 28) | TLSAlertUnexpectedMessage TLSAlertDescr = 10 constant TLSAlertBadRecordMac (line 29) | TLSAlertBadRecordMac TLSAlertDescr = 20 constant TLSAlertDecryptionFailedRESERVED (line 30) | TLSAlertDecryptionFailedRESERVED TLSAlertDescr = 21 constant TLSAlertRecordOverflow (line 31) | TLSAlertRecordOverflow TLSAlertDescr = 22 constant TLSAlertDecompressionFailure (line 32) | TLSAlertDecompressionFailure TLSAlertDescr = 30 constant TLSAlertHandshakeFailure (line 33) | TLSAlertHandshakeFailure TLSAlertDescr = 40 constant TLSAlertNoCertificateRESERVED (line 34) | TLSAlertNoCertificateRESERVED TLSAlertDescr = 41 constant TLSAlertBadCertificate (line 35) | TLSAlertBadCertificate TLSAlertDescr = 42 constant TLSAlertUnsupportedCertificate (line 36) | TLSAlertUnsupportedCertificate TLSAlertDescr = 43 constant TLSAlertCertificateRevoked (line 37) | TLSAlertCertificateRevoked TLSAlertDescr = 44 constant TLSAlertCertificateExpired (line 38) | TLSAlertCertificateExpired TLSAlertDescr = 45 constant TLSAlertCertificateUnknown (line 39) | TLSAlertCertificateUnknown TLSAlertDescr = 46 constant TLSAlertIllegalParameter (line 40) | TLSAlertIllegalParameter TLSAlertDescr = 47 constant TLSAlertUnknownCa (line 41) | TLSAlertUnknownCa TLSAlertDescr = 48 constant TLSAlertAccessDenied (line 42) | TLSAlertAccessDenied TLSAlertDescr = 49 constant TLSAlertDecodeError (line 43) | TLSAlertDecodeError TLSAlertDescr = 50 constant TLSAlertDecryptError (line 44) | TLSAlertDecryptError TLSAlertDescr = 51 constant TLSAlertExportRestrictionRESERVED (line 45) | TLSAlertExportRestrictionRESERVED TLSAlertDescr = 60 constant TLSAlertProtocolVersion (line 46) | TLSAlertProtocolVersion TLSAlertDescr = 70 constant TLSAlertInsufficientSecurity (line 47) | TLSAlertInsufficientSecurity TLSAlertDescr = 71 constant TLSAlertInternalError (line 48) | TLSAlertInternalError TLSAlertDescr = 80 constant TLSAlertUserCanceled (line 49) | TLSAlertUserCanceled TLSAlertDescr = 90 constant TLSAlertNoRenegotiation (line 50) | TLSAlertNoRenegotiation TLSAlertDescr = 100 constant TLSAlertUnsupportedExtension (line 51) | TLSAlertUnsupportedExtension TLSAlertDescr = 110 constant TLSAlertUnknownDescription (line 52) | TLSAlertUnknownDescription TLSAlertDescr = 255 type TLSAlertRecord (line 64) | type TLSAlertRecord struct method decodeFromBytes (line 74) | func (t *TLSAlertRecord) decodeFromBytes(h TLSRecordHeader, data []byt... FILE: layers/tls_appdata.go type TLSAppDataRecord (line 16) | type TLSAppDataRecord struct method decodeFromBytes (line 22) | func (t *TLSAppDataRecord) decodeFromBytes(h TLSRecordHeader, data []b... FILE: layers/tls_cipherspec.go type TLSchangeCipherSpec (line 16) | type TLSchangeCipherSpec method String (line 57) | func (ccs TLSchangeCipherSpec) String() string { constant TLSChangecipherspecMessage (line 19) | TLSChangecipherspecMessage TLSchangeCipherSpec = 1 constant TLSChangecipherspecUnknown (line 20) | TLSChangecipherspecUnknown TLSchangeCipherSpec = 255 type TLSChangeCipherSpecRecord (line 30) | type TLSChangeCipherSpecRecord struct method decodeFromBytes (line 37) | func (t *TLSChangeCipherSpecRecord) decodeFromBytes(h TLSRecordHeader,... FILE: layers/tls_handshake.go type TLSHandshakeRecord (line 14) | type TLSHandshakeRecord struct method decodeFromBytes (line 19) | func (t *TLSHandshakeRecord) decodeFromBytes(h TLSRecordHeader, data [... FILE: layers/tls_test.go function TestParseTLSClientHello (line 231) | func TestParseTLSClientHello(t *testing.T) { function TestTLSClientHelloDecodeFromBytes (line 248) | func TestTLSClientHelloDecodeFromBytes(t *testing.T) { function TestParseTLSChangeCipherSpec (line 269) | func TestParseTLSChangeCipherSpec(t *testing.T) { function TestParseTLSAppData (line 286) | func TestParseTLSAppData(t *testing.T) { function TestSerializeTLSAppData (line 303) | func TestSerializeTLSAppData(t *testing.T) { function TestParseTLSMalformed (line 327) | func TestParseTLSMalformed(t *testing.T) { function TestParseTLSTooShort (line 334) | func TestParseTLSTooShort(t *testing.T) { function TestParseTLSLengthMismatch (line 341) | func TestParseTLSLengthMismatch(t *testing.T) { function TestParseTLSAlertEncrypted (line 352) | func TestParseTLSAlertEncrypted(t *testing.T) { function TestSerializeTLSAlertEncrypted (line 369) | func TestSerializeTLSAlertEncrypted(t *testing.T) { FILE: layers/udp.go type UDP (line 18) | type UDP struct method LayerType (line 28) | func (u *UDP) LayerType() gopacket.LayerType { return LayerTypeUDP } method DecodeFromBytes (line 30) | func (udp *UDP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedbac... method SerializeTo (line 61) | func (u *UDP) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Se... method CanDecode (line 98) | func (u *UDP) CanDecode() gopacket.LayerClass { method NextLayerType (line 105) | func (u *UDP) NextLayerType() gopacket.LayerType { method TransportFlow (line 123) | func (u *UDP) TransportFlow() gopacket.Flow { method SetInternalPortsForTesting (line 128) | func (u *UDP) SetInternalPortsForTesting() { function decodeUDP (line 112) | func decodeUDP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/udp_test.go function TestUDPPacketDNS (line 55) | func TestUDPPacketDNS(t *testing.T) { function loadDNS (line 97) | func loadDNS(dnspacket []byte, t *testing.T) *DNS { function TestDNSQueryA (line 130) | func TestDNSQueryA(t *testing.T) { function TestDNSRRA (line 197) | func TestDNSRRA(t *testing.T) { function TestDNSAAAA (line 293) | func TestDNSAAAA(t *testing.T) { function TestDNSMXSOA (line 338) | func TestDNSMXSOA(t *testing.T) { function BenchmarkDecodeDNS (line 352) | func BenchmarkDecodeDNS(b *testing.B) { function BenchmarkDecodeDNSLayer (line 357) | func BenchmarkDecodeDNSLayer(b *testing.B) { function TestDNSDoesNotMalloc (line 363) | func TestDNSDoesNotMalloc(t *testing.T) { FILE: layers/udplite.go type UDPLite (line 16) | type UDPLite struct method LayerType (line 25) | func (u *UDPLite) LayerType() gopacket.LayerType { return LayerTypeUDP... method TransportFlow (line 42) | func (u *UDPLite) TransportFlow() gopacket.Flow { function decodeUDPLite (line 27) | func decodeUDPLite(data []byte, p gopacket.PacketBuilder) error { FILE: layers/usb.go type USBEventType (line 15) | type USBEventType method String (line 23) | func (a USBEventType) String() string { constant USBEventTypeSubmit (line 18) | USBEventTypeSubmit USBEventType = 'S' constant USBEventTypeComplete (line 19) | USBEventTypeComplete USBEventType = 'C' constant USBEventTypeError (line 20) | USBEventTypeError USBEventType = 'E' type USBRequestBlockSetupRequest (line 36) | type USBRequestBlockSetupRequest method String (line 50) | func (a USBRequestBlockSetupRequest) String() string { constant USBRequestBlockSetupRequestGetStatus (line 39) | USBRequestBlockSetupRequestGetStatus USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestClearFeature (line 40) | USBRequestBlockSetupRequestClearFeature USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestSetFeature (line 41) | USBRequestBlockSetupRequestSetFeature USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestSetAddress (line 42) | USBRequestBlockSetupRequestSetAddress USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestGetDescriptor (line 43) | USBRequestBlockSetupRequestGetDescriptor USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestSetDescriptor (line 44) | USBRequestBlockSetupRequestSetDescriptor USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestGetConfiguration (line 45) | USBRequestBlockSetupRequestGetConfiguration USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestSetConfiguration (line 46) | USBRequestBlockSetupRequestSetConfiguration USBRequestBlockSetupRequest ... constant USBRequestBlockSetupRequestSetIdle (line 47) | USBRequestBlockSetupRequestSetIdle USBRequestBlockSetupRequest ... type USBTransportType (line 75) | type USBTransportType constant USBTransportTypeTransferIn (line 78) | USBTransportTypeTransferIn USBTransportType = 0x80 constant USBTransportTypeIsochronous (line 79) | USBTransportTypeIsochronous USBTransportType = 0x00 constant USBTransportTypeInterrupt (line 80) | USBTransportTypeInterrupt USBTransportType = 0x01 constant USBTransportTypeControl (line 81) | USBTransportTypeControl USBTransportType = 0x02 constant USBTransportTypeBulk (line 82) | USBTransportTypeBulk USBTransportType = 0x03 type USBDirectionType (line 85) | type USBDirectionType method String (line 93) | func (a USBDirectionType) String() string { constant USBDirectionTypeUnknown (line 88) | USBDirectionTypeUnknown USBDirectionType = iota constant USBDirectionTypeIn (line 89) | USBDirectionTypeIn constant USBDirectionTypeOut (line 90) | USBDirectionTypeOut type USB (line 105) | type USB struct method LayerType (line 128) | func (u *USB) LayerType() gopacket.LayerType { return LayerTypeUSB } method NextLayerType (line 130) | func (m *USB) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 145) | func (m *USB) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback)... function decodeUSB (line 139) | func decodeUSB(data []byte, p gopacket.PacketBuilder) error { type USBRequestBlockSetup (line 203) | type USBRequestBlockSetup struct method LayerType (line 212) | func (u *USBRequestBlockSetup) LayerType() gopacket.LayerType { return... method NextLayerType (line 214) | func (m *USBRequestBlockSetup) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 218) | func (m *USBRequestBlockSetup) DecodeFromBytes(data []byte, df gopacke... function decodeUSBRequestBlockSetup (line 229) | func decodeUSBRequestBlockSetup(data []byte, p gopacket.PacketBuilder) e... type USBControl (line 234) | type USBControl struct method LayerType (line 238) | func (u *USBControl) LayerType() gopacket.LayerType { return LayerType... method NextLayerType (line 240) | func (m *USBControl) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 244) | func (m *USBControl) DecodeFromBytes(data []byte, df gopacket.DecodeFe... function decodeUSBControl (line 249) | func decodeUSBControl(data []byte, p gopacket.PacketBuilder) error { type USBInterrupt (line 254) | type USBInterrupt struct method LayerType (line 258) | func (u *USBInterrupt) LayerType() gopacket.LayerType { return LayerTy... method NextLayerType (line 260) | func (m *USBInterrupt) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 264) | func (m *USBInterrupt) DecodeFromBytes(data []byte, df gopacket.Decode... function decodeUSBInterrupt (line 269) | func decodeUSBInterrupt(data []byte, p gopacket.PacketBuilder) error { type USBBulk (line 274) | type USBBulk struct method LayerType (line 278) | func (u *USBBulk) LayerType() gopacket.LayerType { return LayerTypeUSB... method NextLayerType (line 280) | func (m *USBBulk) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 284) | func (m *USBBulk) DecodeFromBytes(data []byte, df gopacket.DecodeFeedb... function decodeUSBBulk (line 289) | func decodeUSBBulk(data []byte, p gopacket.PacketBuilder) error { FILE: layers/usb_test.go function TestPacketUSB0 (line 34) | func TestPacketUSB0(t *testing.T) { function BenchmarkDecodePacketUSB0 (line 69) | func BenchmarkDecodePacketUSB0(b *testing.B) { FILE: layers/vrrp.go type VRRPv2Type (line 40) | type VRRPv2Type method String (line 48) | func (v VRRPv2Type) String() string { type VRRPv2AuthType (line 41) | type VRRPv2AuthType method String (line 63) | func (v VRRPv2AuthType) String() string { constant VRRPv2Advertisement (line 44) | VRRPv2Advertisement VRRPv2Type = 0x01 constant VRRPv2AuthNoAuth (line 58) | VRRPv2AuthNoAuth VRRPv2AuthType = 0x00 constant VRRPv2AuthReserved1 (line 59) | VRRPv2AuthReserved1 VRRPv2AuthType = 0x01 constant VRRPv2AuthReserved2 (line 60) | VRRPv2AuthReserved2 VRRPv2AuthType = 0x02 type VRRPv2 (line 77) | type VRRPv2 struct method LayerType (line 91) | func (v *VRRPv2) LayerType() gopacket.LayerType { return LayerTypeVRRP } method DecodeFromBytes (line 93) | func (v *VRRPv2) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method CanDecode (line 135) | func (v *VRRPv2) CanDecode() gopacket.LayerClass { method NextLayerType (line 140) | func (v *VRRPv2) NextLayerType() gopacket.LayerType { method Payload (line 145) | func (v *VRRPv2) Payload() []byte { function decodeVRRP (line 150) | func decodeVRRP(data []byte, p gopacket.PacketBuilder) error { FILE: layers/vrrp_test.go function TestVRRPPacketPacket0 (line 26) | func TestVRRPPacketPacket0(t *testing.T) { function BenchmarkDecodeVRRPPacket0 (line 51) | func BenchmarkDecodeVRRPPacket0(b *testing.B) { FILE: layers/vxlan.go type VXLAN (line 29) | type VXLAN struct method LayerType (line 40) | func (vx *VXLAN) LayerType() gopacket.LayerType { return LayerTypeVXLAN } method CanDecode (line 43) | func (vx *VXLAN) CanDecode() gopacket.LayerClass { method NextLayerType (line 48) | func (vx *VXLAN) NextLayerType() gopacket.LayerType { method DecodeFromBytes (line 53) | func (vx *VXLAN) DecodeFromBytes(data []byte, df gopacket.DecodeFeedba... method SerializeTo (line 94) | func (vx *VXLAN) SerializeTo(b gopacket.SerializeBuffer, opts gopacket... function decodeVXLAN (line 80) | func decodeVXLAN(data []byte, p gopacket.PacketBuilder) error { FILE: layers/vxlan_test.go function TestPacketVXLAN (line 51) | func TestPacketVXLAN(t *testing.T) { function BenchmarkDecodePacketVXLAN (line 82) | func BenchmarkDecodePacketVXLAN(b *testing.B) { function TestIsomorphicPacketVXLAN (line 88) | func TestIsomorphicPacketVXLAN(t *testing.T) { FILE: layers_decoder.go function LayersDecoder (line 11) | func LayersDecoder(dl DecodingLayerContainer, first LayerType, df Decode... FILE: layertype.go type LayerType (line 20) | type LayerType method Decode (line 87) | func (t LayerType) Decode(data []byte, c PacketBuilder) error { method String (line 101) | func (t LayerType) String() (s string) { type LayerTypeMetadata (line 23) | type LayerTypeMetadata struct type layerTypeMetadata (line 31) | type layerTypeMetadata struct constant maxLayerType (line 41) | maxLayerType = 2000 function RegisterLayerType (line 53) | func RegisterLayerType(num int, meta LayerTypeMetadata) LayerType { function OverrideLayerType (line 69) | func OverrideLayerType(num int, meta LayerTypeMetadata) LayerType { FILE: macs/benchmark_test.go function BenchmarkCheckEthernetPrefix (line 13) | func BenchmarkCheckEthernetPrefix(b *testing.B) { FILE: macs/gen.go constant header (line 30) | header = `// Copyright 2012 Google, Inc. All rights reserved. type mac (line 51) | type mac struct type macs (line 56) | type macs method Len (line 58) | func (m macs) Len() int { return len(m) } method Less (line 59) | func (m macs) Less(i, j int) bool { return bytes.Compare(m[i].prefix[:... method Swap (line 60) | func (m macs) Swap(i, j int) { m[i], m[j] = m[j], m[i] } function main (line 62) | func main() { FILE: packet.go type CaptureInfo (line 26) | type CaptureInfo struct type PacketMetadata (line 43) | type PacketMetadata struct type Packet (line 56) | type Packet interface type packet (line 106) | type packet struct method SetTruncated (line 129) | func (p *packet) SetTruncated() { method SetLinkLayer (line 133) | func (p *packet) SetLinkLayer(l LinkLayer) { method SetNetworkLayer (line 139) | func (p *packet) SetNetworkLayer(l NetworkLayer) { method SetTransportLayer (line 145) | func (p *packet) SetTransportLayer(l TransportLayer) { method SetApplicationLayer (line 151) | func (p *packet) SetApplicationLayer(l ApplicationLayer) { method SetErrorLayer (line 157) | func (p *packet) SetErrorLayer(l ErrorLayer) { method AddLayer (line 163) | func (p *packet) AddLayer(l Layer) { method DumpPacketData (line 168) | func (p *packet) DumpPacketData() { method Metadata (line 173) | func (p *packet) Metadata() *PacketMetadata { method Data (line 177) | func (p *packet) Data() []byte { method DecodeOptions (line 181) | func (p *packet) DecodeOptions() *DecodeOptions { method addFinalDecodeError (line 185) | func (p *packet) addFinalDecodeError(err error, stack []byte) { method recoverDecodeError (line 196) | func (p *packet) recoverDecodeError() { method packetString (line 400) | func (p *packet) packetString() string { method packetDump (line 419) | func (p *packet) packetDump() string { function LayerString (line 216) | func LayerString(l Layer) string { type Dumper (line 222) | type Dumper interface function LayerDump (line 229) | func LayerDump(l Layer) string { function layerString (line 255) | func layerString(v reflect.Value, anonymous bool, writeSpace bool) string { constant longBytesLength (line 316) | longBytesLength = 128 function LongBytesGoString (line 323) | func LongBytesGoString(buf []byte) string { function baseLayerString (line 332) | func baseLayerString(value reflect.Value) string { function layerGoString (line 349) | func layerGoString(i interface{}, b *bytes.Buffer) { function LayerGoString (line 394) | func LayerGoString(l Layer) string { type eagerPacket (line 431) | type eagerPacket struct method NextDecoder (line 437) | func (p *eagerPacket) NextDecoder(next Decoder) error { method initialDecode (line 451) | func (p *eagerPacket) initialDecode(dec Decoder) { method LinkLayer (line 458) | func (p *eagerPacket) LinkLayer() LinkLayer { method NetworkLayer (line 461) | func (p *eagerPacket) NetworkLayer() NetworkLayer { method TransportLayer (line 464) | func (p *eagerPacket) TransportLayer() TransportLayer { method ApplicationLayer (line 467) | func (p *eagerPacket) ApplicationLayer() ApplicationLayer { method ErrorLayer (line 470) | func (p *eagerPacket) ErrorLayer() ErrorLayer { method Layers (line 473) | func (p *eagerPacket) Layers() []Layer { method Layer (line 476) | func (p *eagerPacket) Layer(t LayerType) Layer { method LayerClass (line 484) | func (p *eagerPacket) LayerClass(lc LayerClass) Layer { method String (line 492) | func (p *eagerPacket) String() string { return p.packetString() } method Dump (line 493) | func (p *eagerPacket) Dump() string { return p.packetDump() } type lazyPacket (line 499) | type lazyPacket struct method NextDecoder (line 504) | func (p *lazyPacket) NextDecoder(next Decoder) error { method decodeNextLayer (line 511) | func (p *lazyPacket) decodeNextLayer() { method LinkLayer (line 532) | func (p *lazyPacket) LinkLayer() LinkLayer { method NetworkLayer (line 538) | func (p *lazyPacket) NetworkLayer() NetworkLayer { method TransportLayer (line 544) | func (p *lazyPacket) TransportLayer() TransportLayer { method ApplicationLayer (line 550) | func (p *lazyPacket) ApplicationLayer() ApplicationLayer { method ErrorLayer (line 556) | func (p *lazyPacket) ErrorLayer() ErrorLayer { method Layers (line 562) | func (p *lazyPacket) Layers() []Layer { method Layer (line 568) | func (p *lazyPacket) Layer(t LayerType) Layer { method LayerClass (line 586) | func (p *lazyPacket) LayerClass(lc LayerClass) Layer { method String (line 604) | func (p *lazyPacket) String() string { p.Layers(); return p.packetStri... method Dump (line 605) | func (p *lazyPacket) Dump() string { p.Layers(); return p.packetDump... type DecodeOptions (line 608) | type DecodeOptions struct function NewPacket (line 654) | func NewPacket(data []byte, firstLayerDecoder Decoder, options DecodeOpt... type PacketDataSource (line 691) | type PacketDataSource interface function ConcatFinitePacketDataSources (line 707) | func ConcatFinitePacketDataSources(pds ...PacketDataSource) PacketDataSo... type concat (line 712) | type concat method ReadPacketData (line 714) | func (c *concat) ReadPacketData() (data []byte, ci CaptureInfo, err er... type ZeroCopyPacketDataSource (line 730) | type ZeroCopyPacketDataSource interface type PacketSource (line 780) | type PacketSource struct method NextPacket (line 800) | func (p *PacketSource) NextPacket() (Packet, error) { method packetsToChannel (line 815) | func (p *PacketSource) packetsToChannel() { method Packets (line 858) | func (p *PacketSource) Packets() chan Packet { function NewPacketSource (line 791) | func NewPacketSource(source PacketDataSource, decoder Decoder) *PacketSo... FILE: packet_test.go type embedded (line 15) | type embedded struct type embedding (line 19) | type embedding struct function TestDumpEmbedded (line 24) | func TestDumpEmbedded(t *testing.T) { type singlePacketSource (line 31) | type singlePacketSource method ReadPacketData (line 33) | func (s *singlePacketSource) ReadPacketData() ([]byte, CaptureInfo, er... function TestConcatPacketSources (line 42) | func TestConcatPacketSources(t *testing.T) { FILE: parser.go type decodingLayerElem (line 14) | type decodingLayerElem struct type DecodingLayer (line 29) | type DecodingLayer interface type DecodingLayerFunc (line 52) | type DecodingLayerFunc type DecodingLayerContainer (line 56) | type DecodingLayerContainer interface type DecodingLayerSparse (line 74) | type DecodingLayerSparse method Put (line 77) | func (dl DecodingLayerSparse) Put(d DecodingLayer) DecodingLayerContai... method LayersDecoder (line 96) | func (dl DecodingLayerSparse) LayersDecoder(first LayerType, df Decode... method Decoder (line 101) | func (dl DecodingLayerSparse) Decoder(typ LayerType) (DecodingLayer, b... type DecodingLayerArray (line 112) | type DecodingLayerArray method Put (line 115) | func (dl DecodingLayerArray) Put(d DecodingLayer) DecodingLayerContain... method Decoder (line 130) | func (dl DecodingLayerArray) Decoder(typ LayerType) (DecodingLayer, bo... method LayersDecoder (line 140) | func (dl DecodingLayerArray) LayersDecoder(first LayerType, df DecodeF... type DecodingLayerMap (line 147) | type DecodingLayerMap method Put (line 150) | func (dl DecodingLayerMap) Put(d DecodingLayer) DecodingLayerContainer { method Decoder (line 161) | func (dl DecodingLayerMap) Decoder(typ LayerType) (DecodingLayer, bool) { method LayersDecoder (line 167) | func (dl DecodingLayerMap) LayersDecoder(first LayerType, df DecodeFee... type DecodingLayerParser (line 182) | type DecodingLayerParser struct method AddDecodingLayer (line 200) | func (l *DecodingLayerParser) AddDecodingLayer(d DecodingLayer) { method SetTruncated (line 207) | func (l *DecodingLayerParser) SetTruncated() { method SetDecodingLayerContainer (line 238) | func (l *DecodingLayerParser) SetDecodingLayerContainer(dlc DecodingLa... method DecodeLayers (line 302) | func (l *DecodingLayerParser) DecodeLayers(data []byte, decoded *[]Lay... function NewDecodingLayerParser (line 222) | func NewDecodingLayerParser(first LayerType, decoders ...DecodingLayer) ... type UnsupportedLayerType (line 320) | type UnsupportedLayerType method Error (line 324) | func (e UnsupportedLayerType) Error() string { function panicToError (line 328) | func panicToError(e *error) { type DecodingLayerParserOptions (line 336) | type DecodingLayerParserOptions struct FILE: pcap/bpf_test.go function BenchmarkPcapNonmatchingBPFFilter (line 32) | func BenchmarkPcapNonmatchingBPFFilter(b *testing.B) { function BenchmarkPcapMatchingBPFFilter (line 52) | func BenchmarkPcapMatchingBPFFilter(b *testing.B) { FILE: pcap/defs_windows_386.go constant errorBufferSize (line 15) | errorBufferSize = 0x100 constant pcapErrorNotActivated (line 18) | pcapErrorNotActivated = -0x3 constant pcapErrorActivated (line 19) | pcapErrorActivated = -0x4 constant pcapWarningPromisc (line 20) | pcapWarningPromisc = 0x2 constant pcapErrorNoSuchDevice (line 21) | pcapErrorNoSuchDevice = -0x5 constant pcapErrorDenied (line 22) | pcapErrorDenied = -0x8 constant pcapErrorNotUp (line 23) | pcapErrorNotUp = -0x9 constant pcapError (line 24) | pcapError = -0x1 constant pcapWarning (line 25) | pcapWarning = 0x1 constant pcapDIN (line 26) | pcapDIN = 0x1 constant pcapDOUT (line 27) | pcapDOUT = 0x2 constant pcapDINOUT (line 28) | pcapDINOUT = 0x0 constant pcapNetmaskUnknown (line 29) | pcapNetmaskUnknown = 0xffffffff constant pcapTstampPrecisionMicro (line 30) | pcapTstampPrecisionMicro = 0x0 constant pcapTstampPrecisionNano (line 31) | pcapTstampPrecisionNano = 0x1 type timeval (line 34) | type timeval struct type pcapPkthdr (line 38) | type pcapPkthdr struct type pcapTPtr (line 43) | type pcapTPtr type pcapBpfInstruction (line 44) | type pcapBpfInstruction struct type pcapBpfProgram (line 50) | type pcapBpfProgram struct type pcapStats (line 54) | type pcapStats struct type pcapCint (line 59) | type pcapCint type pcapIf (line 60) | type pcapIf struct type pcapAddr (line 68) | type pcapAddr struct FILE: pcap/defs_windows_amd64.go constant errorBufferSize (line 15) | errorBufferSize = 0x100 constant pcapErrorNotActivated (line 18) | pcapErrorNotActivated = -0x3 constant pcapErrorActivated (line 19) | pcapErrorActivated = -0x4 constant pcapWarningPromisc (line 20) | pcapWarningPromisc = 0x2 constant pcapErrorNoSuchDevice (line 21) | pcapErrorNoSuchDevice = -0x5 constant pcapErrorDenied (line 22) | pcapErrorDenied = -0x8 constant pcapErrorNotUp (line 23) | pcapErrorNotUp = -0x9 constant pcapError (line 24) | pcapError = -0x1 constant pcapWarning (line 25) | pcapWarning = 0x1 constant pcapDIN (line 26) | pcapDIN = 0x1 constant pcapDOUT (line 27) | pcapDOUT = 0x2 constant pcapDINOUT (line 28) | pcapDINOUT = 0x0 constant pcapNetmaskUnknown (line 29) | pcapNetmaskUnknown = 0xffffffff constant pcapTstampPrecisionMicro (line 30) | pcapTstampPrecisionMicro = 0x0 constant pcapTstampPrecisionNano (line 31) | pcapTstampPrecisionNano = 0x1 type timeval (line 34) | type timeval struct type pcapPkthdr (line 38) | type pcapPkthdr struct type pcapTPtr (line 43) | type pcapTPtr type pcapBpfInstruction (line 44) | type pcapBpfInstruction struct type pcapBpfProgram (line 50) | type pcapBpfProgram struct type pcapStats (line 55) | type pcapStats struct type pcapCint (line 60) | type pcapCint type pcapIf (line 61) | type pcapIf struct type pcapAddr (line 70) | type pcapAddr struct FILE: pcap/generate_defs.go constant header (line 28) | header = `// Copyright 2019 The GoPacket Authors. All rights reserved. constant source (line 40) | source = ` function main (line 81) | func main() { FILE: pcap/gopacket_benchmark/benchmark.go type BufferPacketSource (line 46) | type BufferPacketSource struct method ReadPacketData (line 68) | func (b *BufferPacketSource) ReadPacketData() (data []byte, ci gopacke... method Reset (line 79) | func (b *BufferPacketSource) Reset() { function NewBufferPacketSource (line 52) | func NewBufferPacketSource(p gopacket.PacketDataSource) *BufferPacketSou... function main (line 84) | func main() { function benchmarkPacketDecode (line 166) | func benchmarkPacketDecode(packetSource *gopacket.PacketSource) { type streamFactory (line 198) | type streamFactory struct method New (line 201) | func (s *streamFactory) New(netFlow, tcpFlow gopacket.Flow) tcpassembl... method Reassembled (line 204) | func (s *streamFactory) Reassembled([]tcpassembly.Reassembly) { method ReassemblyComplete (line 206) | func (s *streamFactory) ReassemblyComplete() { function benchmarkLayerDecode (line 209) | func benchmarkLayerDecode(source *BufferPacketSource, assemble bool) { FILE: pcap/pcap.go constant ErrNotActive (line 30) | ErrNotActive = pcapErrorNotActivated constant MaxBpfInstructions (line 36) | MaxBpfInstructions = 4096 constant bpfInstructionBufferSize (line 39) | bpfInstructionBufferSize = 8 * MaxBpfInstructions type Handle (line 46) | type Handle struct method ReadPacketData (line 250) | func (p *Handle) ReadPacketData() (data []byte, ci gopacket.CaptureInf... method getNextBufPtrLocked (line 302) | func (p *Handle) getNextBufPtrLocked(ci *gopacket.CaptureInfo) error { method ZeroCopyReadPacketData (line 361) | func (p *Handle) ZeroCopyReadPacketData() (data []byte, ci gopacket.Ca... method Close (line 378) | func (p *Handle) Close() { method Error (line 396) | func (p *Handle) Error() error { method Stats (line 401) | func (p *Handle) Stats() (stat *Stats, err error) { method ListDataLinks (line 406) | func (p *Handle) ListDataLinks() (datalinks []Datalink, err error) { method compileBPFFilter (line 415) | func (p *Handle) compileBPFFilter(expr string) (pcapBpfProgram, error) { method CompileBPFFilter (line 444) | func (p *Handle) CompileBPFFilter(expr string) ([]BPFInstruction, erro... method SetBPFFilter (line 455) | func (p *Handle) SetBPFFilter(expr string) (err error) { method SetBPFInstructionFilter (line 494) | func (p *Handle) SetBPFInstructionFilter(bpfInstructions []BPFInstruct... method NewBPF (line 520) | func (p *Handle) NewBPF(expr string) (*BPF, error) { method NewBPFInstructionFilter (line 559) | func (p *Handle) NewBPFInstructionFilter(bpfInstructions []BPFInstruct... method LinkType (line 591) | func (p *Handle) LinkType() layers.LinkType { method SetLinkType (line 596) | func (p *Handle) SetLinkType(dlt layers.LinkType) error { method WritePacketData (line 695) | func (p *Handle) WritePacketData(data []byte) (err error) { method SetDirection (line 710) | func (p *Handle) SetDirection(direction Direction) error { method SnapLen (line 718) | func (p *Handle) SnapLen() int { method Resolution (line 723) | func (p *Handle) Resolution() gopacket.TimestampResolution { type Stats (line 70) | type Stats struct type Interface (line 77) | type Interface struct type Datalink (line 85) | type Datalink struct type InterfaceAddress (line 92) | type InterfaceAddress struct type bpfFilter (line 102) | type bpfFilter struct type BPF (line 107) | type BPF struct method String (line 576) | func (b *BPF) String() string { method Matches (line 581) | func (b *BPF) Matches(ci gopacket.CaptureInfo, data []byte) bool { type BPFInstruction (line 114) | type BPFInstruction struct constant BlockForever (line 124) | BlockForever = -time.Millisecond * 10 function timeoutMillis (line 126) | func timeoutMillis(timeout time.Duration) int { function OpenLive (line 145) | func OpenLive(device string, snaplen int32, promisc bool, timeout time.D... function OpenOffline (line 186) | func OpenOffline(file string) (handle *Handle, err error) { function OpenOfflineFile (line 203) | func OpenOfflineFile(file *os.File) (handle *Handle, err error) { type NextError (line 217) | type NextError method Error (line 220) | func (n NextError) Error() string { constant NextErrorOk (line 238) | NextErrorOk NextError = 1 constant NextErrorTimeoutExpired (line 239) | NextErrorTimeoutExpired NextError = 0 constant NextErrorReadError (line 240) | NextErrorReadError NextError = -1 constant NextErrorNoMorePackets (line 243) | NextErrorNoMorePackets NextError = -2 constant NextErrorNotActivated (line 244) | NextErrorNotActivated NextError = -3 type activateError (line 264) | type activateError method Error (line 277) | func (a activateError) Error() string { constant aeNoError (line 267) | aeNoError = activateError(0) constant aeActivated (line 268) | aeActivated = activateError(pcapErrorActivated) constant aePromisc (line 269) | aePromisc = activateError(pcapWarningPromisc) constant aeNoSuchDevice (line 270) | aeNoSuchDevice = activateError(pcapErrorNoSuchDevice) constant aeDenied (line 271) | aeDenied = activateError(pcapErrorDenied) constant aeNotUp (line 272) | aeNotUp = activateError(pcapErrorNotUp) constant aeWarning (line 273) | aeWarning = activateError(pcapWarning) constant aeError (line 274) | aeError = activateError(pcapError) function CompileBPFFilter (line 434) | func CompileBPFFilter(linkType layers.LinkType, captureLength int, expr ... function bpfInstructionFilter (line 504) | func bpfInstructionFilter(bpfInstructions []BPFInstruction) (bpf pcapBpf... function NewBPF (line 544) | func NewBPF(linkType layers.LinkType, captureLength int, expr string) (*... function destroyBPF (line 571) | func destroyBPF(bpf *BPF) { function Version (line 586) | func Version() string { function DatalinkValToName (line 601) | func DatalinkValToName(dlt int) string { function DatalinkValToDescription (line 606) | func DatalinkValToDescription(dlt int) string { function DatalinkNameToVal (line 611) | func DatalinkNameToVal(name string) int { function FindAllDevs (line 616) | func FindAllDevs() (ifs []Interface, err error) { function findalladdresses (line 634) | func findalladdresses(addresses pcapAddresses) (retval []InterfaceAddres... function sockaddrToIP (line 669) | func sockaddrToIP(rsa *syscall.RawSockaddr) (IP []byte, err error) { type Direction (line 700) | type Direction constant DirectionIn (line 704) | DirectionIn = Direction(pcapDIN) constant DirectionOut (line 705) | DirectionOut = Direction(pcapDOUT) constant DirectionInOut (line 706) | DirectionInOut = Direction(pcapDINOUT) type TimestampSource (line 731) | type TimestampSource method String (line 734) | func (t TimestampSource) String() string { function TimestampSourceFromString (line 740) | func TimestampSourceFromString(s string) (TimestampSource, error) { type InactiveHandle (line 746) | type InactiveHandle struct method Error (line 758) | func (p *InactiveHandle) Error() error { method Activate (line 764) | func (p *InactiveHandle) Activate() (*Handle, error) { method CleanUp (line 793) | func (p *InactiveHandle) CleanUp() { method SetSnapLen (line 821) | func (p *InactiveHandle) SetSnapLen(snaplen int) error { method SetPromisc (line 827) | func (p *InactiveHandle) SetPromisc(promisc bool) error { method SetTimeout (line 834) | func (p *InactiveHandle) SetTimeout(timeout time.Duration) error { method SupportedTimestamps (line 845) | func (p *InactiveHandle) SupportedTimestamps() (out []TimestampSource) { method SetTimestampSource (line 851) | func (p *InactiveHandle) SetTimestampSource(t TimestampSource) error { method SetRFMon (line 862) | func (p *InactiveHandle) SetRFMon(monitor bool) error { method SetBufferSize (line 867) | func (p *InactiveHandle) SetBufferSize(bufferSize int) error { method SetImmediateMode (line 874) | func (p *InactiveHandle) SetImmediateMode(mode bool) error { function NewInactiveHandle (line 801) | func NewInactiveHandle(device string) (*InactiveHandle, error) { FILE: pcap/pcap_test.go function TestPcapNonexistentFile (line 21) | func TestPcapNonexistentFile(t *testing.T) { function TestPcapFileRead (line 33) | func TestPcapFileRead(t *testing.T) { function TestBPF (line 120) | func TestBPF(t *testing.T) { function TestBPFInstruction (line 154) | func TestBPFInstruction(t *testing.T) { function ExampleBPF (line 264) | func ExampleBPF() { FILE: pcap/pcap_tester.go function generatePackets (line 27) | func generatePackets() { function main (line 35) | func main() { function tryCapture (line 53) | func tryCapture(iface pcap.Interface) error { FILE: pcap/pcap_unix.go constant errorBufferSize (line 169) | errorBufferSize = C.PCAP_ERRBUF_SIZE constant pcapErrorNotActivated (line 172) | pcapErrorNotActivated = C.PCAP_ERROR_NOT_ACTIVATED constant pcapErrorActivated (line 173) | pcapErrorActivated = C.PCAP_ERROR_ACTIVATED constant pcapWarningPromisc (line 174) | pcapWarningPromisc = C.PCAP_WARNING_PROMISC_NOTSUP constant pcapErrorNoSuchDevice (line 175) | pcapErrorNoSuchDevice = C.PCAP_ERROR_NO_SUCH_DEVICE constant pcapErrorDenied (line 176) | pcapErrorDenied = C.PCAP_ERROR_PERM_DENIED constant pcapErrorNotUp (line 177) | pcapErrorNotUp = C.PCAP_ERROR_IFACE_NOT_UP constant pcapWarning (line 178) | pcapWarning = C.PCAP_WARNING constant pcapError (line 179) | pcapError = C.PCAP_ERROR constant pcapDIN (line 180) | pcapDIN = C.PCAP_D_IN constant pcapDOUT (line 181) | pcapDOUT = C.PCAP_D_OUT constant pcapDINOUT (line 182) | pcapDINOUT = C.PCAP_D_INOUT constant pcapNetmaskUnknown (line 183) | pcapNetmaskUnknown = C.PCAP_NETMASK_UNKNOWN constant pcapTstampPrecisionMicro (line 184) | pcapTstampPrecisionMicro = C.PCAP_TSTAMP_PRECISION_MICRO constant pcapTstampPrecisionNano (line 185) | pcapTstampPrecisionNano = C.PCAP_TSTAMP_PRECISION_NANO type pcapPkthdr (line 188) | type pcapPkthdr method getSec (line 192) | func (h *pcapPkthdr) getSec() int64 { method getUsec (line 196) | func (h *pcapPkthdr) getUsec() int64 { method getLen (line 200) | func (h *pcapPkthdr) getLen() int { method getCaplen (line 204) | func (h *pcapPkthdr) getCaplen() int { type pcapTPtr (line 189) | type pcapTPtr type pcapBpfProgram (line 190) | type pcapBpfProgram method free (line 290) | func (p pcapBpfProgram) free() { method toBPFInstruction (line 294) | func (p pcapBpfProgram) toBPFInstruction() []BPFInstruction { function pcapGetTstampPrecision (line 208) | func pcapGetTstampPrecision(cptr pcapTPtr) int { function pcapSetTstampPrecision (line 212) | func pcapSetTstampPrecision(cptr pcapTPtr, precision int) error { function statusError (line 220) | func statusError(status C.int) error { function pcapOpenLive (line 224) | func pcapOpenLive(device string, snaplen int, pro int, timeout int) (*Ha... function openOffline (line 238) | func openOffline(file string) (handle *Handle, err error) { method pcapClose (line 251) | func (p *Handle) pcapClose() { method pcapGeterr (line 258) | func (p *Handle) pcapGeterr() error { method pcapStats (line 262) | func (p *Handle) pcapStats() (*Stats, error) { method pcapCompile (line 277) | func (p *Handle) pcapCompile(expr string, maskp uint32) (pcapBpfProgram,... function pcapBpfProgramFromInstructions (line 307) | func pcapBpfProgramFromInstructions(bpfInstructions []BPFInstruction) pc... function pcapLookupnet (line 324) | func pcapLookupnet(device string) (netp, maskp uint32, err error) { method pcapOfflineFilter (line 342) | func (b *BPF) pcapOfflineFilter(ci gopacket.CaptureInfo, data []byte) bo... method pcapSetfilter (line 354) | func (p *Handle) pcapSetfilter(bpf pcapBpfProgram) error { method pcapListDatalinks (line 361) | func (p *Handle) pcapListDatalinks() (datalinks []Datalink, err error) { function pcapOpenDead (line 383) | func pcapOpenDead(linkType layers.LinkType, captureLength int) (*Handle,... method pcapNextPacketEx (line 392) | func (p *Handle) pcapNextPacketEx() NextError { method pcapDatalink (line 401) | func (p *Handle) pcapDatalink() layers.LinkType { method pcapSetDatalink (line 405) | func (p *Handle) pcapSetDatalink(dlt layers.LinkType) error { function pcapDatalinkValToName (line 412) | func pcapDatalinkValToName(dlt int) string { function pcapDatalinkValToDescription (line 416) | func pcapDatalinkValToDescription(dlt int) string { function pcapDatalinkNameToVal (line 420) | func pcapDatalinkNameToVal(name string) int { function pcapLibVersion (line 426) | func pcapLibVersion() string { method isOpen (line 430) | func (p *Handle) isOpen() bool { type pcapDevices (line 434) | type pcapDevices struct method free (line 438) | func (p pcapDevices) free() { method next (line 442) | func (p *pcapDevices) next() bool { method name (line 457) | func (p pcapDevices) name() string { method description (line 461) | func (p pcapDevices) description() string { method flags (line 465) | func (p pcapDevices) flags() uint32 { method addresses (line 504) | func (p pcapDevices) addresses() pcapAddresses { type pcapAddresses (line 469) | type pcapAddresses struct method next (line 473) | func (p *pcapAddresses) next() bool { method addr (line 488) | func (p pcapAddresses) addr() *syscall.RawSockaddr { method netmask (line 492) | func (p pcapAddresses) netmask() *syscall.RawSockaddr { method broadaddr (line 496) | func (p pcapAddresses) broadaddr() *syscall.RawSockaddr { method dstaddr (line 500) | func (p pcapAddresses) dstaddr() *syscall.RawSockaddr { function pcapFindAllDevs (line 508) | func pcapFindAllDevs() (pcapDevices, error) { method pcapSendpacket (line 520) | func (p *Handle) pcapSendpacket(data []byte) error { method pcapSetdirection (line 527) | func (p *Handle) pcapSetdirection(direction Direction) error { method pcapSnapshot (line 534) | func (p *Handle) pcapSnapshot() int { method pcapTstampTypeValToName (line 538) | func (t TimestampSource) pcapTstampTypeValToName() string { function pcapTstampTypeNameToVal (line 542) | func pcapTstampTypeNameToVal(s string) (TimestampSource, error) { method pcapGeterr (line 552) | func (p *InactiveHandle) pcapGeterr() error { method pcapActivate (line 556) | func (p *InactiveHandle) pcapActivate() (*Handle, activateError) { method pcapClose (line 568) | func (p *InactiveHandle) pcapClose() { function pcapCreate (line 574) | func pcapCreate(device string) (*InactiveHandle, error) { method pcapSetSnaplen (line 587) | func (p *InactiveHandle) pcapSetSnaplen(snaplen int) error { method pcapSetPromisc (line 594) | func (p *InactiveHandle) pcapSetPromisc(promisc bool) error { method pcapSetTimeout (line 605) | func (p *InactiveHandle) pcapSetTimeout(timeout time.Duration) error { method pcapListTstampTypes (line 612) | func (p *InactiveHandle) pcapListTstampTypes() (out []TimestampSource) { method pcapSetTstampType (line 626) | func (p *InactiveHandle) pcapSetTstampType(t TimestampSource) error { method pcapSetRfmon (line 633) | func (p *InactiveHandle) pcapSetRfmon(monitor bool) error { method pcapSetBufferSize (line 652) | func (p *InactiveHandle) pcapSetBufferSize(bufferSize int) error { method pcapSetImmediateMode (line 659) | func (p *InactiveHandle) pcapSetImmediateMode(mode bool) error { method setNonBlocking (line 670) | func (p *Handle) setNonBlocking() error { method waitForPacket (line 684) | func (p *Handle) waitForPacket() { function openOfflineFile (line 695) | func openOfflineFile(file *os.File) (handle *Handle, err error) { FILE: pcap/pcap_windows.go constant npcapPath (line 27) | npcapPath = "\\Npcap" function initDllPath (line 29) | func initDllPath(kernel32 syscall.Handle) { function initLoadedDllPath (line 54) | func initLoadedDllPath(kernel32 syscall.Handle) { function mustLoad (line 69) | func mustLoad(fun string) uintptr { function mightLoad (line 77) | func mightLoad(fun string) uintptr { function byteSliceToString (line 85) | func byteSliceToString(bval []byte) string { function bytePtrToString (line 97) | func bytePtrToString(r uintptr) string { function init (line 157) | func init() { function LoadWinPCAP (line 162) | func LoadWinPCAP() error { method getSec (line 255) | func (h *pcapPkthdr) getSec() int64 { method getUsec (line 259) | func (h *pcapPkthdr) getUsec() int64 { method getLen (line 263) | func (h *pcapPkthdr) getLen() int { method getCaplen (line 267) | func (h *pcapPkthdr) getCaplen() int { function statusError (line 271) | func statusError(status pcapCint) error { function pcapGetTstampPrecision (line 281) | func pcapGetTstampPrecision(cptr pcapTPtr) int { function pcapSetTstampPrecision (line 289) | func pcapSetTstampPrecision(cptr pcapTPtr, precision int) error { function pcapOpenLive (line 300) | func pcapOpenLive(device string, snaplen int, pro int, timeout int) (*Ha... function openOffline (line 320) | func openOffline(file string) (handle *Handle, err error) { method pcapClose (line 347) | func (p *Handle) pcapClose() { method pcapGeterr (line 354) | func (p *Handle) pcapGeterr() error { method pcapStats (line 359) | func (p *Handle) pcapStats() (*Stats, error) { method pcapCompile (line 375) | func (p *Handle) pcapCompile(expr string, maskp uint32) (pcapBpfProgram,... method free (line 390) | func (p pcapBpfProgram) free() { method toBPFInstruction (line 394) | func (p pcapBpfProgram) toBPFInstruction() []BPFInstruction { function pcapBpfProgramFromInstructions (line 407) | func pcapBpfProgramFromInstructions(bpfInstructions []BPFInstruction) pc... function pcapLookupnet (line 424) | func pcapLookupnet(device string) (netp, maskp uint32, err error) { method pcapOfflineFilter (line 442) | func (b *BPF) pcapOfflineFilter(ci gopacket.CaptureInfo, data []byte) bo... method pcapSetfilter (line 452) | func (p *Handle) pcapSetfilter(bpf pcapBpfProgram) error { method pcapListDatalinks (line 460) | func (p *Handle) pcapListDatalinks() (datalinks []Datalink, err error) { function pcapOpenDead (line 483) | func pcapOpenDead(linkType layers.LinkType, captureLength int) (*Handle,... method pcapNextPacketEx (line 497) | func (p *Handle) pcapNextPacketEx() NextError { method pcapDatalink (line 509) | func (p *Handle) pcapDatalink() layers.LinkType { method pcapSetDatalink (line 514) | func (p *Handle) pcapSetDatalink(dlt layers.LinkType) error { function pcapDatalinkValToName (line 522) | func pcapDatalinkValToName(dlt int) string { function pcapDatalinkValToDescription (line 531) | func pcapDatalinkValToDescription(dlt int) string { function pcapDatalinkNameToVal (line 540) | func pcapDatalinkNameToVal(name string) int { function pcapLibVersion (line 553) | func pcapLibVersion() string { method isOpen (line 562) | func (p *Handle) isOpen() bool { type pcapDevices (line 566) | type pcapDevices struct method free (line 570) | func (p pcapDevices) free() { method next (line 574) | func (p *pcapDevices) next() bool { method name (line 589) | func (p pcapDevices) name() string { method description (line 593) | func (p pcapDevices) description() string { method flags (line 597) | func (p pcapDevices) flags() uint32 { method addresses (line 636) | func (p pcapDevices) addresses() pcapAddresses { type pcapAddresses (line 601) | type pcapAddresses struct method next (line 605) | func (p *pcapAddresses) next() bool { method addr (line 620) | func (p pcapAddresses) addr() *syscall.RawSockaddr { method netmask (line 624) | func (p pcapAddresses) netmask() *syscall.RawSockaddr { method broadaddr (line 628) | func (p pcapAddresses) broadaddr() *syscall.RawSockaddr { method dstaddr (line 632) | func (p pcapAddresses) dstaddr() *syscall.RawSockaddr { function pcapFindAllDevs (line 640) | func pcapFindAllDevs() (pcapDevices, error) { method pcapSendpacket (line 657) | func (p *Handle) pcapSendpacket(data []byte) error { method pcapSetdirection (line 665) | func (p *Handle) pcapSetdirection(direction Direction) error { method pcapSnapshot (line 673) | func (p *Handle) pcapSnapshot() int { method pcapTstampTypeValToName (line 678) | func (t TimestampSource) pcapTstampTypeValToName() string { function pcapTstampTypeNameToVal (line 692) | func pcapTstampTypeNameToVal(s string) (TimestampSource, error) { method pcapGeterr (line 714) | func (p *InactiveHandle) pcapGeterr() error { method pcapActivate (line 719) | func (p *InactiveHandle) pcapActivate() (*Handle, activateError) { method pcapClose (line 732) | func (p *InactiveHandle) pcapClose() { function pcapCreate (line 739) | func pcapCreate(device string) (*InactiveHandle, error) { method pcapSetSnaplen (line 757) | func (p *InactiveHandle) pcapSetSnaplen(snaplen int) error { method pcapSetPromisc (line 765) | func (p *InactiveHandle) pcapSetPromisc(promisc bool) error { method pcapSetTimeout (line 777) | func (p *InactiveHandle) pcapSetTimeout(timeout time.Duration) error { method pcapListTstampTypes (line 786) | func (p *InactiveHandle) pcapListTstampTypes() (out []TimestampSource) { method pcapSetTstampType (line 805) | func (p *InactiveHandle) pcapSetTstampType(t TimestampSource) error { method pcapSetRfmon (line 817) | func (p *InactiveHandle) pcapSetRfmon(monitor bool) error { method pcapSetBufferSize (line 842) | func (p *InactiveHandle) pcapSetBufferSize(bufferSize int) error { method pcapSetImmediateMode (line 850) | func (p *InactiveHandle) pcapSetImmediateMode(mode bool) error { method setNonBlocking (line 866) | func (p *Handle) setNonBlocking() error { method waitForPacket (line 872) | func (p *Handle) waitForPacket() { function openOfflineFile (line 878) | func openOfflineFile(file *os.File) (handle *Handle, err error) { FILE: pcap/pcapgo_test.go function TestPCAPGoWrite (line 20) | func TestPCAPGoWrite(t *testing.T) { FILE: pcap/pcapnggo_test.go function TestPCAPGoNgWrite (line 21) | func TestPCAPGoNgWrite(t *testing.T) { FILE: pcapgo/capture.go function htons (line 30) | func htons(data uint16) uint16 { return data<<8 | data>>8 } type EthernetHandle (line 33) | type EthernetHandle struct method readOne (line 44) | func (h *EthernetHandle) readOne() (ci gopacket.CaptureInfo, vlan int,... method ReadPacketData (line 124) | func (h *EthernetHandle) ReadPacketData() ([]byte, gopacket.CaptureInf... method ZeroCopyReadPacketData (line 147) | func (h *EthernetHandle) ZeroCopyReadPacketData() ([]byte, gopacket.Ca... method Close (line 162) | func (h *EthernetHandle) Close() { method SetCaptureLength (line 171) | func (h *EthernetHandle) SetCaptureLength(len int) error { method GetCaptureLength (line 180) | func (h *EthernetHandle) GetCaptureLength() int { method SetBPF (line 186) | func (h *EthernetHandle) SetBPF(filter []bpf.RawInstruction) error { method LocalAddr (line 205) | func (h *EthernetHandle) LocalAddr() net.HardwareAddr { method SetPromiscuous (line 215) | func (h *EthernetHandle) SetPromiscuous(b bool) error { method Stats (line 230) | func (h *EthernetHandle) Stats() (*unix.TpacketStats, error) { function NewEthernetHandle (line 237) | func NewEthernetHandle(ifname string) (*EthernetHandle, error) { FILE: pcapgo/capture_test.go function Example_captureEthernet (line 19) | func Example_captureEthernet() { FILE: pcapgo/ngread.go type NgReaderOptions (line 22) | type NgReaderOptions struct type NgReader (line 42) | type NgReader struct method readBytes (line 89) | func (r *NgReader) readBytes(buffer []byte) error { method getUint16 (line 103) | func (r *NgReader) getUint16(buffer []byte) uint16 { method getUint32 (line 110) | func (r *NgReader) getUint32(buffer []byte) uint32 { method getUint64 (line 117) | func (r *NgReader) getUint64(buffer []byte) uint64 { method readBlock (line 127) | func (r *NgReader) readBlock() error { method readOption (line 155) | func (r *NgReader) readOption() error { method readSectionHeader (line 197) | func (r *NgReader) readSectionHeader() error { method skipSection (line 272) | func (r *NgReader) skipSection() error { method SkipSection (line 287) | func (r *NgReader) SkipSection() error { method firstInterface (line 295) | func (r *NgReader) firstInterface() error { method readInterfaceDescriptor (line 325) | func (r *NgReader) readInterfaceDescriptor() error { method convertTime (line 389) | func (r *NgReader) convertTime(ifaceID int, ts uint64) (int64, int64) { method readInterfaceStatistics (line 395) | func (r *NgReader) readInterfaceStatistics() error { method readPacketHeader (line 443) | func (r *NgReader) readPacketHeader() error { method ReadPacketData (line 529) | func (r *NgReader) ReadPacketData() (data []byte, ci gopacket.CaptureI... method ZeroCopyReadPacketData (line 553) | func (r *NgReader) ZeroCopyReadPacketData() (data []byte, ci gopacket.... method LinkType (line 578) | func (r *NgReader) LinkType() layers.LinkType { method SectionInfo (line 583) | func (r *NgReader) SectionInfo() NgSectionInfo { method Interface (line 588) | func (r *NgReader) Interface(i int) (NgInterface, error) { method NInterfaces (line 596) | func (r *NgReader) NInterfaces() int { method Resolution (line 601) | func (r *NgReader) Resolution() gopacket.TimestampResolution { function NewNgReader (line 61) | func NewNgReader(r io.Reader, options NgReaderOptions) (*NgReader, error) { FILE: pcapgo/ngread_test.go function ngMustDecode (line 25) | func ngMustDecode(s string) []byte { type ngFileReadTestPacket (line 41) | type ngFileReadTestPacket struct type ngFileReadTestSection (line 47) | type ngFileReadTestSection struct type ngFileReadTest (line 52) | type ngFileReadTest struct function ngRunFileReadTest (line 65) | func ngRunFileReadTest(test ngFileReadTest, be string, zerocopy bool, t ... function TestNgFileReadBE (line 1821) | func TestNgFileReadBE(t *testing.T) { function TestNgFileReadLE (line 1827) | func TestNgFileReadLE(t *testing.T) { function TestNgFileReadBEZero (line 1833) | func TestNgFileReadBEZero(t *testing.T) { function TestNgFileReadLEZero (line 1839) | func TestNgFileReadLEZero(t *testing.T) { type endlessNgPacketReader (line 1845) | type endlessNgPacketReader struct method Read (line 1849) | func (e endlessNgPacketReader) Read(p []byte) (n int, err error) { function setupNgReadBenchmark (line 1854) | func setupNgReadBenchmark(b *testing.B) *NgReader { function BenchmarkNgReadPacketData (line 1908) | func BenchmarkNgReadPacketData(b *testing.B) { function BenchmarkNgZeroCopyReadPacketData (line 1916) | func BenchmarkNgZeroCopyReadPacketData(b *testing.B) { FILE: pcapgo/ngwrite.go type NgWriterOptions (line 22) | type NgWriterOptions struct type NgWriter (line 45) | type NgWriter struct method writeOptions (line 118) | func (w *NgWriter) writeOptions(options []ngOption) error { method writeSectionHeader (line 187) | func (w *NgWriter) writeSectionHeader() error { method AddInterface (line 237) | func (w *NgWriter) AddInterface(intf NgInterface) (id int, err error) { method WriteInterfaceStats (line 301) | func (w *NgWriter) WriteInterfaceStats(intf int, stats NgInterfaceStat... method WritePacket (line 356) | func (w *NgWriter) WritePacket(ci gopacket.CaptureInfo, data []byte) e... method Flush (line 395) | func (w *NgWriter) Flush() error { function NewNgWriter (line 56) | func NewNgWriter(w io.Writer, linkType layers.LinkType) (*NgWriter, erro... function NewNgWriterInterface (line 66) | func NewNgWriterInterface(w io.Writer, intf NgInterface, options NgWrite... function ngOptionLength (line 82) | func ngOptionLength(option ngOption) int { function prepareNgOptions (line 102) | func prepareNgOptions(options []ngOption) uint32 { FILE: pcapgo/ngwrite_test.go function TestNgWriteSimple (line 18) | func TestNgWriteSimple(t *testing.T) { function TestNgWriteComplex (line 65) | func TestNgWriteComplex(t *testing.T) { type ngDevNull (line 217) | type ngDevNull struct method Write (line 219) | func (w *ngDevNull) Write(p []byte) (n int, err error) { function BenchmarkNgWritePacket (line 223) | func BenchmarkNgWritePacket(b *testing.B) { FILE: pcapgo/pcapng.go constant ngByteOrderMagic (line 25) | ngByteOrderMagic = 0x1A2B3C4D constant ngVersionMajor (line 28) | ngVersionMajor = 1 constant ngVersionMinor (line 29) | ngVersionMinor = 0 type ngBlockType (line 32) | type ngBlockType constant ngBlockTypeInterfaceDescriptor (line 35) | ngBlockTypeInterfaceDescriptor ngBlockType = 1 constant ngBlockTypePacket (line 36) | ngBlockTypePacket ngBlockType = 2 constant ngBlockTypeSimplePacket (line 37) | ngBlockTypeSimplePacket ngBlockType = 3 constant ngBlockTypeInterfaceStatistics (line 38) | ngBlockTypeInterfaceStatistics ngBlockType = 5 constant ngBlockTypeEnhancedPacket (line 39) | ngBlockTypeEnhancedPacket ngBlockType = 6 constant ngBlockTypeSectionHeader (line 40) | ngBlockTypeSectionHeader ngBlockType = 0x0A0D0D0A type ngOptionCode (line 43) | type ngOptionCode constant ngOptionCodeEndOfOptions (line 46) | ngOptionCodeEndOfOptions ngOptionCode = iota constant ngOptionCodeComment (line 47) | ngOptionCodeComment constant ngOptionCodeHardware (line 48) | ngOptionCodeHardware constant ngOptionCodeOS (line 49) | ngOptionCodeOS constant ngOptionCodeUserApplication (line 50) | ngOptionCodeUserApplication constant ngOptionCodeInterfaceName (line 54) | ngOptionCodeInterfaceName ngOptionCode = iota + 2 constant ngOptionCodeInterfaceDescription (line 55) | ngOptionCodeInterfaceDescription constant ngOptionCodeInterfaceIPV4Address (line 56) | ngOptionCodeInterfaceIPV4Address constant ngOptionCodeInterfaceIPV6Address (line 57) | ngOptionCodeInterfaceIPV6Address constant ngOptionCodeInterfaceMACAddress (line 58) | ngOptionCodeInterfaceMACAddress constant ngOptionCodeInterfaceEUIAddress (line 59) | ngOptionCodeInterfaceEUIAddress constant ngOptionCodeInterfaceSpeed (line 60) | ngOptionCodeInterfaceSpeed constant ngOptionCodeInterfaceTimestampResolution (line 61) | ngOptionCodeInterfaceTimestampResolution constant ngOptionCodeInterfaceTimezone (line 62) | ngOptionCodeInterfaceTimezone constant ngOptionCodeInterfaceFilter (line 63) | ngOptionCodeInterfaceFilter constant ngOptionCodeInterfaceOS (line 64) | ngOptionCodeInterfaceOS constant ngOptionCodeInterfaceFCSLength (line 65) | ngOptionCodeInterfaceFCSLength constant ngOptionCodeInterfaceTimestampOffset (line 66) | ngOptionCodeInterfaceTimestampOffset constant ngOptionCodeInterfaceStatisticsStartTime (line 70) | ngOptionCodeInterfaceStatisticsStartTime ngOptionCode = iota + 2 constant ngOptionCodeInterfaceStatisticsEndTime (line 71) | ngOptionCodeInterfaceStatisticsEndTime constant ngOptionCodeInterfaceStatisticsInterfaceReceived (line 72) | ngOptionCodeInterfaceStatisticsInterfaceReceived constant ngOptionCodeInterfaceStatisticsInterfaceDropped (line 73) | ngOptionCodeInterfaceStatisticsInterfaceDropped constant ngOptionCodeInterfaceStatisticsFilterAccept (line 74) | ngOptionCodeInterfaceStatisticsFilterAccept constant ngOptionCodeInterfaceStatisticsOSDrop (line 75) | ngOptionCodeInterfaceStatisticsOSDrop constant ngOptionCodeInterfaceStatisticsDelivered (line 76) | ngOptionCodeInterfaceStatisticsDelivered type ngOption (line 80) | type ngOption struct type ngBlock (line 88) | type ngBlock struct type NgResolution (line 94) | type NgResolution method Binary (line 97) | func (r NgResolution) Binary() bool { method Exponent (line 105) | func (r NgResolution) Exponent() uint8 { method ToTimestampResolution (line 110) | func (r NgResolution) ToTimestampResolution() (ret gopacket.TimestampR... constant NgNoValue64 (line 121) | NgNoValue64 = math.MaxUint64 type NgInterfaceStatistics (line 124) | type NgInterfaceStatistics struct type NgInterface (line 145) | type NgInterface struct method Resolution (line 173) | func (i NgInterface) Resolution() gopacket.TimestampResolution { type NgSectionInfo (line 178) | type NgSectionInfo struct FILE: pcapgo/read.go type Reader (line 32) | type Reader struct method readHeader (line 73) | func (r *Reader) readHeader() error { method ReadPacketData (line 122) | func (r *Reader) ReadPacketData() (data []byte, ci gopacket.CaptureInf... method ZeroCopyReadPacketData (line 144) | func (r *Reader) ZeroCopyReadPacketData() (data []byte, ci gopacket.Ca... method readPacketHeader (line 169) | func (r *Reader) readPacketHeader() (ci gopacket.CaptureInfo, err erro... method LinkType (line 180) | func (r *Reader) LinkType() layers.LinkType { method Snaplen (line 185) | func (r *Reader) Snaplen() uint32 { method SetSnaplen (line 216) | func (r *Reader) SetSnaplen(newSnaplen uint32) { method String (line 221) | func (r *Reader) String() string { method Resolution (line 226) | func (r *Reader) Resolution() gopacket.TimestampResolution { constant magicNanoseconds (line 48) | magicNanoseconds = 0xA1B23C4D constant magicMicrosecondsBigendian (line 49) | magicMicrosecondsBigendian = 0xD4C3B2A1 constant magicNanosecondsBigendian (line 50) | magicNanosecondsBigendian = 0x4D3CB2A1 constant magicGzip1 (line 52) | magicGzip1 = 0x1f constant magicGzip2 (line 53) | magicGzip2 = 0x8b function NewReader (line 65) | func NewReader(r io.Reader) (*Reader, error) { FILE: pcapgo/read_test.go function TestCreatePcapReader (line 15) | func TestCreatePcapReader(t *testing.T) { function TestCreatePcapReaderBigEndian (line 30) | func TestCreatePcapReaderBigEndian(t *testing.T) { function TestCreatePcapReaderFail (line 45) | func TestCreatePcapReaderFail(t *testing.T) { function TestPacket (line 59) | func TestPacket(t *testing.T) { function TestPacketNano (line 93) | func TestPacketNano(t *testing.T) { function TestGzipPacket (line 127) | func TestGzipPacket(t *testing.T) { function TestTruncatedGzipPacket (line 162) | func TestTruncatedGzipPacket(t *testing.T) { function TestPacketBufferReuse (line 174) | func TestPacketBufferReuse(t *testing.T) { function TestPacketZeroCopy (line 214) | func TestPacketZeroCopy(t *testing.T) { FILE: pcapgo/snoop.go constant snoopMagic (line 20) | snoopMagic uint64 = 0x736e6f6f70000000 constant snoopVersion (line 21) | snoopVersion uint32 = 2 constant maxCaptureLen (line 22) | maxCaptureLen int = 4096 constant unknownMagic (line 25) | unknownMagic = "Unknown Snoop Magic Bytes" constant unknownVersion (line 26) | unknownVersion = "Unknown Snoop Format Version" constant unkownLinkType (line 27) | unkownLinkType = "Unknown Link Type" constant originalLenExceeded (line 28) | originalLenExceeded = "Capture length exceeds original packet length" constant captureLenExceeded (line 29) | captureLenExceeded = "Capture length exceeds max capture length" type snoopHeader (line 31) | type snoopHeader struct type SnoopReader (line 41) | type SnoopReader struct method LinkType (line 70) | func (r *SnoopReader) LinkType() (*layers.LinkType, error) { method readHeader (line 92) | func (r *SnoopReader) readHeader() error { method readPacketHeader (line 115) | func (r *SnoopReader) readPacketHeader() (ci gopacket.CaptureInfo, err... method ReadPacketData (line 145) | func (r *SnoopReader) ReadPacketData() (data []byte, ci gopacket.Captu... method ZeroCopyReadPacketData (line 160) | func (r *SnoopReader) ZeroCopyReadPacketData() (data []byte, ci gopack... function NewSnoopReader (line 83) | func NewSnoopReader(r io.Reader) (*SnoopReader, error) { FILE: pcapgo/snoop_test.go function OpenHandlePack (line 30) | func OpenHandlePack() (buf []byte, handle *SnoopReader, err error) { function equalError (line 37) | func equalError(t *testing.T, err error, eq error) { function equalNil (line 43) | func equalNil(t *testing.T, err error) { function equal (line 49) | func equal(t *testing.T, expected, actual interface{}) { function TestReadHeader (line 55) | func TestReadHeader(t *testing.T) { function TestBadHeader (line 60) | func TestBadHeader(t *testing.T) { function TestReadPacket (line 80) | func TestReadPacket(t *testing.T) { function TestZeroCopy (line 88) | func TestZeroCopy(t *testing.T) { function TestPacketHeader (line 105) | func TestPacketHeader(t *testing.T) { function TestBadPacketHeader (line 117) | func TestBadPacketHeader(t *testing.T) { function TestBigPacketData (line 126) | func TestBigPacketData(t *testing.T) { function TestLinkType (line 143) | func TestLinkType(t *testing.T) { function TestNotOverlapBuf (line 150) | func TestNotOverlapBuf(t *testing.T) { function GeneratePacks (line 167) | func GeneratePacks(num int) []byte { function BenchmarkReadPacketData (line 176) | func BenchmarkReadPacketData(b *testing.B) { function BenchmarkZeroCopyReadPacketData (line 184) | func BenchmarkZeroCopyReadPacketData(b *testing.B) { FILE: pcapgo/write.go type Writer (line 25) | type Writer struct method WriteFileHeader (line 80) | func (w *Writer) WriteFileHeader(snaplen uint32, linktype layers.LinkT... method writePacketHeader (line 101) | func (w *Writer) writePacketHeader(ci gopacket.CaptureInfo) error { method WritePacket (line 117) | func (w *Writer) WritePacket(ci gopacket.CaptureInfo, data []byte) err... constant magicMicroseconds (line 32) | magicMicroseconds = 0xA1B2C3D4 constant versionMajor (line 33) | versionMajor = 2 constant versionMinor (line 34) | versionMinor = 4 function NewWriterNanos (line 53) | func NewWriterNanos(w io.Writer) *Writer { function NewWriter (line 74) | func NewWriter(w io.Writer) *Writer { constant nanosPerMicro (line 98) | nanosPerMicro = 1000 constant nanosPerNano (line 99) | nanosPerNano = 1 FILE: pcapgo/write_test.go function TestWriteHeaderNanos (line 17) | func TestWriteHeaderNanos(t *testing.T) { function TestWriteHeader (line 31) | func TestWriteHeader(t *testing.T) { function TestWritePacket (line 45) | func TestWritePacket(t *testing.T) { function BenchmarkWritePacket (line 65) | func BenchmarkWritePacket(b *testing.B) { function TestCaptureInfoErrors (line 82) | func TestCaptureInfoErrors(t *testing.T) { FILE: pfring/pfring.go constant errorBufferSize (line 68) | errorBufferSize = 256 type Ring (line 71) | type Ring struct method Close (line 121) | func (r *Ring) Close() { method getNextBufPtrLocked (line 152) | func (r *Ring) getNextBufPtrLocked(ci *gopacket.CaptureInfo) error { method ReadPacketDataTo (line 173) | func (r *Ring) ReadPacketDataTo(data []byte) (ci gopacket.CaptureInfo,... method ReadPacketData (line 191) | func (r *Ring) ReadPacketData() (data []byte, ci gopacket.CaptureInfo,... method ZeroCopyReadPacketData (line 212) | func (r *Ring) ZeroCopyReadPacketData() (data []byte, ci gopacket.Capt... method SetCluster (line 250) | func (r *Ring) SetCluster(cluster int, typ ClusterType) error { method RemoveFromCluster (line 259) | func (r *Ring) RemoveFromCluster() error { method SetSamplingRate (line 267) | func (r *Ring) SetSamplingRate(rate int) error { method SetPollWatermark (line 275) | func (r *Ring) SetPollWatermark(count uint16) error { method SetPriority (line 283) | func (r *Ring) SetPriority(cpu uint16) { method SetPollDuration (line 288) | func (r *Ring) SetPollDuration(durationMillis uint) error { method SetBPFFilter (line 296) | func (r *Ring) SetBPFFilter(bpfFilter string) error { method RemoveBPFFilter (line 306) | func (r *Ring) RemoveBPFFilter() error { method WritePacketData (line 314) | func (r *Ring) WritePacketData(data []byte) error { method Enable (line 324) | func (r *Ring) Enable() error { method Disable (line 333) | func (r *Ring) Disable() error { method Stats (line 346) | func (r *Ring) Stats() (s Stats, err error) { method SetDirection (line 374) | func (r *Ring) SetDirection(d Direction) error { method SetSocketMode (line 395) | func (r *Ring) SetSocketMode(s SocketMode) error { method SetApplicationName (line 405) | func (r *Ring) SetApplicationName(name string) error { type Flag (line 82) | type Flag constant FlagReentrant (line 86) | FlagReentrant Flag = C.PF_RING_REENTRANT constant FlagLongHeader (line 87) | FlagLongHeader Flag = C.PF_RING_LONG_HEADER constant FlagPromisc (line 88) | FlagPromisc Flag = C.PF_RING_PROMISC constant FlagDNASymmetricRSS (line 89) | FlagDNASymmetricRSS Flag = C.PF_RING_DNA_SYMMETRIC_RSS constant FlagTimestamp (line 90) | FlagTimestamp Flag = C.PF_RING_TIMESTAMP constant FlagHWTimestamp (line 91) | FlagHWTimestamp Flag = C.PF_RING_HW_TIMESTAMP function NewRing (line 97) | func NewRing(device string, snaplen uint32, flags Flag) (ring *Ring, _ e... type NextResult (line 126) | type NextResult method Error (line 137) | func (n NextResult) Error() string { constant NextNoPacketNonblocking (line 130) | NextNoPacketNonblocking NextResult = 0 constant NextError (line 131) | NextError NextResult = -1 constant NextOk (line 132) | NextOk NextResult = 1 constant NextNotEnabled (line 133) | NextNotEnabled NextResult = -7 type ClusterType (line 227) | type ClusterType constant ClusterPerFlow (line 232) | ClusterPerFlow ClusterType = C.cluster_per_flow constant ClusterRoundRobin (line 235) | ClusterRoundRobin ClusterType = C.cluster_round_robin constant ClusterPerFlow2Tuple (line 237) | ClusterPerFlow2Tuple ClusterType = C.cluster_per_flow_2_tuple constant ClusterPerFlow4Tuple (line 239) | ClusterPerFlow4Tuple ClusterType = C.cluster_per_flow_4_tuple constant ClusterPerFlow5Tuple (line 242) | ClusterPerFlow5Tuple ClusterType = C.cluster_per_flow_5_tuple constant ClusterPerFlowTCP5Tuple (line 245) | ClusterPerFlowTCP5Tuple ClusterType = C.cluster_per_flow_tcp_5_tuple type Stats (line 341) | type Stats struct type Direction (line 359) | type Direction constant TransmitOnly (line 364) | TransmitOnly Direction = C.tx_only_direction constant ReceiveOnly (line 367) | ReceiveOnly Direction = C.rx_only_direction constant ReceiveAndTransmit (line 370) | ReceiveAndTransmit Direction = C.rx_and_tx_direction type SocketMode (line 382) | type SocketMode constant WriteOnly (line 386) | WriteOnly SocketMode = C.send_only_mode constant ReadOnly (line 389) | ReadOnly SocketMode = C.recv_only_mode constant WriteAndRead (line 391) | WriteAndRead SocketMode = C.send_and_recv_mode FILE: pfring/pfring_test.go function BenchmarkPfringRead (line 17) | func BenchmarkPfringRead(b *testing.B) { function BenchmarkPfringReadZero (line 35) | func BenchmarkPfringReadZero(b *testing.B) { function BenchmarkPfringReadTo (line 53) | func BenchmarkPfringReadTo(b *testing.B) { FILE: reassembly/cap2test.go function main (line 26) | func main() { FILE: reassembly/memory.go type pageCache (line 25) | type pageCache struct method next (line 40) | func (c *pageCache) next(ts time.Time) (p *page) { method replace (line 59) | func (c *pageCache) replace(p *page) { function newPageCache (line 31) | func newPageCache() *pageCache { type StreamPool (line 88) | type StreamPool struct method grow (line 101) | func (p *StreamPool) grow() { method Dump (line 114) | func (p *StreamPool) Dump() { method remove (line 123) | func (p *StreamPool) remove(conn *connection) { method connections (line 143) | func (p *StreamPool) connections() []*connection { method newConnection (line 153) | func (p *StreamPool) newConnection(k key, s Stream, ts time.Time) (c *... method getHalf (line 169) | func (p *StreamPool) getHalf(k key) (*connection, *halfconnection, *ha... method getConnection (line 185) | func (p *StreamPool) getConnection(k key, end bool, ts time.Time, tcp ... constant initialAllocSize (line 99) | initialAllocSize = 1024 function NewStreamPool (line 134) | func NewStreamPool(factory StreamFactory) *StreamPool { FILE: reassembly/tcpassembly.go constant invalidSequence (line 44) | invalidSequence = -1 constant uint32Max (line 45) | uint32Max = 0xFFFFFFFF type Sequence (line 51) | type Sequence method Difference (line 64) | func (s Sequence) Difference(t Sequence) int { method Add (line 74) | func (s Sequence) Add(t int) Sequence { type TCPAssemblyStats (line 79) | type TCPAssemblyStats struct type ScatterGather (line 92) | type ScatterGather interface type byteContainer (line 108) | type byteContainer interface type reassemblyObject (line 122) | type reassemblyObject struct method Lengths (line 135) | func (rl *reassemblyObject) Lengths() (int, int) { method Fetch (line 143) | func (rl *reassemblyObject) Fetch(l int) []byte { method KeepFrom (line 154) | func (rl *reassemblyObject) KeepFrom(offset int) { method CaptureInfo (line 158) | func (rl *reassemblyObject) CaptureInfo(offset int) gopacket.CaptureIn... method Info (line 174) | func (rl *reassemblyObject) Info() (TCPFlowDirection, bool, bool, int) { method Stats (line 178) | func (rl *reassemblyObject) Stats() TCPAssemblyStats { constant pageBytes (line 195) | pageBytes = 1900 type TCPFlowDirection (line 203) | type TCPFlowDirection method String (line 211) | func (dir TCPFlowDirection) String() string { method Reverse (line 222) | func (dir TCPFlowDirection) Reverse() TCPFlowDirection { constant TCPDirClientToServer (line 207) | TCPDirClientToServer TCPFlowDirection = false constant TCPDirServerToClient (line 208) | TCPDirServerToClient TCPFlowDirection = true type page (line 232) | type page struct method getBytes (line 242) | func (p *page) getBytes() []byte { method captureInfo (line 245) | func (p *page) captureInfo() gopacket.CaptureInfo { method assemblerContext (line 248) | func (p *page) assemblerContext() AssemblerContext { method convertToPages (line 251) | func (p *page) convertToPages(pc *pageCache, skip int, ac AssemblerCon... method length (line 259) | func (p *page) length() int { method release (line 262) | func (p *page) release(pc *pageCache) int { method isStart (line 266) | func (p *page) isStart() bool { method isEnd (line 269) | func (p *page) isEnd() bool { method getSeq (line 272) | func (p *page) getSeq() Sequence { method isPacket (line 275) | func (p *page) isPacket() bool { method String (line 278) | func (p *page) String() string { type livePacket (line 283) | type livePacket struct method getBytes (line 291) | func (lp *livePacket) getBytes() []byte { method captureInfo (line 294) | func (lp *livePacket) captureInfo() gopacket.CaptureInfo { method assemblerContext (line 297) | func (lp *livePacket) assemblerContext() AssemblerContext { method length (line 300) | func (lp *livePacket) length() int { method isStart (line 303) | func (lp *livePacket) isStart() bool { method isEnd (line 306) | func (lp *livePacket) isEnd() bool { method getSeq (line 309) | func (lp *livePacket) getSeq() Sequence { method isPacket (line 312) | func (lp *livePacket) isPacket() bool { method convertToPages (line 318) | func (lp *livePacket) convertToPages(pc *pageCache, skip int, ac Assem... method estimateNumberOfPages (line 346) | func (lp *livePacket) estimateNumberOfPages() int { method release (line 350) | func (lp *livePacket) release(*pageCache) int { type Stream (line 362) | type Stream interface type StreamFactory (line 384) | type StreamFactory interface type key (line 389) | type key method String (line 391) | func (k *key) String() string { method Reverse (line 395) | func (k *key) Reverse() key { constant assemblerReturnValueInitialSize (line 402) | assemblerReturnValueInitialSize = 16 type halfconnection (line 405) | type halfconnection struct method String (line 422) | func (half *halfconnection) String() string { method Dump (line 431) | func (half *halfconnection) Dump() string { type connection (line 447) | type connection struct method reset (line 453) | func (c *connection) reset(k key, s Stream, ts time.Time) { method lastSeen (line 466) | func (c *connection) lastSeen() time.Time { method String (line 474) | func (c *connection) String() string { type AssemblerOptions (line 495) | type AssemblerOptions struct type Assembler (line 567) | type Assembler struct method Dump (line 595) | func (a *Assembler) Dump() string { method Assemble (line 615) | func (a *Assembler) Assemble(netFlow gopacket.Flow, t *layers.TCP) { method AssembleWithContext (line 638) | func (a *Assembler) AssembleWithContext(netFlow gopacket.Flow, t *laye... method checkOverlap (line 750) | func (a *Assembler) checkOverlap(half *halfconnection, queue bool, ac ... method dump (line 889) | func (a *Assembler) dump(text string, half *halfconnection) { method overlapExisting (line 928) | func (a *Assembler) overlapExisting(half *halfconnection, start, end S... method handleBytes (line 957) | func (a *Assembler) handleBytes(bytes []byte, seq Sequence, half *half... method setStatsToSG (line 986) | func (a *Assembler) setStatsToSG(half *halfconnection) { method buildSG (line 999) | func (a *Assembler) buildSG(half *halfconnection) (bool, Sequence) { method cleanSG (line 1020) | func (a *Assembler) cleanSG(half *halfconnection, ac AssemblerContext) { method sendToConnection (line 1101) | func (a *Assembler) sendToConnection(conn *connection, half *halfconne... method addPending (line 1118) | func (a *Assembler) addPending(half *halfconnection, firstSeq Sequence... method addContiguous (line 1148) | func (a *Assembler) addContiguous(half *halfconnection, lastSeq Sequen... method skipFlush (line 1180) | func (a *Assembler) skipFlush(conn *connection, half *halfconnection) { method closeHalfConnection (line 1198) | func (a *Assembler) closeHalfConnection(conn *connection, half *halfco... method addNextFromConn (line 1217) | func (a *Assembler) addNextFromConn(conn *halfconnection) { method FlushWithOptions (line 1260) | func (a *Assembler) FlushWithOptions(opt FlushOptions) (flushed, close... method FlushCloseOlderThan (line 1288) | func (a *Assembler) FlushCloseOlderThan(t time.Time) (flushed, closed ... method flushClose (line 1292) | func (a *Assembler) flushClose(conn *connection, half *halfconnection,... method FlushAll (line 1316) | func (a *Assembler) FlushAll() (closed int) { function NewAssembler (line 582) | func NewAssembler(pool *StreamPool) *Assembler { type AssemblerContext (line 602) | type AssemblerContext interface type assemblerSimpleContext (line 607) | type assemblerSimpleContext method GetCaptureInfo (line 609) | func (asc *assemblerSimpleContext) GetCaptureInfo() gopacket.CaptureIn... type assemblerAction (line 620) | type assemblerAction struct type FlushOptions (line 1234) | type FlushOptions struct function min (line 1334) | func min(a, b int) int { FILE: reassembly/tcpassembly_test.go function init (line 28) | func init() { type Reassembly (line 34) | type Reassembly struct type testSequence (line 41) | type testSequence struct type testFactoryBench (line 47) | type testFactoryBench struct method New (line 50) | func (t *testFactoryBench) New(a, b gopacket.Flow, tcp *layers.TCP, ac... method Accept (line 53) | func (t *testFactoryBench) Accept(tcp *layers.TCP, ci gopacket.Capture... method ReassembledSG (line 56) | func (t *testFactoryBench) ReassembledSG(sg ScatterGather, ac Assemble... method ReassemblyComplete (line 58) | func (t *testFactoryBench) ReassemblyComplete(ac AssemblerContext) bool { type testFactory (line 63) | type testFactory struct method New (line 67) | func (t *testFactory) New(a, b gopacket.Flow, tcp *layers.TCP, ac Asse... method Reassembled (line 70) | func (t *testFactory) Reassembled(r []Reassembly) { method ReassembledSG (line 76) | func (t *testFactory) ReassembledSG(sg ScatterGather, ac AssemblerCont... method ReassemblyComplete (line 87) | func (t *testFactory) ReassemblyComplete(ac AssemblerContext) bool { method Accept (line 91) | func (t *testFactory) Accept(tcp *layers.TCP, ci gopacket.CaptureInfo,... type testMemoryFactory (line 96) | type testMemoryFactory struct method New (line 100) | func (tf *testMemoryFactory) New(a, b gopacket.Flow, tcp *layers.TCP, ... method Accept (line 103) | func (tf *testMemoryFactory) Accept(tcp *layers.TCP, ci gopacket.Captu... method ReassembledSG (line 106) | func (tf *testMemoryFactory) ReassembledSG(sg ScatterGather, ac Assemb... method ReassemblyComplete (line 110) | func (tf *testMemoryFactory) ReassemblyComplete(ac AssemblerContext) b... function test (line 118) | func test(t *testing.T, s []testSequence) { function TestReorder (line 155) | func TestReorder(t *testing.T) { function TestMaxPerSkip (line 247) | func TestMaxPerSkip(t *testing.T) { function TestReorderFast (line 317) | func TestReorderFast(t *testing.T) { function TestOverlap (line 362) | func TestOverlap(t *testing.T) { function TestBufferedOverlap1 (line 408) | func TestBufferedOverlap1(t *testing.T) { function TestBufferedOverlapCase6 (line 452) | func TestBufferedOverlapCase6(t *testing.T) { function TestBufferedOverlapExisting (line 493) | func TestBufferedOverlapExisting(t *testing.T) { function TestBufferedOverlapReemit (line 526) | func TestBufferedOverlapReemit(t *testing.T) { function TestReorderRetransmission2 (line 555) | func TestReorderRetransmission2(t *testing.T) { function TestOverrun1 (line 619) | func TestOverrun1(t *testing.T) { function TestOverrun2 (line 652) | func TestOverrun2(t *testing.T) { function TestCacheLargePacket (line 684) | func TestCacheLargePacket(t *testing.T) { function testFlush (line 723) | func testFlush(t *testing.T, s []testSequence, delay time.Duration, flus... function TestFlush (line 778) | func TestFlush(t *testing.T) { type testKeepFactory (line 932) | type testKeepFactory struct method New (line 939) | func (tkf *testKeepFactory) New(a, b gopacket.Flow, tcp *layers.TCP, a... method ReassembledSG (line 942) | func (tkf *testKeepFactory) ReassembledSG(sg ScatterGather, ac Assembl... method ReassemblyComplete (line 948) | func (tkf *testKeepFactory) ReassemblyComplete(ac AssemblerContext) bo... method Accept (line 952) | func (tkf *testKeepFactory) Accept(tcp *layers.TCP, ci gopacket.Captur... type testKeepSequence (line 956) | type testKeepSequence struct function testKeep (line 964) | func testKeep(t *testing.T, s []testKeepSequence) { function TestKeepSimpleOnBoundary (line 1004) | func TestKeepSimpleOnBoundary(t *testing.T) { function TestKeepSimpleNotBoundaryLive (line 1029) | func TestKeepSimpleNotBoundaryLive(t *testing.T) { function TestKeepSimpleNotBoundaryAlreadyKept (line 1054) | func TestKeepSimpleNotBoundaryAlreadyKept(t *testing.T) { function TestKeepLonger (line 1089) | func TestKeepLonger(t *testing.T) { function TestKeepWithFlush (line 1124) | func TestKeepWithFlush(t *testing.T) { function TestKeepWithOutOfOrderPacketAndManualFlush (line 1204) | func TestKeepWithOutOfOrderPacketAndManualFlush(t *testing.T) { type testFSMFactory (line 1246) | type testFSMFactory struct method New (line 1251) | func (t *testFSMFactory) New(a, b gopacket.Flow, tcp *layers.TCP, ac A... method ReassembledSG (line 1254) | func (t *testFSMFactory) ReassembledSG(sg ScatterGather, ac AssemblerC... method ReassemblyComplete (line 1256) | func (t *testFSMFactory) ReassemblyComplete(ac AssemblerContext) bool { method Accept (line 1260) | func (t *testFSMFactory) Accept(tcp *layers.TCP, ci gopacket.CaptureIn... type testFSMSequence (line 1268) | type testFSMSequence struct method GetCaptureInfo (line 1274) | func (seq *testFSMSequence) GetCaptureInfo() gopacket.CaptureInfo { function testFSM (line 1278) | func testFSM(t *testing.T, s []testFSMSequence) { function TestFSMnormalFlow (line 1304) | func TestFSMnormalFlow(t *testing.T) { function TestFSMearlyRST (line 1480) | func TestFSMearlyRST(t *testing.T) { function TestFSMestablishedThenRST (line 1556) | func TestFSMestablishedThenRST(t *testing.T) { function TestFSMmissingSYNACK (line 1660) | func TestFSMmissingSYNACK(t *testing.T) { function TestMemoryShrink (line 1710) | func TestMemoryShrink(t *testing.T) { function BenchmarkSingleStreamNo (line 1760) | func BenchmarkSingleStreamNo(b *testing.B) { function BenchmarkSingleStreamSkips (line 1780) | func BenchmarkSingleStreamSkips(b *testing.B) { function BenchmarkSingleStreamLoss (line 1811) | func BenchmarkSingleStreamLoss(b *testing.B) { function BenchmarkMultiStreamGrow (line 1828) | func BenchmarkMultiStreamGrow(b *testing.B) { function BenchmarkMultiStreamConn (line 1844) | func BenchmarkMultiStreamConn(b *testing.B) { type testMemoryContext (line 1867) | type testMemoryContext struct method GetCaptureInfo (line 1869) | func (t *testMemoryContext) GetCaptureInfo() gopacket.CaptureInfo { function TestFullyOrderedAndCompleteStreamDoesNotAlloc (line 1875) | func TestFullyOrderedAndCompleteStreamDoesNotAlloc(t *testing.T) { type testCustomContext (line 1922) | type testCustomContext method GetCaptureInfo (line 1924) | func (c testCustomContext) GetCaptureInfo() gopacket.CaptureInfo { function TestReassemblyObjectCaptureInfo (line 1931) | func TestReassemblyObjectCaptureInfo(t *testing.T) { FILE: reassembly/tcpcheck.go type tcpStreamOptions (line 21) | type tcpStreamOptions struct type TCPOptionCheck (line 28) | type TCPOptionCheck struct method getOptions (line 32) | func (t *TCPOptionCheck) getOptions(dir TCPFlowDirection) *tcpStreamOp... method Accept (line 57) | func (t *TCPOptionCheck) Accept(tcp *layers.TCP, ci gopacket.CaptureIn... function NewTCPOptionCheck (line 40) | func NewTCPOptionCheck() TCPOptionCheck { type TCPSimpleFSM (line 119) | type TCPSimpleFSM struct method String (line 148) | func (t *TCPSimpleFSM) String() string { method CheckState (line 167) | func (t *TCPSimpleFSM) CheckState(tcp *layers.TCP, dir TCPFlowDirectio... type TCPSimpleFSMOptions (line 126) | type TCPSimpleFSMOptions struct constant TCPStateClosed (line 132) | TCPStateClosed = 0 constant TCPStateSynSent (line 133) | TCPStateSynSent = 1 constant TCPStateEstablished (line 134) | TCPStateEstablished = 2 constant TCPStateCloseWait (line 135) | TCPStateCloseWait = 3 constant TCPStateLastAck (line 136) | TCPStateLastAck = 4 constant TCPStateReset (line 137) | TCPStateReset = 5 function NewTCPSimpleFSM (line 141) | func NewTCPSimpleFSM(options TCPSimpleFSMOptions) *TCPSimpleFSM { FILE: reassembly/tcpcheck_test.go type testCheckFSMSequence (line 23) | type testCheckFSMSequence struct function testCheckFSM (line 29) | func testCheckFSM(t *testing.T, options TCPSimpleFSMOptions, s []testChe... function TestCheckFSM (line 50) | func TestCheckFSM(t *testing.T) { function TestCheckFSMmissingSYNACK (line 154) | func TestCheckFSMmissingSYNACK(t *testing.T) { function TestCheckFSMmissingSYN (line 202) | func TestCheckFSMmissingSYN(t *testing.T) { type testCheckOptionsSequence (line 255) | type testCheckOptionsSequence struct function testCheckOptions (line 264) | func testCheckOptions(t *testing.T, title string, s []testCheckOptionsSe... function TestCheckOptions (line 275) | func TestCheckOptions(t *testing.T) { FILE: routing/common.go type Router (line 16) | type Router interface FILE: routing/other.go function New (line 13) | func New() (Router, error) { FILE: routing/routing.go type routeInfoInMemory (line 32) | type routeInfoInMemory struct type rtInfo (line 47) | type rtInfo struct type routeSlice (line 56) | type routeSlice method Len (line 58) | func (r routeSlice) Len() int { method Less (line 61) | func (r routeSlice) Less(i, j int) bool { method Swap (line 64) | func (r routeSlice) Swap(i, j int) { type router (line 68) | type router struct method String (line 74) | func (r *router) String() string { method Route (line 90) | func (r *router) Route(dst net.IP) (iface *net.Interface, gateway, pre... method RouteWithSrc (line 94) | func (r *router) RouteWithSrc(input net.HardwareAddr, src, dst net.IP)... method route (line 122) | func (r *router) route(routes routeSlice, input net.HardwareAddr, src,... type ipAddrs (line 86) | type ipAddrs struct function New (line 161) | func New() (Router, error) { FILE: routing/routing_test.go function TestPrivateRoute (line 22) | func TestPrivateRoute(t *testing.T) { function TestRouting (line 292) | func TestRouting(t *testing.T) { function init (line 527) | func init() { function TestRoute (line 556) | func TestRoute(t *testing.T) { FILE: tcpassembly/assembly.go constant invalidSequence (line 34) | invalidSequence = -1 constant uint32Size (line 35) | uint32Size = 1 << 32 type Sequence (line 41) | type Sequence method Difference (line 54) | func (s Sequence) Difference(t Sequence) int { method Add (line 64) | func (s Sequence) Add(t int) Sequence { type Reassembly (line 71) | type Reassembly struct constant pageBytes (line 87) | pageBytes = 1900 type page (line 93) | type page struct type pageCache (line 103) | type pageCache struct method grow (line 123) | func (c *pageCache) grow() { method next (line 137) | func (c *pageCache) next(ts time.Time) (p *page) { method replace (line 157) | func (c *pageCache) replace(p *page) { constant initialAllocSize (line 111) | initialAllocSize = 1024 function newPageCache (line 113) | func newPageCache() *pageCache { type Stream (line 170) | type Stream interface type StreamFactory (line 188) | type StreamFactory interface type FlushOptions (line 204) | type FlushOptions struct type key (line 289) | type key method String (line 291) | func (k *key) String() string { type StreamPool (line 310) | type StreamPool struct method connections (line 193) | func (p *StreamPool) connections() []*connection { method grow (line 321) | func (p *StreamPool) grow() { method newConnection (line 476) | func (p *StreamPool) newConnection(k key, s Stream, ts time.Time) (c *... method getConnection (line 495) | func (p *StreamPool) getConnection(k key, end bool, ts time.Time) *con... method remove (line 659) | func (p *StreamPool) remove(conn *connection) { function NewStreamPool (line 335) | func NewStreamPool(factory StreamFactory) *StreamPool { constant assemblerReturnValueInitialSize (line 344) | assemblerReturnValueInitialSize = 16 function NewAssembler (line 351) | func NewAssembler(pool *StreamPool) *Assembler { type connection (line 374) | type connection struct method reset (line 385) | func (c *connection) reset(k key, s Stream, ts time.Time) { method traverseConn (line 683) | func (c *connection) traverseConn(seq Sequence) (prev, current *page) { method pushBetween (line 696) | func (c *connection) pushBetween(prev, next, first, last *page) { type AssemblerOptions (line 397) | type AssemblerOptions struct type Assembler (line 469) | type Assembler struct method FlushWithOptions (line 235) | func (a *Assembler) FlushWithOptions(opt FlushOptions) (flushed, close... method FlushOlderThan (line 269) | func (a *Assembler) FlushOlderThan(t time.Time) (flushed, closed int) { method FlushAll (line 276) | func (a *Assembler) FlushAll() (closed int) { method Assemble (line 516) | func (a *Assembler) Assemble(netFlow gopacket.Flow, t *layers.TCP) { method AssembleWithTimestamp (line 533) | func (a *Assembler) AssembleWithTimestamp(netFlow gopacket.Flow, t *la... method sendToConnection (line 624) | func (a *Assembler) sendToConnection(conn *connection) { method addContiguous (line 636) | func (a *Assembler) addContiguous(conn *connection) { method skipFlush (line 645) | func (a *Assembler) skipFlush(conn *connection) { method closeConnection (line 666) | func (a *Assembler) closeConnection(conn *connection) { method insertIntoConn (line 712) | func (a *Assembler) insertIntoConn(t *layers.TCP, conn *connection, ts... method pagesFromTCP (line 734) | func (a *Assembler) pagesFromTCP(t *layers.TCP, ts time.Time) (p, p2 *... method addNextFromConn (line 760) | func (a *Assembler) addNextFromConn(conn *connection) { function byteSpan (line 609) | func byteSpan(expected, received Sequence, bytes []byte) (toSend []byte,... function min (line 782) | func min(a, b int) int { FILE: tcpassembly/assembly_test.go function init (line 20) | func init() { function TestSequenceOverflow (line 26) | func TestSequenceOverflow(t *testing.T) { type testSequence (line 32) | type testSequence struct type testFactory (line 37) | type testFactory struct method New (line 41) | func (t *testFactory) New(a, b gopacket.Flow) Stream { method Reassembled (line 44) | func (t *testFactory) Reassembled(r []Reassembly) { method ReassemblyComplete (line 50) | func (t *testFactory) ReassemblyComplete() { function test (line 53) | func test(t *testing.T, s []testSequence) { function TestReorder (line 67) | func TestReorder(t *testing.T) { function TestMaxPerSkip (line 159) | func TestMaxPerSkip(t *testing.T) { function TestReorderFast (line 229) | func TestReorderFast(t *testing.T) { function TestOverlap (line 274) | func TestOverlap(t *testing.T) { function TestBufferedOverlap (line 320) | func TestBufferedOverlap(t *testing.T) { function TestOverrun1 (line 364) | func TestOverrun1(t *testing.T) { function TestOverrun2 (line 397) | func TestOverrun2(t *testing.T) { function TestCacheLargePacket (line 429) | func TestCacheLargePacket(t *testing.T) { function BenchmarkSingleStream (line 468) | func BenchmarkSingleStream(b *testing.B) { function BenchmarkSingleStreamSkips (line 487) | func BenchmarkSingleStreamSkips(b *testing.B) { function BenchmarkSingleStreamLoss (line 517) | func BenchmarkSingleStreamLoss(b *testing.B) { function BenchmarkMultiStreamGrow (line 533) | func BenchmarkMultiStreamGrow(b *testing.B) { function BenchmarkMultiStreamConn (line 548) | func BenchmarkMultiStreamConn(b *testing.B) { FILE: tcpassembly/tcpreader/reader.go function DiscardBytesToFirstError (line 59) | func DiscardBytesToFirstError(r io.Reader) (discarded int, err error) { function DiscardBytesToEOF (line 74) | func DiscardBytesToEOF(r io.Reader) (discarded int) { type ReaderStream (line 106) | type ReaderStream struct method Reassembled (line 137) | func (r *ReaderStream) Reassembled(reassembly []tcpassembly.Reassembly) { method ReassemblyComplete (line 146) | func (r *ReaderStream) ReassemblyComplete() { method stripEmpty (line 153) | func (r *ReaderStream) stripEmpty() { method Read (line 168) | func (r *ReaderStream) Read(p []byte) (int, error) { method Close (line 202) | func (r *ReaderStream) Close() error { type ReaderStreamOptions (line 118) | type ReaderStreamOptions struct function NewReaderStream (line 126) | func NewReaderStream() ReaderStream { FILE: tcpassembly/tcpreader/reader_test.go function init (line 22) | func init() { type readReturn (line 28) | type readReturn struct type readSequence (line 32) | type readSequence struct type testReaderFactory (line 36) | type testReaderFactory struct method New (line 43) | func (t *testReaderFactory) New(a, b gopacket.Flow) tcpassembly.Stream { function testReadSequence (line 47) | func testReadSequence(t *testing.T, lossErrors bool, readSize int, seq r... function TestRead (line 75) | func TestRead(t *testing.T) { function TestReadSmallChunks (line 99) | func TestReadSmallChunks(t *testing.T) { function ExampleDiscardBytesToEOF (line 124) | func ExampleDiscardBytesToEOF() { FILE: time.go type TimestampResolution (line 16) | type TimestampResolution struct method String (line 20) | func (t TimestampResolution) String() string { method ToDuration (line 25) | func (t TimestampResolution) ToDuration() time.Duration { type PacketSourceResolution (line 69) | type PacketSourceResolution interface FILE: time_test.go function TestToDuration (line 14) | func TestToDuration(t *testing.T) { FILE: writer.go type SerializableLayer (line 17) | type SerializableLayer interface type SerializeOptions (line 45) | type SerializeOptions struct type SerializeBuffer (line 82) | type SerializeBuffer interface type serializeBuffer (line 110) | type serializeBuffer struct method Bytes (line 135) | func (w *serializeBuffer) Bytes() []byte { method PrependBytes (line 139) | func (w *serializeBuffer) PrependBytes(num int) ([]byte, error) { method AppendBytes (line 160) | func (w *serializeBuffer) AppendBytes(num int) ([]byte, error) { method Clear (line 180) | func (w *serializeBuffer) Clear() error { method Layers (line 187) | func (w *serializeBuffer) Layers() []LayerType { method PushLayer (line 191) | func (w *serializeBuffer) PushLayer(l LayerType) { function NewSerializeBuffer (line 119) | func NewSerializeBuffer() SerializeBuffer { function NewSerializeBufferExpectedSize (line 126) | func NewSerializeBufferExpectedSize(expectedPrependLength, expectedAppen... function SerializeLayers (line 206) | func SerializeLayers(w SerializeBuffer, opts SerializeOptions, layers ..... function SerializePacket (line 222) | func SerializePacket(buf SerializeBuffer, opts SerializeOptions, packet ... FILE: writer_test.go function TestExponentialSizeIncreasePrepend (line 14) | func TestExponentialSizeIncreasePrepend(t *testing.T) { function TestExponentialSizeIncreaseAppend (line 40) | func TestExponentialSizeIncreaseAppend(t *testing.T) { function ExampleSerializeBuffer (line 66) | func ExampleSerializeBuffer() {