mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-26 07:55:01 +00:00
netipsec/xform_esp.c: make esp_ctr_compatibility global
Sponsored by: NVIDIA networking
This commit is contained in:
parent
54ac7b969f
commit
41106f5aa0
@ -74,6 +74,8 @@ struct espstat {
|
||||
#include <sys/counter.h>
|
||||
|
||||
VNET_DECLARE(int, esp_enable);
|
||||
VNET_DECLARE(int, esp_ctr_compatibility);
|
||||
#define V_esp_ctr_compatibility VNET(esp_ctr_compatibility)
|
||||
VNET_PCPUSTAT_DECLARE(struct espstat, espstat);
|
||||
|
||||
#define ESPSTAT_ADD(name, val) \
|
||||
|
@ -83,8 +83,7 @@
|
||||
#define SPI_SIZE 4
|
||||
|
||||
VNET_DEFINE(int, esp_enable) = 1;
|
||||
VNET_DEFINE_STATIC(int, esp_ctr_compatibility) = 1;
|
||||
#define V_esp_ctr_compatibility VNET(esp_ctr_compatibility)
|
||||
VNET_DEFINE(int, esp_ctr_compatibility) = 1;
|
||||
VNET_PCPUSTAT_DEFINE(struct espstat, espstat);
|
||||
VNET_PCPUSTAT_SYSINIT(espstat);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user