Deleted Added
full compact
ipcomp_var.h (139823) ipcomp_var.h (195699)
1/* $FreeBSD: head/sys/netipsec/ipcomp_var.h 139823 2005-01-07 01:45:51Z imp $ */
1/* $FreeBSD: head/sys/netipsec/ipcomp_var.h 195699 2009-07-14 22:48:30Z rwatson $ */
2/* $KAME: ipcomp.h,v 1.8 2000/09/26 07:55:14 itojun Exp $ */
3
4/*-
5 * Copyright (C) 1999 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 46 unchanged lines hidden (view full) ---

56 u_int64_t ipcomps_obytes; /* Output bytes */
57 u_int32_t ipcomps_toobig; /* Packet got > IP_MAXPACKET */
58 u_int32_t ipcomps_pdrops; /* Packet blocked due to policy */
59 u_int32_t ipcomps_crypto; /* "Crypto" processing failure */
60 u_int32_t ipcomps_hist[IPCOMP_ALG_MAX];/* Per-algorithm op count */
61};
62
63#ifdef _KERNEL
2/* $KAME: ipcomp.h,v 1.8 2000/09/26 07:55:14 itojun Exp $ */
3
4/*-
5 * Copyright (C) 1999 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 46 unchanged lines hidden (view full) ---

56 u_int64_t ipcomps_obytes; /* Output bytes */
57 u_int32_t ipcomps_toobig; /* Packet got > IP_MAXPACKET */
58 u_int32_t ipcomps_pdrops; /* Packet blocked due to policy */
59 u_int32_t ipcomps_crypto; /* "Crypto" processing failure */
60 u_int32_t ipcomps_hist[IPCOMP_ALG_MAX];/* Per-algorithm op count */
61};
62
63#ifdef _KERNEL
64extern int ipcomp_enable;
65extern struct ipcompstat ipcompstat;
64VNET_DECLARE(int, ipcomp_enable);
65#define V_ipcomp_enable VNET_GET(ipcomp_enable)
66VNET_DECLARE(struct ipcompstat, ipcompstat);
67#define V_ipcompstat VNET_GET(ipcompstat)
66#endif /* _KERNEL */
67#endif /*_NETIPSEC_IPCOMP_VAR_H_*/
68#endif /* _KERNEL */
69#endif /*_NETIPSEC_IPCOMP_VAR_H_*/