ipcomp_var.h (c398230b64aea809cb7c5cea8db580af7097920c) | ipcomp_var.h (eddfbb763ded6b5f6777335142be9a0edab628bb) |
---|---|
1/* $FreeBSD$ */ 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 --- 47 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 | 1/* $FreeBSD$ */ 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 --- 47 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_*/ |