in.h revision 234183
1228753Smm/*- 2228753Smm * Copyright (c) 2010 Isilon Systems, Inc. 3228753Smm * Copyright (c) 2010 iX Systems, Inc. 4228753Smm * Copyright (c) 2010 Panasas, Inc. 5228753Smm * All rights reserved. 6228753Smm * 7228753Smm * Redistribution and use in source and binary forms, with or without 8228753Smm * modification, are permitted provided that the following conditions 9228753Smm * are met: 10228753Smm * 1. Redistributions of source code must retain the above copyright 11228753Smm * notice unmodified, this list of conditions, and the following 12228753Smm * disclaimer. 13228753Smm * 2. Redistributions in binary form must reproduce the above copyright 14228753Smm * notice, this list of conditions and the following disclaimer in the 15228753Smm * documentation and/or other materials provided with the distribution. 16228753Smm * 17228753Smm * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18228753Smm * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19228753Smm * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20228753Smm * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21228753Smm * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22228753Smm * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23228753Smm * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24228753Smm * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25228753Smm * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26228753Smm * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27228753Smm */ 28228753Smm#ifndef _LINUX_IN_H_ 29228753Smm#define _LINUX_IN_H_ 30228753Smm 31228753Smm#include "opt_inet.h" 32228753Smm 33228753Smm#include <netinet/in.h> 34228753Smm#include <asm/byteorder.h> 35228753Smm 36228753Smm#define ipv4_is_zeronet IN_ZERONET 37228753Smm#define ipv4_is_loopback IN_LOOPBACK 38228753Smm 39228753Smm#endif /* _LINUX_IN_H_ */ 40228753Smm