Lines Matching refs:xst
128 struct xauth_state *xst = &iph1->mode_cfg->xauth; local
138 if (xst->status != XAUTHST_NOTYET) {
140 "Xauth request whith Xauth state %d\n", xst->status);
180 xst->status = XAUTHST_REQSENT;
194 struct xauth_state *xst = &iph1->mode_cfg->xauth; local
203 if (xst->status != XAUTHST_REQSENT) {
205 "Xauth reply while Xauth state is %d\n", xst->status);
214 xst->authtype = XAUTH_TYPE_GENERIC;
225 outlet = &xst->authdata.generic.usr;
229 outlet = &xst->authdata.generic.pwd;
253 if ((xst->authdata.generic.usr != NULL) &&
254 (xst->authdata.generic.pwd != NULL)) {
257 char *usr = xst->authdata.generic.usr;
258 char *pwd = xst->authdata.generic.pwd;
382 struct xauth_state *xst = &iph1->mode_cfg->xauth; local
383 char *usr = xst->authdata.generic.usr;
393 xst->status = XAUTHST_NOTYET;
404 xst->status = XAUTHST_OK;
1258 struct xauth_state *xst = &iph1->mode_cfg->xauth; local
1281 if (xst->status != XAUTHST_OK) {
1542 struct xauth_state *xst; local
1561 xst = &iph1->mode_cfg->xauth;
1636 xauth_rmstate(xst) in xauth_rmstate() argument
1637 struct xauth_state *xst; in xauth_rmstate()
1639 switch (xst->authtype) {
1641 if (xst->authdata.generic.usr)
1642 racoon_free(xst->authdata.generic.usr);
1644 if (xst->authdata.generic.pwd)
1645 racoon_free(xst->authdata.generic.pwd);
1653 "Unsupported authtype %d\n", xst->authtype);
1658 "Unexpected authtype %d\n", xst->authtype);
1663 if (xst->udn != NULL)
1664 racoon_free(xst->udn);