epoc32/include/libc/netinet/arp.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/libc/netinet/arp.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/libc/netinet/arp.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -34,13 +34,13 @@
     1.4  #ifndef	_NETINET_ARP_H
     1.5  #define	_NETINET_ARP_H
     1.6  
     1.7 -
     1.8 -#include <libc\sys\socket.h>
     1.9 -
    1.10  #ifdef	__cplusplus
    1.11  extern "C" {
    1.12  #endif
    1.13  
    1.14 +#include <sys/socket.h>
    1.15 +#include <sys/types.h>
    1.16 +#include <libc/netinet/net_types.h>
    1.17  /**
    1.18  Address Resolution Protocol.
    1.19  
    1.20 @@ -90,26 +90,6 @@
    1.21  	struct ether_addr arp_tha;	/* target hardware address */
    1.22  	u_char	arp_tpa[4];		/* target protocol address */
    1.23  };
    1.24 -/**
    1.25 -@internalComponent
    1.26 -*/
    1.27 -#define	arp_hrd	ea_hdr.ar_hrd
    1.28 -/**
    1.29 -@internalComponent
    1.30 -*/
    1.31 -#define	arp_pro	ea_hdr.ar_pro
    1.32 -/**
    1.33 -@internalComponent
    1.34 -*/
    1.35 -#define	arp_hln	ea_hdr.ar_hln
    1.36 -/**
    1.37 -@internalComponent
    1.38 -*/
    1.39 -#define	arp_pln	ea_hdr.ar_pln
    1.40 -/**
    1.41 -@internalComponent
    1.42 -*/
    1.43 -#define	arp_op	ea_hdr.ar_op
    1.44  
    1.45  /**
    1.46  ARP ioctl request
    1.47 @@ -119,27 +99,7 @@
    1.48  	struct	sockaddr arp_ha;		/* hardware address */
    1.49  	int	arp_flags;			/* flags */
    1.50  };
    1.51 -/**
    1.52 -arp_flags and at_flags field values 
    1.53 -@internalComponent
    1.54 -*/
    1.55 -#define	ATF_INUSE	0x01	/* entry in use */
    1.56 -/**
    1.57 -@internalComponent
    1.58 -*/
    1.59 -#define	ATF_COM		0x02	/* completed entry (enaddr valid) */
    1.60 -/**
    1.61 -@internalComponent
    1.62 -*/
    1.63 -#define	ATF_PERM	0x04	/* permanent entry */
    1.64 -/**
    1.65 -@internalComponent
    1.66 -*/
    1.67 -#define	ATF_PUBL	0x08	/* publish entry (respond for other host) */
    1.68 -/**
    1.69 -@internalComponent
    1.70 -*/
    1.71 -#define	ATF_USETRAILERS	0x10	/* has requested trailers */
    1.72 +
    1.73  
    1.74  #ifdef	__cplusplus
    1.75  }