Searched refs:WHICH_ALG (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c905 #define WHICH_ALG(type, wild, idx) ((wild)?(known_algs[type][idx].id):(idx)) macro
908 encr_alg = WHICH_ALG(ESP_ENCR, wild_encr, encr_idx);
917 auth_alg = WHICH_ALG(AH_AUTH, wild_auth, auth_idx);
927 eauth_alg = WHICH_ALG(ESP_AUTH, wild_eauth,
956 #undef WHICH_ALG macro
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c1303 #define WHICH_ALG(type, wild, idx, ipss) \ macro
1307 encr_alg = WHICH_ALG(IPSEC_ALG_ENCR, wild_encr, encr_idx, ipss);
1311 auth_alg = WHICH_ALG(IPSEC_ALG_AUTH, wild_auth,
1317 eauth_alg = WHICH_ALG(IPSEC_ALG_AUTH,
1329 #undef WHICH_ALG macro

Completed in 82 milliseconds