Changeset 77285d9 for lib/linktypes.c


Ignore:
Timestamp:
05/10/06 09:57:52 (16 years ago)
Author:
Shane Alcock <salcock@…>
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:
3fcb8b4
Parents:
9b8c7ad
Message:

OpenBSD compatibility fixes - adding in various #defines and #includes that are needed to compile under OpenBSD
Added a replacement pcap_next_ex function for systems that aren't running pcap-0.8 or better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    rfe4ab68 r77285d9  
    1313#ifndef WIN32
    1414#include <net/if_arp.h>
    15 #else
     15#endif
     16
     17#ifndef ARPHRD_ETHER
    1618#define ARPHRD_ETHER    1               /* Ethernet 10/100Mbps.  */
     19#endif
     20
     21#ifndef ARPHRD_PPP
    1722#define ARPHRD_PPP      512
    1823#endif
Note: See TracChangeset for help on using the changeset viewer.