Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcap: implement LINKTYPE_NULL #1416

Closed
wants to merge 1 commit into from
Closed

Commits on Apr 13, 2015

  1. pcap: implement LINKTYPE_NULL

    Implement LINKTYPE_NULL for pcap live and pcap file.
    
    From: http://www.tcpdump.org/linktypes.html
    
    "BSD loopback encapsulation; the link layer header is a 4-byte field,
     in host byte order, containing a PF_ value from socket.h for the
     network-layer protocol of the packet.
    
     Note that ``host byte order'' is the byte order of the machine on
     which the packets are captured, and the PF_ values are for the OS
     of the machine on which the packets are captured; if a live capture
     is being done, ``host byte order'' is the byte order of the machine
     capturing the packets, and the PF_ values are those of the OS of
     the machine capturing the packets, but if a ``savefile'' is being
     read, the byte order and PF_ values are not necessarily those of
     the machine reading the capture file."
    
    Feature ticket #1445
    victorjulien committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    d3b1545 View commit details
    Browse the repository at this point in the history