Lines Matching refs:lcconf

66 struct localconf *lcconf;  variable
73 lcconf = racoon_calloc(1, sizeof(*lcconf)); in initlcconf()
74 if (lcconf == NULL) in initlcconf()
79 lcconf->racoon_conf = LC_DEFAULT_CF; in initlcconf()
88 clear_myaddr(&lcconf->myaddrs); in flushlcconf()
90 if (lcconf->pathinfo[i]) { in flushlcconf()
91 racoon_free(lcconf->pathinfo[i]); in flushlcconf()
92 lcconf->pathinfo[i] = NULL; in flushlcconf()
96 if (lcconf->ident[i]) in flushlcconf()
97 vfree(lcconf->ident[i]); in flushlcconf()
98 lcconf->ident[i] = NULL; in flushlcconf()
105 lcconf->uid = 0; in setdefault()
106 lcconf->gid = 0; in setdefault()
107 lcconf->chroot = NULL; in setdefault()
108 lcconf->autograbaddr = 1; in setdefault()
109 lcconf->port_isakmp = PORT_ISAKMP; in setdefault()
110 lcconf->port_isakmp_natt = PORT_ISAKMP_NATT; in setdefault()
111 lcconf->default_af = AF_INET; in setdefault()
112 lcconf->pad_random = LC_DEFAULT_PAD_RANDOM; in setdefault()
113 lcconf->pad_randomlen = LC_DEFAULT_PAD_RANDOMLEN; in setdefault()
114 lcconf->pad_maxsize = LC_DEFAULT_PAD_MAXSIZE; in setdefault()
115 lcconf->pad_strict = LC_DEFAULT_PAD_STRICT; in setdefault()
116 lcconf->pad_excltail = LC_DEFAULT_PAD_EXCLTAIL; in setdefault()
117 lcconf->retry_counter = LC_DEFAULT_RETRY_COUNTER; in setdefault()
118 lcconf->retry_interval = LC_DEFAULT_RETRY_INTERVAL; in setdefault()
119 lcconf->count_persend = LC_DEFAULT_COUNT_PERSEND; in setdefault()
120 lcconf->secret_size = LC_DEFAULT_SECRETSIZE; in setdefault()
121 lcconf->retry_checkph1 = LC_DEFAULT_RETRY_CHECKPH1; in setdefault()
122 lcconf->wait_ph2complete = LC_DEFAULT_WAIT_PH2COMPLETE; in setdefault()
123 lcconf->strict_address = FALSE; in setdefault()
124 lcconf->complex_bundle = TRUE; /*XXX FALSE;*/ in setdefault()
125 lcconf->gss_id_enc = LC_GSSENC_UTF16LE; /* Windows compatibility */ in setdefault()
126 lcconf->natt_ka_interval = LC_DEFAULT_NATT_KA_INTERVAL; in setdefault()
186 if (safefile(lcconf->pathinfo[LC_PATHTYPE_PSK], 1) == 0)
187 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_PSK], "r");
193 lcconf->pathinfo[LC_PATHTYPE_PSK]);
260 name[0] == '/' ? "" : lcconf->pathinfo[type],
349 lcconf->port_isakmp = s_port_isakmp;
351 lcconf->port_admin = s_port_admin;
354 s_port_isakmp = lcconf->port_isakmp;
356 s_port_admin = lcconf->port_admin;