Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c3145 FILE *policy_fp; in nuke_adds() local
3147 policy_fp = fopen(POLICY_CONF_FILE, "a"); in nuke_adds()
3148 if (policy_fp == NULL) { in nuke_adds()
3151 (void) fprintf(policy_fp, "\n\n"); in nuke_adds()
3152 (void) fflush(policy_fp); in nuke_adds()
5224 FILE *fp, *policy_fp; in ipsec_conf_add() local
5273 policy_fp = fopen(POLICY_CONF_FILE, "a"); in ipsec_conf_add()
5274 if (policy_fp == NULL) { in ipsec_conf_add()
5422 if (fprintf(policy_fp, "%s %lld \n", INDEX_TAG, in ipsec_conf_add()
5431 if (print_cmd_buf(policy_fp, NOERROR) == -1) { in ipsec_conf_add()
[all …]