1/* 2 * Swansea University Computer Society NET3 3 * 4 * This work is derived from NET2Debugged, which is in turn derived 5 * from NET2D which was written by: 6 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> 7 * 8 * This work was derived from Ross Biro's inspirational work 9 * for the LINUX operating system. His version numbers were: 10 * 11 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 12 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 13 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 14 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 15 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 16 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 17 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 18 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 19 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 20 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 21 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 22 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 23 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 24 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 25 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 26 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 27 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 28 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 29 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 30 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 31 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 32 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 33 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 34 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 35 * $Id: inet.h,v 1.1.1.1 2007/08/03 18:53:41 Exp $ 36 * 37 * This program is free software; you can redistribute it and/or 38 * modify it under the terms of the GNU General Public License 39 * as published by the Free Software Foundation; either version 40 * 2 of the License, or (at your option) any later version. 41 */ 42#ifndef _LINUX_INET_H 43#define _LINUX_INET_H 44 45#ifdef __KERNEL__ 46#include <linux/types.h> 47 48extern __be32 in_aton(const char *str); 49extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); 50extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); 51#endif 52#endif /* _LINUX_INET_H */ 53