Home
last modified time | relevance | path

Searched refs:a_names (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c470 curalg->a_names = (char **)malloc(sizeof (char *)); in build_list()
473 if (curalg->a_names == NULL || token == NULL) { in build_list()
480 nnames = (char **)realloc(curalg->a_names, in build_list()
486 curalg->a_names = nnames; in build_list()
487 curalg->a_names[num_sizes] = NULL; in build_list()
488 curalg->a_names[num_sizes - 1] = in build_list()
490 if (curalg->a_names[num_sizes - 1] == NULL) { in build_list()
742 rc->a_names = duplicate_strarr(orig->a_names); in _duplicate_alg()
745 rc->a_key_sizes == NULL || rc->a_names == NULL || in _duplicate_alg()
860 for (name_check = proto->proto_algs[i]->a_names; in getipsecalgbyname()
[all …]
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dalgs.c263 for (k = 0; alg->a_names[k] != NULL; k++) { in write_new_algfile()
264 FPRINTF_ERR(fprintf(f, "%s", alg->a_names[k])); in write_new_algfile()
265 if (alg->a_names[k+1] != NULL) in write_new_algfile()
387 proto->proto_algs[i]->a_names; in delipsecalgbyname_common()
455 curname = curalg->a_names; in ipsecalg_exists()
456 newbiename = newbie->a_names; in ipsecalg_exists()
511 for (name_check = newbie->a_names; *name_check != NULL; name_check++) { in addipsecalg()
H A Dipsec_util.c503 if (fputs(alg->a_names[0], where) == EOF) in dump_generic_alg()
3523 return (*(holder->a_names)); in rparsealg()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c623 newbie.a_names = NULL; in new_alg()
626 newbie.a_names = realloc(newbie.a_names, in new_alg()
628 if (newbie.a_names == NULL) in new_alg()
630 newbie.a_names[num_names - 1] = holder; in new_alg()
631 newbie.a_names[num_names] = NULL; in new_alg()
742 free(newbie.a_names); in new_alg()
867 if (alg->a_names != NULL) { in dump_alg()
869 floater = alg->a_names; in dump_alg()
H A Dipseckey.c698 algent->a_names[0]); in parsealg()
H A Dipsecconf.c1739 (void) printf("%s", alg->a_names[0]); in print_alg()
/illumos-gate/usr/src/head/
H A Dnetdb.h196 char **a_names; /* algorithm names */ member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1129 (void) strlcpy(numprint, alg->a_names[0], sizeof (numprint)); in rparsealg()