Ignore:
Timestamp:
11/03/05 17:17:41 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
fe3d755
Parents:
117e83b
Message:

2.0.25

Fixes for builds under openbsd:

  • pcap uses a struct bpf_filter, not struct timeval. fixed format_pcap to solve this
  • #includes in libpacketdump - libpacketdump still not working properly
  • rijndael.c and .h conflicted with a system function called 'encrypt' - renamed encrypt and decrypt to r_* within rijndael*
  • UINT64_MAX not defined under freebsd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/libpacketdump.cc

    r950d54a r41b53c2  
    33#include <time.h>
    44#include "libpacketdump.h"
     5#include "config.h"
    56#include <stdio.h>
     7#include <netdb.h>
    68#include <stdlib.h>
    79#include <getopt.h>
    8 #include <netinet/ether.h>
     10
     11#ifdef HAVE_NETINET_ETHER
     12#  include <netinet/ether.h>
     13#endif
     14
     15
     16#ifdef HAVE_INTTYPES_H
     17#  include <inttypes.h>
     18#else
     19#  error "Can't find inttypes.h"
     20#endif
     21
     22#ifdef HAVE_LIMITS_H
     23#  include <limits.h>
     24#endif
     25
     26#ifdef HAVE_SYS_LIMITS_H
     27#  include <sys/limits.h>
     28#endif
     29
     30#ifdef HAVE_SYS_TYPES_H
     31#  include <sys/types.h>
     32#endif
     33#include <net/if.h>
    934#include <netinet/in.h>
    1035#include <stdio.h>
    11 #include <inttypes.h>
     36
     37#include <net/if_arp.h>
     38#ifdef HAVE_NETINET_IF_ETHER_H
     39#  include <netinet/if_ether.h>
     40#endif
    1241#include <dlfcn.h>
    1342#include <map>
Note: See TracChangeset for help on using the changeset viewer.