Changeset 790


Ignore:
Timestamp:
05/06/06 11:54:30 (7 years ago)
Author:
mglb1
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/protocols.c

    r789 r790  
    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.