 Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package btree implements in-memory B-Trees of arbitrary degree. | Package btree implements in-memory B-Trees of arbitrary degree. | 
| Package gopacket provides packet decoding for the Go language. | Package gopacket provides packet decoding for the Go language. | 
| 
          
            afpacket
            
            
          
           Package afpacket provides Go bindings for MMap'd AF_PACKET socket reading. | Package afpacket provides Go bindings for MMap'd AF_PACKET socket reading. | 
| 
          
            bytediff
            
            
          
           Package bytediff provides a simple diff utility for looking at differences in byte slices. | Package bytediff provides a simple diff utility for looking at differences in byte slices. | 
| 
          
            dumpcommand
            
            
          
           Package dumpcommand implements a run function for pfdump and pcapdump with many similar flags/features to tcpdump. | Package dumpcommand implements a run function for pfdump and pcapdump with many similar flags/features to tcpdump. | 
| 
          
            examples/arpscan
            
            command
          
           arpscan implements ARP scanning of all interfaces' local networks using gopacket and its subpackages. | arpscan implements ARP scanning of all interfaces' local networks using gopacket and its subpackages. | 
| 
          
            examples/bidirectional
            
            command
          
           This binary provides an example of connecting up bidirectional streams from the unidirectional streams provided by gopacket/tcpassembly. | This binary provides an example of connecting up bidirectional streams from the unidirectional streams provided by gopacket/tcpassembly. | 
| 
          
            examples/bytediff
            
            command
          
           This binary shows how to display byte differences to users via the bytediff library. | This binary shows how to display byte differences to users via the bytediff library. | 
| 
          
            examples/httpassembly
            
            command
          
           This binary provides sample code for using the gopacket TCP assembler and TCP stream reader. | This binary provides sample code for using the gopacket TCP assembler and TCP stream reader. | 
| 
          
            examples/pcapdump
            
            command
          
           The pcapdump binary implements a tcpdump-like command line tool with gopacket using pcap as a backend data collection mechanism. | The pcapdump binary implements a tcpdump-like command line tool with gopacket using pcap as a backend data collection mechanism. | 
| 
          
            examples/pfdump
            
            command
          
           The pfdump binary implements a tcpdump-like command line tool with gopacket using pfring as a backend data collection mechanism. | The pfdump binary implements a tcpdump-like command line tool with gopacket using pfring as a backend data collection mechanism. | 
| 
          
            examples/statsassembly
            
            command
          
           This binary provides sample code for using the gopacket TCP assembler raw, without the help of the tcpreader library. | This binary provides sample code for using the gopacket TCP assembler raw, without the help of the tcpreader library. | 
| 
          
            examples/synscan
            
            command
          
           synscan implements a TCP syn scanner on top of pcap. | synscan implements a TCP syn scanner on top of pcap. | 
| 
          
            examples/util
            
            
          
           Package util provides shared utilities for all gopacket examples. | Package util provides shared utilities for all gopacket examples. | 
| 
          
            layers
            
            
          
           Package layers provides decoding layers for many common protocols. | Package layers provides decoding layers for many common protocols. | 
| 
          
            macs
            
            
          
           Package macs provides an in-memory mapping of all valid Ethernet MAC address prefixes to their associated organization. | Package macs provides an in-memory mapping of all valid Ethernet MAC address prefixes to their associated organization. | 
| 
          
            pcap
            
            
          
           Package pcap allows users of gopacket to read packets off the wire or from pcap files. | Package pcap allows users of gopacket to read packets off the wire or from pcap files. | 
| 
          
            pcap/gopacket_benchmark
            
            command
          
           This benchmark reads in file <tempdir>/gopacket_benchmark.pcap and measures the time it takes to decode all packets from that file. | This benchmark reads in file <tempdir>/gopacket_benchmark.pcap and measures the time it takes to decode all packets from that file. | 
| 
          
            pcapgo
            
            
          
           Package pcapgo provides some native PCAP support, not requiring C libpcap to be installed. | Package pcapgo provides some native PCAP support, not requiring C libpcap to be installed. | 
| 
          
            pfring
            
            
          
           Package pfring wraps the PF_RING C library for Go. | Package pfring wraps the PF_RING C library for Go. | 
| 
          
            routing
            
            
          
           Package routing provides a very basic but mostly functional implementation of a routing table for IPv4/IPv6 addresses. | Package routing provides a very basic but mostly functional implementation of a routing table for IPv4/IPv6 addresses. | 
| 
          
            tcpassembly
            
            
          
           Package tcpassembly provides TCP stream re-assembly. | Package tcpassembly provides TCP stream re-assembly. | 
| 
          
            tcpassembly/tcpreader
            
            
          
           Package tcpreader provides an implementation for tcpassembly.Stream which presents the caller with an io.Reader for easy processing. | Package tcpreader provides an implementation for tcpassembly.Stream which presents the caller with an io.Reader for easy processing. | 
 Click to show internal directories. 
   Click to hide internal directories.