in.h (96431) | in.h (102227) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in.h 8.3 (Berkeley) 1/3/94 | 1/* 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in.h 8.3 (Berkeley) 1/3/94 |
34 * $FreeBSD: head/sys/netinet/in.h 96431 2002-05-11 23:28:51Z mike $ | 34 * $FreeBSD: head/sys/netinet/in.h 102227 2002-08-21 16:20:02Z mike $ |
35 */ 36 37#ifndef _NETINET_IN_H_ 38#define _NETINET_IN_H_ 39 40#include <sys/cdefs.h> 41#include <sys/_types.h> 42#include <machine/endian.h> --- 27 unchanged lines hidden (view full) --- 70#define _IN_ADDR_T_DECLARED 71#endif 72 73#ifndef _IN_PORT_T_DECLARED 74typedef uint16_t in_port_t; 75#define _IN_PORT_T_DECLARED 76#endif 77 | 35 */ 36 37#ifndef _NETINET_IN_H_ 38#define _NETINET_IN_H_ 39 40#include <sys/cdefs.h> 41#include <sys/_types.h> 42#include <machine/endian.h> --- 27 unchanged lines hidden (view full) --- 70#define _IN_ADDR_T_DECLARED 71#endif 72 73#ifndef _IN_PORT_T_DECLARED 74typedef uint16_t in_port_t; 75#define _IN_PORT_T_DECLARED 76#endif 77 |
78#ifdef _BSD_SA_FAMILY_T_ 79typedef _BSD_SA_FAMILY_T_ sa_family_t; 80#undef _BSD_SA_FAMILY_T_ | 78#ifndef _SA_FAMILY_T_DECLARED 79typedef __sa_family_t sa_family_t; 80#define _SA_FAMILY_T_DECLARED |
81#endif 82 83/* Internet address (a structure for historical reasons). */ 84#ifndef _STRUCT_IN_ADDR_DECLARED 85struct in_addr { 86 in_addr_t s_addr; 87}; 88#define _STRUCT_IN_ADDR_DECLARED --- 462 unchanged lines hidden --- | 81#endif 82 83/* Internet address (a structure for historical reasons). */ 84#ifndef _STRUCT_IN_ADDR_DECLARED 85struct in_addr { 86 in_addr_t s_addr; 87}; 88#define _STRUCT_IN_ADDR_DECLARED --- 462 unchanged lines hidden --- |