ipcomp_var.h (199946) | ipcomp_var.h (207369) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipcomp_var.h 199946 2009-11-29 20:37:30Z bz $ */ | 1/* $FreeBSD: head/sys/netipsec/ipcomp_var.h 207369 2010-04-29 11:52:42Z bz $ */ |
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 --- 51 unchanged lines hidden (view full) --- 61 u_int32_t ipcomps_hist[IPCOMP_ALG_MAX];/* Per-algorithm op count */ 62 u_int32_t version; /* Version of this structure. */ 63 u_int32_t ipcomps_threshold; /* Packet < comp. algo. threshold. */ 64 u_int32_t ipcomps_uncompr; /* Compression was useles. */ 65}; 66 67#ifdef _KERNEL 68VNET_DECLARE(int, ipcomp_enable); | 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 --- 51 unchanged lines hidden (view full) --- 61 u_int32_t ipcomps_hist[IPCOMP_ALG_MAX];/* Per-algorithm op count */ 62 u_int32_t version; /* Version of this structure. */ 63 u_int32_t ipcomps_threshold; /* Packet < comp. algo. threshold. */ 64 u_int32_t ipcomps_uncompr; /* Compression was useles. */ 65}; 66 67#ifdef _KERNEL 68VNET_DECLARE(int, ipcomp_enable); |
69#define V_ipcomp_enable VNET(ipcomp_enable) | |
70VNET_DECLARE(struct ipcompstat, ipcompstat); | 69VNET_DECLARE(struct ipcompstat, ipcompstat); |
70 71#define V_ipcomp_enable VNET(ipcomp_enable) |
|
71#define V_ipcompstat VNET(ipcompstat) 72#endif /* _KERNEL */ 73#endif /*_NETIPSEC_IPCOMP_VAR_H_*/ | 72#define V_ipcompstat VNET(ipcompstat) 73#endif /* _KERNEL */ 74#endif /*_NETIPSEC_IPCOMP_VAR_H_*/ |