pim.h (118623) | pim.h (126740) |
---|---|
1/* 2 * Copyright (c) 1996-2000 3 * University of Southern California/Information Sciences Institute. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/* 2 * Copyright (c) 1996-2000 3 * University of Southern California/Information Sciences Institute. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sys/netinet/pim.h 118623 2003-08-07 18:17:43Z hsu $ | 30 * $FreeBSD: head/sys/netinet/pim.h 126740 2004-03-08 07:45:32Z hsu $ |
31 */ 32 33#ifndef _NETINET_PIM_H_ 34#define _NETINET_PIM_H_ 35 36/* 37 * Protocol Independent Multicast (PIM) definitions. 38 * RFC 2362, June 1998. 39 * 40 * Written by Ahmed Helmy, USC/SGI, July 1996. 41 * Modified by George Edmond Eddy (Rusty), ISI, February 1998. 42 * Modified by Pavlin Radoslavov, USC/ISI, May 1998, October 2000. 43 */ 44 | 31 */ 32 33#ifndef _NETINET_PIM_H_ 34#define _NETINET_PIM_H_ 35 36/* 37 * Protocol Independent Multicast (PIM) definitions. 38 * RFC 2362, June 1998. 39 * 40 * Written by Ahmed Helmy, USC/SGI, July 1996. 41 * Modified by George Edmond Eddy (Rusty), ISI, February 1998. 42 * Modified by Pavlin Radoslavov, USC/ISI, May 1998, October 2000. 43 */ 44 |
45#include <sys/types.h> 46 |
|
45#ifndef _PIM_VT 46#ifndef BYTE_ORDER 47# error BYTE_ORDER is not defined! 48#endif 49#if (BYTE_ORDER != BIG_ENDIAN) && (BYTE_ORDER != LITTLE_ENDIAN) 50# error BYTE_ORDER must be defined to either BIG_ENDIAN or LITTLE_ENDIAN 51#endif 52#endif /* ! _PIM_VT */ --- 65 unchanged lines hidden --- | 47#ifndef _PIM_VT 48#ifndef BYTE_ORDER 49# error BYTE_ORDER is not defined! 50#endif 51#if (BYTE_ORDER != BIG_ENDIAN) && (BYTE_ORDER != LITTLE_ENDIAN) 52# error BYTE_ORDER must be defined to either BIG_ENDIAN or LITTLE_ENDIAN 53#endif 54#endif /* ! _PIM_VT */ --- 65 unchanged lines hidden --- |