Home
last modified time | relevance | path

Searched refs:ipsec_nalgs (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c362 static int ipsec_nalgs[3]; variable
670 known_algs[algtype][ipsec_nalgs[algtype]] = alg; in fetch_algorithms()
671 ipsec_nalgs[algtype]++; in fetch_algorithms()
730 for (i = 0; i < ipsec_nalgs[type]; i++) { in emit_alg()
734 if (i < ipsec_nalgs[type]) in emit_alg()
826 for (i = 0; i < ipsec_nalgs[type]; i++) { in alg_rangecheck()
831 if (i >= ipsec_nalgs[type]) { in alg_rangecheck()
894 auth_max = ipsec_nalgs[AH_AUTH] - 1; in ips_act_wild_props_to_action()
898 eauth_max = ipsec_nalgs[ESP_AUTH] - 1; in ips_act_wild_props_to_action()
902 encr_max = ipsec_nalgs[ESP_ENCR] - 1; in ips_act_wild_props_to_action()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspdsock.c2282 algcount = 2 * ipss->ipsec_nalgs[IPSEC_ALG_AUTH] + in spdsock_alglist()
2283 ipss->ipsec_nalgs[IPSEC_ALG_ENCR]; in spdsock_alglist()
2349 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in spdsock_alglist()
2427 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in spdsock_dumpalgs()
2467 act->spd_actions_count = ipss->ipsec_nalgs[IPSEC_ALG_AUTH] + in spdsock_dumpalgs()
2468 ipss->ipsec_nalgs[IPSEC_ALG_ENCR]; in spdsock_dumpalgs()
2490 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in spdsock_dumpalgs()
3721 nalgs = ipss->ipsec_nalgs[algtype]; in spdsock_merge_algs()
H A Dspd.c660 ipss->ipsec_nalgs[i] = 0; in ipsec_stack_init()
717 uint_t count = ipss->ipsec_nalgs[at]; in alg_insert_sortlist()
756 int newcount = ipss->ipsec_nalgs[at]; in alg_remove_sortlist()
785 ipss->ipsec_nalgs[algtype]++; in ipsec_alg_reg()
804 ipss->ipsec_nalgs[algtype]--; in ipsec_alg_unreg()
1267 int nalgs = ipss->ipsec_nalgs[type]; \ in ipsec_act_wildcard_expand()
1272 max = ipss->ipsec_nalgs[type] - 1; \ in ipsec_act_wildcard_expand()
5068 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in ipsec_prov_update_callback_stack()
H A Dipsecesp.c234 ipss->ipsec_nalgs[IPSEC_ALG_AUTH]; in esp_kstat_update()
236 ipss->ipsec_nalgs[IPSEC_ALG_ENCR]; in esp_kstat_update()
H A Dsadb.c5158 num_aalgs = ipss->ipsec_nalgs[IPSEC_ALG_AUTH];
5159 num_ealgs = ipss->ipsec_nalgs[IPSEC_ALG_ENCR];
5171 ncombs = ipss->ipsec_nalgs[IPSEC_ALG_AUTH];
H A Dipsecah.c240 ekp->ah_stat_num_aalgs.value.ui64 = ipss->ipsec_nalgs[IPSEC_ALG_AUTH]; in ah_kstat_update()
/illumos-gate/usr/src/uts/common/inet/
H A Dipsec_impl.h795 uint8_t ipsec_nalgs[IPSEC_NALGTYPES]; member