Searched refs:ipsr (Results 1 – 2 of 2) sorted by relevance
1194 ipsec_req_t *ipsr; in set_tun_algs() local1204 ipsr = ¶ms.iptun_param_secinfo; in set_tun_algs()1212 (void) memset(ipsr, 0, sizeof (*ipsr)); in set_tun_algs()1220 if (ipsr->ipsr_esp_auth_alg == SADB_AALG_NONE) in set_tun_algs()1221 ipsr->ipsr_esp_req = 0; in set_tun_algs()1222 ipsr->ipsr_esp_alg = SADB_EALG_NONE; in set_tun_algs()1225 if (ipsr->ipsr_esp_auth_alg != SADB_AALG_NONE) { in set_tun_algs()1227 ipsr->ipsr_esp_alg = SADB_EALG_NULL; in set_tun_algs()1231 ipsr->ipsr_esp_req = in set_tun_algs()1233 ipsr->ipsr_esp_alg = alg; in set_tun_algs()[all …]
957 iptun_set_sec_simple(iptun_t *iptun, const ipsec_req_t *ipsr) in iptun_set_sec_simple() argument969 if (ipsr->ipsr_self_encap_req != 0) in iptun_set_sec_simple()976 clear_all = ((ipsr->ipsr_ah_req & IPTUN_IPSEC_REQ_MASK) == 0 && in iptun_set_sec_simple()977 (ipsr->ipsr_esp_req & IPTUN_IPSEC_REQ_MASK) == 0); in iptun_set_sec_simple()994 ipsec_actvec_from_req(ipsr, &actp, &nact, ns); in iptun_set_sec_simple()