Home
last modified time | relevance | path

Searched refs:ipsr (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1194 ipsec_req_t *ipsr; in set_tun_algs() local
1204 ipsr = &params.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 …]
/titanic_41/usr/src/uts/common/inet/iptun/
H A Diptun.c957 iptun_set_sec_simple(iptun_t *iptun, const ipsec_req_t *ipsr) in iptun_set_sec_simple() argument
969 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()