Revision e2542fe2 slirp/ip.h

b/slirp/ip.h
33 33
#ifndef _IP_H_
34 34
#define _IP_H_
35 35

  
36
#ifdef WORDS_BIGENDIAN
36
#ifdef HOST_WORDS_BIGENDIAN
37 37
# ifndef NTOHL
38 38
#  define NTOHL(d)
39 39
# endif
......
73 73
 * Structure of an internet header, naked of options.
74 74
 */
75 75
struct ip {
76
#ifdef WORDS_BIGENDIAN
76
#ifdef HOST_WORDS_BIGENDIAN
77 77
	u_int ip_v:4,			/* version */
78 78
		ip_hl:4;		/* header length */
79 79
#else
......
139 139
	u_int8_t	ipt_code;		/* IPOPT_TS */
140 140
	u_int8_t	ipt_len;		/* size of structure (variable) */
141 141
	u_int8_t	ipt_ptr;		/* index of current entry */
142
#ifdef WORDS_BIGENDIAN
142
#ifdef HOST_WORDS_BIGENDIAN
143 143
	u_int	ipt_oflw:4,		/* overflow counter */
144 144
		ipt_flg:4;		/* flags, see below */
145 145
#else

Also available in: Unified diff