Lines Matching defs:lcconf
66 struct localconf *lcconf;
73 lcconf = racoon_calloc(1, sizeof(*lcconf));
74 if (lcconf == NULL)
79 lcconf->racoon_conf = LC_DEFAULT_CF;
88 clear_myaddr(&lcconf->myaddrs);
90 if (lcconf->pathinfo[i]) {
91 racoon_free(lcconf->pathinfo[i]);
92 lcconf->pathinfo[i] = NULL;
96 if (lcconf->ident[i])
97 vfree(lcconf->ident[i]);
98 lcconf->ident[i] = NULL;
105 lcconf->uid = 0;
106 lcconf->gid = 0;
107 lcconf->chroot = NULL;
108 lcconf->autograbaddr = 1;
109 lcconf->port_isakmp = PORT_ISAKMP;
110 lcconf->port_isakmp_natt = PORT_ISAKMP_NATT;
111 lcconf->default_af = AF_INET;
112 lcconf->pad_random = LC_DEFAULT_PAD_RANDOM;
113 lcconf->pad_randomlen = LC_DEFAULT_PAD_RANDOMLEN;
114 lcconf->pad_maxsize = LC_DEFAULT_PAD_MAXSIZE;
115 lcconf->pad_strict = LC_DEFAULT_PAD_STRICT;
116 lcconf->pad_excltail = LC_DEFAULT_PAD_EXCLTAIL;
117 lcconf->retry_counter = LC_DEFAULT_RETRY_COUNTER;
118 lcconf->retry_interval = LC_DEFAULT_RETRY_INTERVAL;
119 lcconf->count_persend = LC_DEFAULT_COUNT_PERSEND;
120 lcconf->secret_size = LC_DEFAULT_SECRETSIZE;
121 lcconf->retry_checkph1 = LC_DEFAULT_RETRY_CHECKPH1;
122 lcconf->wait_ph2complete = LC_DEFAULT_WAIT_PH2COMPLETE;
123 lcconf->strict_address = FALSE;
124 lcconf->complex_bundle = TRUE; /*XXX FALSE;*/
125 lcconf->gss_id_enc = LC_GSSENC_UTF16LE; /* Windows compatibility */
126 lcconf->natt_ka_interval = LC_DEFAULT_NATT_KA_INTERVAL;
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;