ip_compat.c (d6c23f6f) ip_compat.c (af5f29dd)
1/*
2 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
5
1/*
2 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
5
6#pragma ident "%Z%%M% %I% %E% SMI"
7
8#if defined(KERNEL) || defined(_KERNEL)
9# undef KERNEL
10# undef _KERNEL
11# define KERNEL 1
12# define _KERNEL 1
13#endif
14#include <sys/errno.h>
15#include <sys/types.h>

--- 79 unchanged lines hidden (view full) ---

95# include <netinet/ip_icmp.h>
96#endif
97#ifdef __hpux
98# undef _NET_ROUTE_INCLUDED
99#endif
100#include "netinet/ip_compat.h"
101#ifdef USE_INET6
102# include <netinet/icmp6.h>
6#if defined(KERNEL) || defined(_KERNEL)
7# undef KERNEL
8# undef _KERNEL
9# define KERNEL 1
10# define _KERNEL 1
11#endif
12#include <sys/errno.h>
13#include <sys/types.h>

--- 79 unchanged lines hidden (view full) ---

93# include <netinet/ip_icmp.h>
94#endif
95#ifdef __hpux
96# undef _NET_ROUTE_INCLUDED
97#endif
98#include "netinet/ip_compat.h"
99#ifdef USE_INET6
100# include <netinet/icmp6.h>
103# if !SOLARIS && defined(_KERNEL) && !defined(__osf__) && !defined(__hpux)
101# if !defined(SOLARIS) && defined(_KERNEL) && !defined(__osf__) && \
102 !defined(__hpux)
104# include <netinet6/in6_var.h>
105# endif
106#endif
107#include <netinet/tcpip.h>
108#include "netinet/ip_fil.h"
109#include "netinet/ip_nat.h"
110#include "netinet/ip_frag.h"
111#include "netinet/ip_state.h"

--- 199 unchanged lines hidden ---
103# include <netinet6/in6_var.h>
104# endif
105#endif
106#include <netinet/tcpip.h>
107#include "netinet/ip_fil.h"
108#include "netinet/ip_nat.h"
109#include "netinet/ip_frag.h"
110#include "netinet/ip_state.h"

--- 199 unchanged lines hidden ---