Searched refs:WHICH_ALG (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 905 #define WHICH_ALG(type, wild, idx) ((wild)?(known_algs[type][idx].id):(idx)) in ips_act_wild_props_to_action() macro 908 encr_alg = WHICH_ALG(ESP_ENCR, wild_encr, encr_idx); in ips_act_wild_props_to_action() 917 auth_alg = WHICH_ALG(AH_AUTH, wild_auth, auth_idx); in ips_act_wild_props_to_action() 927 eauth_alg = WHICH_ALG(ESP_AUTH, wild_eauth, in ips_act_wild_props_to_action() 956 #undef WHICH_ALG in ips_act_wild_props_to_action()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spd.c | 1304 #define WHICH_ALG(type, wild, idx, ipss) \ in ipsec_act_wildcard_expand() macro 1308 encr_alg = WHICH_ALG(IPSEC_ALG_ENCR, wild_encr, encr_idx, ipss); in ipsec_act_wildcard_expand() 1312 auth_alg = WHICH_ALG(IPSEC_ALG_AUTH, wild_auth, in ipsec_act_wildcard_expand() 1318 eauth_alg = WHICH_ALG(IPSEC_ALG_AUTH, in ipsec_act_wildcard_expand() 1330 #undef WHICH_ALG in ipsec_act_wildcard_expand()
|