Home
last modified time | relevance | path

Searched refs:cur_pkg (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libipsecutil/common/
H A Dalgs.c77 #define PKG_SEC_START(pkgname, doing_pkg, cur_pkg) { \ argument
78 (void) strcpy((cur_pkg), (pkgname)); \
80 LIBIPSEC_ALGS_LINE_PKGSTART, (cur_pkg))); \
84 #define PKG_SEC_END(doing_pkg, cur_pkg) { \ argument
87 LIBIPSEC_ALGS_LINE_PKGEND, (cur_pkg))); \
147 pkg_section(FILE *f, char *pkg_name, boolean_t *doing_pkg, char *cur_pkg) in pkg_section() argument
155 PKG_SEC_START(pkg_name, *doing_pkg, cur_pkg); in pkg_section()
158 if (strcmp(pkg_name, cur_pkg) != 0) { in pkg_section()
160 PKG_SEC_END(*doing_pkg, cur_pkg); in pkg_section()
161 PKG_SEC_START(pkg_name, *doing_pkg, cur_pkg); in pkg_section()
[all …]
/titanic_44/usr/src/lib/libnsl/ipsec/
H A Dalgs.c199 char cur_pkg[1024]; in build_list() local
282 new_proto->proto_pkg = strdup(cur_pkg); in build_list()
510 strdup(cur_pkg); in build_list()
538 (void) strncpy(cur_pkg, line + in build_list()
540 sizeof (cur_pkg)); in build_list()
542 cur_pkg[strlen(cur_pkg) - 1] = '\0'; in build_list()
563 if (strncmp(cur_pkg, tmp_pkg, sizeof (cur_pkg)) != 0) in build_list()