The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netipsec/ipip_var.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: ipip_var.h,v 1.4 2008/04/23 06:09:05 thorpej Exp $     */
    2 /*      $FreeBSD: src/sys/netipsec/ipip_var.h,v 1.1.4.1 2003/01/24 05:11:35 sam Exp $   */
    3 /*      $OpenBSD: ip_ipip.h,v 1.5 2002/06/09 16:26:10 itojun Exp $ */
    4 /*
    5  * The authors of this code are John Ioannidis (ji@tla.org),
    6  * Angelos D. Keromytis (kermit@csd.uch.gr) and
    7  * Niels Provos (provos@physnet.uni-hamburg.de).
    8  *
    9  * The original version of this code was written by John Ioannidis
   10  * for BSD/OS in Athens, Greece, in November 1995.
   11  *
   12  * Ported to OpenBSD and NetBSD, with additional transforms, in December 1996,
   13  * by Angelos D. Keromytis.
   14  *
   15  * Additional transforms and features in 1997 and 1998 by Angelos D. Keromytis
   16  * and Niels Provos.
   17  *
   18  * Additional features in 1999 by Angelos D. Keromytis.
   19  *
   20  * Copyright (C) 1995, 1996, 1997, 1998, 1999 by John Ioannidis,
   21  * Angelos D. Keromytis and Niels Provos.
   22  * Copyright (c) 2001, Angelos D. Keromytis.
   23  *
   24  * Permission to use, copy, and modify this software with or without fee
   25  * is hereby granted, provided that this entire notice is included in
   26  * all copies of any software which is or includes a copy or
   27  * modification of this software.
   28  * You may use this code under the GNU public license if you so wish. Please
   29  * contribute changes back to the authors under this freer than GPL license
   30  * so that we may further the use of strong encryption without limitations to
   31  * all.
   32  *
   33  * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR
   34  * IMPLIED WARRANTY. IN PARTICULAR, NONE OF THE AUTHORS MAKES ANY
   35  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE
   36  * MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
   37  * PURPOSE.
   38  */
   39 
   40 #ifndef _NETINET_IPIP_H_
   41 #define _NETINET_IPIP_H_
   42 
   43 /*
   44  * IP-inside-IP processing.
   45  * Not quite all the functionality of RFC-1853, but the main idea is there.
   46  */
   47 
   48 #define IPIP_STAT_IPACKETS      0       /* total input packets */
   49 #define IPIP_STAT_OPACKETS      1       /* total output packets */
   50 #define IPIP_STAT_HDROPS        2       /* packet shorter than header shows */
   51 #define IPIP_STAT_QFULL         3
   52 #define IPIP_STAT_IBYTES        4
   53 #define IPIP_STAT_OBYTES        5
   54 #define IPIP_STAT_PDROPS        6       /* packet dropped due to policy */
   55 #define IPIP_STAT_SPOOF         7       /* IP spoofing attempts */
   56 #define IPIP_STAT_FAMILY        8       /* protocol family mismatch */
   57 #define IPIP_STAT_UNSPEC        9       /* missing tunnel endpoint address */
   58 
   59 #define IPIP_NSTATS             10
   60 
   61 #ifdef _KERNEL
   62 extern  int ipip_allow;
   63 #endif /* _KERNEL */
   64 #endif /* !_NETINET_IPIP_H_ */

Cache object: e3fd0efb4e052d0367b5f7b7f05857c7


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.