Home
last modified time | relevance | path

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

/titanic_44/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()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dspdsock.c2279 algcount = 2 * ipss->ipsec_nalgs[IPSEC_ALG_AUTH] + in spdsock_alglist()
2280 ipss->ipsec_nalgs[IPSEC_ALG_ENCR]; in spdsock_alglist()
2346 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in spdsock_alglist()
2424 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in spdsock_dumpalgs()
2464 act->spd_actions_count = ipss->ipsec_nalgs[IPSEC_ALG_AUTH] + in spdsock_dumpalgs()
2465 ipss->ipsec_nalgs[IPSEC_ALG_ENCR]; in spdsock_dumpalgs()
2487 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in spdsock_dumpalgs()
3697 nalgs = ipss->ipsec_nalgs[algtype]; in spdsock_merge_algs()
H A Dspd.c417 int nalgs = ipss->ipsec_nalgs[algtype]; in ipsec_stack_fini()
659 ipss->ipsec_nalgs[i] = 0; in ipsec_stack_init()
716 uint_t count = ipss->ipsec_nalgs[at]; in alg_insert_sortlist()
755 int newcount = ipss->ipsec_nalgs[at]; in alg_remove_sortlist()
784 ipss->ipsec_nalgs[algtype]++; in ipsec_alg_reg()
803 ipss->ipsec_nalgs[algtype]--; in ipsec_alg_unreg()
1266 int nalgs = ipss->ipsec_nalgs[type]; \ in ipsec_act_wildcard_expand()
1271 max = ipss->ipsec_nalgs[type] - 1; \ in ipsec_act_wildcard_expand()
5061 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype]; in ipsec_prov_update_callback_stack()
H A Dipsecesp.c303 ipss->ipsec_nalgs[IPSEC_ALG_AUTH]; in esp_kstat_update()
305 ipss->ipsec_nalgs[IPSEC_ALG_ENCR]; in esp_kstat_update()
1329 combs = ipss->ipsec_nalgs[IPSEC_ALG_AUTH] * in esp_send_acquire()
1330 ipss->ipsec_nalgs[IPSEC_ALG_ENCR]; in esp_send_acquire()
H A Dipsecah.c251 ekp->ah_stat_num_aalgs.value.ui64 = ipss->ipsec_nalgs[IPSEC_ALG_AUTH]; in ah_kstat_update()
1865 combs = ipss->ipsec_nalgs[IPSEC_ALG_AUTH]; in ah_send_acquire()
H A Dsadb.c5779 allocsize += ipss->ipsec_nalgs[IPSEC_ALG_AUTH] *
5780 ipss->ipsec_nalgs[IPSEC_ALG_ENCR] * sizeof (sadb_comb_t);
/titanic_44/usr/src/uts/common/inet/
H A Dipsec_impl.h790 uint8_t ipsec_nalgs[IPSEC_NALGTYPES]; member