First page Back Continue Last page Overview Graphics
/* see if demux key is in the active map */
/* see if demux key is in the active map */
if (mapResolve(pstate->activemap, &activeid,
(void **)&s) == XK_FAILURE)
{
/* didn't find an active session, */
/* so check passive map */
passiveid = h.dport;
if (mapResolve(pstate->passivemap, &passiveid,
(void **)&e) == XK_FAILURE)
{
/* drop the message */
return XK_SUCCESS;
}
/* port was enabled, so create a new */
/* session and inform hlp */
s = asp_init_sessn(self, e->hlp, &activeid);
xOpenDone(e->hlp, s, self);
}
/* pop the message to the session */
return xPop(s, lls, msg, &h);
}
Notes: