anchor.diff:  %% @end
   -module(enet_pcap).
   
  +-include_lib("kernel/include/file.hrl").
   -define(PCAP_MAGIC, <<16#d4,16#c3,16#b2,16#a1>>).
   -define(PCAP_HDR_SIZE, 24). % 4+2+2+4+4+4+4
   -define(PCAP_PKTHDR_SIZE, 16). % 4+4+4+4
  
positive.code:     {UnixTS div 1000000,
       UnixTS rem 1000000,
       MicroSecs}.
  
  unix_ts_to_datetime(Ts) when is_list(Ts) ->
      unix_ts_to_datetime(list_to_integer(Ts));
  
negative.code:          ,default_header/0
           ,decode_packet/1
           ,encode_packet/2
           ,append_to_file/2
          ]).
  
  %% Example:
  