Home
last modified time | relevance | path

Searched refs:espstack (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipsecesp.c104 #define esp1dbg(espstack, a) if (espstack->ipsecesp_debug != 0) printf a argument
105 #define esp2dbg(espstack, a) if (espstack->ipsecesp_debug > 1) printf a argument
106 #define esp3dbg(espstack, a) if (espstack->ipsecesp_debug > 2) printf a argument
164 esp_kstat_init(ipsecesp_stack_t *espstack, netstackid_t stackid) in esp_kstat_init() argument
166 espstack->esp_ksp = kstat_create_netstack("ipsecesp", 0, "esp_stat", in esp_kstat_init()
170 if (espstack->esp_ksp == NULL || espstack->esp_ksp->ks_data == NULL) in esp_kstat_init()
173 espstack->esp_kstats = espstack->esp_ksp->ks_data; in esp_kstat_init()
175 espstack->esp_ksp->ks_update = esp_kstat_update; in esp_kstat_init()
176 espstack->esp_ksp->ks_private = (void *)(uintptr_t)stackid; in esp_kstat_init()
179 #define KI(x) kstat_named_init(&(espstack->esp_kstats->esp_stat_##x), #x, K64) in esp_kstat_init()
[all …]
H A Dip_sadb.c586 ipsecesp_stack_t *espstack; in ipsec_outbound_sa() local
588 espstack = ns->netstack_ipsecesp; in ipsec_outbound_sa()
590 sadbp = &espstack->esp_sadb; in ipsec_outbound_sa()
801 ipsecesp_stack_t *espstack = ns->netstack_ipsecesp; in ipsec_inbound_esp_sa() local
853 sp = &espstack->esp_sadb.s_v6; in ipsec_inbound_esp_sa()
861 sp = &espstack->esp_sadb.s_v4; in ipsec_inbound_esp_sa()
H A Dsadb.c4002 ipsecesp_stack_t *espstack = assoc->ipsa_netstack->netstack_ipsecesp; local
4003 int nat_t_interval = espstack->ipsecesp_nat_keepalive_interval;
5134 ipsecesp_stack_t *espstack = ns->netstack_ipsecesp; local
5155 if (espstack->esp_kstats == NULL)
5166 replay = espstack->ipsecesp_replay_size;
5242 softbytes = espstack->ipsecesp_default_soft_bytes;
5243 hardbytes = espstack->ipsecesp_default_hard_bytes;
5244 softaddtime = espstack->ipsecesp_default_soft_addtime;
5245 hardaddtime = espstack->ipsecesp_default_hard_addtime;
5246 softusetime = espstack->ipsecesp_default_soft_usetime;
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dipsecesp.h79 #define ESP_BUMP_STAT(espstack, x) \ argument
81 if (espstack->esp_kstats != NULL) \
82 (espstack->esp_kstats->esp_stat_ ## x).value.ui64++; \
86 #define ESP_DEBUMP_STAT(espstack, x) \ argument
88 if (espstack->esp_kstats != NULL) \
89 (espstack->esp_kstats->esp_stat_ ## x).value.ui64--; \