[BACK]Return to ipip_var.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netipsec

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netipsec/ipip_var.h between version 1.3 and 1.4

version 1.3, 2005/12/10 23:44:08 version 1.4, 2008/04/23 06:09:05
Line 45 
Line 45 
  * Not quite all the functionality of RFC-1853, but the main idea is there.   * Not quite all the functionality of RFC-1853, but the main idea is there.
  */   */
   
 struct ipipstat  #define IPIP_STAT_IPACKETS      0       /* total input packets */
 {  #define IPIP_STAT_OPACKETS      1       /* total output packets */
     u_int64_t   ipips_ipackets;         /* total input packets */  #define IPIP_STAT_HDROPS        2       /* packet shorter than header shows */
     u_int64_t   ipips_opackets;         /* total output packets */  #define IPIP_STAT_QFULL         3
     u_int64_t   ipips_hdrops;           /* packet shorter than header shows */  #define IPIP_STAT_IBYTES        4
     u_int64_t   ipips_qfull;  #define IPIP_STAT_OBYTES        5
     u_int64_t   ipips_ibytes;  #define IPIP_STAT_PDROPS        6       /* packet dropped due to policy */
     u_int64_t   ipips_obytes;  #define IPIP_STAT_SPOOF         7       /* IP spoofing attempts */
     u_int64_t   ipips_pdrops;           /* packet dropped due to policy */  #define IPIP_STAT_FAMILY        8       /* protocol family mismatch */
     u_int64_t   ipips_spoof;            /* IP spoofing attempts */  #define IPIP_STAT_UNSPEC        9       /* missing tunnel endpoint address */
     u_int64_t   ipips_family;           /* Protocol family mismatch */  
     u_int64_t   ipips_unspec;            /* Missing tunnel endpoint address */  #define IPIP_NSTATS             10
 };  
   
 #ifdef _KERNEL  #ifdef _KERNEL
 extern  int ipip_allow;  extern  int ipip_allow;
 extern  struct ipipstat ipipstat;  
 #endif /* _KERNEL */  #endif /* _KERNEL */
 #endif /* !_NETINET_IPIP_H_ */  #endif /* !_NETINET_IPIP_H_ */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>