Changeset 95747c3


Ignore:
Timestamp:
05/06/06 11:54:30 (15 years ago)
Author:
Matt Brown <mattb@…>
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:
045c984
Parents:
92b3f87
Message:

Added the required ARP_HRD types that Windows doesn't supply.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    r92b3f87 r95747c3  
    88#include <assert.h>
    99#include <stdio.h>
     10
     11#ifndef WIN32
    1012#include <net/if_arp.h>
    11 
     13#else
     14#define ARPHRD_ETHER    1               /* Ethernet 10/100Mbps.  */
     15#define ARPHRD_PPP      512
     16#endif
    1217
    1318/* Returns the payload from 802.3 ethernet.  Type optionally returned in
Note: See TracChangeset for help on using the changeset viewer.