Lines Matching refs:algtype
366 ipsec_algtype_t algtype;
416 for (algtype = 0; algtype < IPSEC_NALGTYPES; algtype ++) {
417 int nalgs = ipss->ipsec_nalgs[algtype];
420 if (ipss->ipsec_alglists[algtype][i] != NULL)
421 ipsec_alg_unreg(algtype, i, ns);
774 ipsec_alg_reg(ipsec_algtype_t algtype, ipsec_alginfo_t *alg, netstack_t *ns)
780 ASSERT(ipss->ipsec_alglists[algtype][alg->alg_id] == NULL);
781 ipsec_alg_fix_min_max(alg, algtype, ns);
782 ipss->ipsec_alglists[algtype][alg->alg_id] = alg;
784 ipss->ipsec_nalgs[algtype]++;
785 alg_insert_sortlist(algtype, alg->alg_id, ns);
793 ipsec_alg_unreg(ipsec_algtype_t algtype, uint8_t algid, netstack_t *ns)
799 ASSERT(ipss->ipsec_alglists[algtype][algid] != NULL);
800 ipsec_alg_free(ipss->ipsec_alglists[algtype][algid]);
801 ipss->ipsec_alglists[algtype][algid] = NULL;
803 ipss->ipsec_nalgs[algtype]--;
804 alg_remove_sortlist(algtype, algid, ns);
1102 act_alg_adjust(uint_t algtype, uint_t algid,
1106 ipsec_alginfo_t *algp = ipss->ipsec_alglists[algtype][algid];
5035 uint_t algidx, algid, algtype, mech_count, mech_idx;
5059 for (algtype = 0; algtype < IPSEC_NALGTYPES; algtype++) {
5060 for (algidx = 0; algidx < ipss->ipsec_nalgs[algtype];
5063 algid = ipss->ipsec_sortlist[algtype][algidx];
5064 alg = ipss->ipsec_alglists[algtype][algid];
5101 ipsec_alg_fix_min_max(alg, algtype, ns);
5116 sadb_alg_update(algtype, alg->alg_id,