Commits on Apr 12, 2012
  1. Added support of GRE (RFC2784)

    lefan committed with msantos Apr 10, 2012
Commits on Mar 9, 2011
  1. Manually deprecated files with pkt

    msantos committed Mar 9, 2011
    Maybe splitting off epcap_net was not such a great idea! o_O
Commits on Mar 8, 2011
Commits on Dec 28, 2010
  1. Add comment pointing to pkt

    msantos committed Dec 28, 2010
Commits on Dec 10, 2010
  1. Include ICMP unused when constructing packet

    msantos committed Dec 10, 2010
    Include the ICMP unused space in some control messages, defaulting to
    0's.
Commits on Dec 4, 2010
Commits on Nov 21, 2010
  1. IPv4 options

    msantos committed Nov 21, 2010
    Add a record field for IPv4 options.
Commits on Oct 22, 2010
  1. Add support for arp

    msantos committed Oct 22, 2010
    Support matching arp for ipv4 ethernet.
Commits on Aug 6, 2010
Commits on Jul 9, 2010
Commits on Jun 26, 2010
  1. Add record to binary conversion and ICMP types

    msantos committed Jun 26, 2010
    Add the corresponding record to binary conversions. These will be used
    by procket for packet creation.
    
    Add the ICMP types.
    
    Fix the pseudoheader checksumming. Untested.
  2. Add defaults for records

    msantos committed Jun 26, 2010
    Add defaults for the record keys for functions convertig records to
    binaries.
Commits on Jun 6, 2010
Commits on Feb 19, 2010
  1. die trailing whitespace die!

    msantos committed Feb 19, 2010
Commits on Jan 23, 2010
  1. Recursively decapsulate the packet.

    msantos committed Jan 23, 2010
    Extensively tested by watching youtube while running sniff. Also,
    highly entertaining.
    
    The decapsulate function still isn't quite right yet, but works.
    It will return a list of records and the binary as a payload. If
    any of the headers has a problem, it will return {unsupported, Data}
    or {truncated, Data} (which will crash sniff).
    
    decapsulate/2 will return stop when it's reached the end of the
    headers.  The rationale is that we will need to support parsing
    other headers for IPv6 (e.g., the IPv6 Hop-by-Hop Options header)
    and eventually, decoding application headers should be supported.
    Maybe by allowing the caller to pass in a fun.
    
    Remove the jumbo payload check, until we support the ipv6 headers.
Commits on Jan 22, 2010
  1. Use the #ether{} type field.

    msantos committed Jan 22, 2010
    Instead of returning a 3-tuple from ether/1, match on the #ether{}
    type field; also, return an integer instead of a binary for the
    type.
  2. IPv6 support

    oliv3 committed Jan 22, 2010
Commits on Dec 4, 2009