Home | History | Annotate | Download | only in ssl

Lines Matching refs:stack

208 static PRStatus   ssl_PushIOLayer(sslSocket *ns, PRFileDesc *stack, 
238 /* This function tries to find the SSL layer in the stack.
2117 ssl_PushIOLayer(sslSocket *ns, PRFileDesc *stack, PRDescIdentity id)
2134 /* Here, "stack" points to the PRFileDesc on the top of the stack.
2135 ** "layer" points to a new FD that is to be inserted into the stack.
2136 ** If layer is being pushed onto the top of the stack, then
2137 ** PR_PushIOLayer switches the contents of stack and layer, and then
2138 ** puts stack on top of layer, so that after it is done, the top of
2139 ** stack is the same "stack" as it was before, and layer is now the
2140 ** FD for the former top of stack.
2141 ** After this call, stack always points to the top PRFD on the stack.
2142 ** If this function fails, the contents of stack and layer are as
2145 status = PR_PushIOLayer(stack, id, layer);
2149 ns->fd = (id == PR_TOP_IO_LAYER) ? stack : layer;