version 1.1.1.2, 2012/10/09 09:22:28
|
version 1.1.1.3, 2013/07/21 23:54:39
|
Line 142 typedef int socklen_t;
|
Line 142 typedef int socklen_t;
|
#include <sys/sockio.h> |
#include <sys/sockio.h> |
#endif /* HAVE_SYS_SOCKIO_H */ |
#endif /* HAVE_SYS_SOCKIO_H */ |
|
|
|
#ifdef __APPLE__ |
|
#define __APPLE_USE_RFC_3542 |
|
#endif |
|
|
#ifdef HAVE_NETINET_IN_H |
#ifdef HAVE_NETINET_IN_H |
#include <netinet/in.h> |
#include <netinet/in.h> |
#endif /* HAVE_NETINET_IN_H */ |
#endif /* HAVE_NETINET_IN_H */ |
Line 357 struct in_pktinfo
|
Line 361 struct in_pktinfo
|
*/ |
*/ |
#if defined(__NetBSD__) || defined(__FreeBSD__) \ |
#if defined(__NetBSD__) || defined(__FreeBSD__) \ |
|| (defined(__OpenBSD__) && (OpenBSD < 200311)) \ |
|| (defined(__OpenBSD__) && (OpenBSD < 200311)) \ |
|
|| (defined(__APPLE__)) \ |
|| (defined(SUNOS_5) && defined(WORDS_BIGENDIAN)) |
|| (defined(SUNOS_5) && defined(WORDS_BIGENDIAN)) |
#define HAVE_IP_HDRINCL_BSD_ORDER |
#define HAVE_IP_HDRINCL_BSD_ORDER |
#endif |
#endif |
Line 385 struct in_pktinfo
|
Line 390 struct in_pktinfo
|
#ifndef MIN |
#ifndef MIN |
#define MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define MIN(a, b) ((a) < (b) ? (a) : (b)) |
#endif |
#endif |
|
|
|
#define ZEBRA_NUM_OF(x) (sizeof (x) / sizeof (x[0])) |
|
|
/* For old definition. */ |
/* For old definition. */ |
#ifndef IN6_ARE_ADDR_EQUAL |
#ifndef IN6_ARE_ADDR_EQUAL |