My Project
wolfio.h
Go to the documentation of this file.
1 
42 int EmbedReceive(WOLFSSL* ssl, char* buf, int sz, void* ctx);
43 
80 int EmbedSend(WOLFSSL* ssl, char* buf, int sz, void* ctx);
81 
118 int EmbedReceiveFrom(WOLFSSL* ssl, char* buf, int sz, void*);
119 
159 int EmbedSendTo(WOLFSSL* ssl, char* buf, int sz, void* ctx);
160 
192 int EmbedGenerateCookie(WOLFSSL* ssl, unsigned char* buf,
193  int sz, void*);
194 
215 void EmbedOcspRespFree(void* ctx, byte* resp);
216 
250 void wolfSSL_CTX_SetIORecv(WOLFSSL_CTX* ctx, CallbackIORecv CBIORecv);
251 
281 void wolfSSL_SetIOReadCtx( WOLFSSL* ssl, void *ctx);
282 
312 void wolfSSL_SetIOWriteCtx(WOLFSSL* ssl, void *ctx);
313 
342 void* wolfSSL_GetIOReadCtx( WOLFSSL* ssl);
343 
371 void* wolfSSL_GetIOWriteCtx(WOLFSSL* ssl);
372 
413 void wolfSSL_SetIOReadFlags( WOLFSSL* ssl, int flags);
414 
448 void wolfSSL_SetIOWriteFlags(WOLFSSL* ssl, int flags);
449 
481 void wolfSSL_SetIO_NetX(WOLFSSL* ssl, NX_TCP_SOCKET* nxsocket,
482  ULONG waitoption);
483 
510 void wolfSSL_CTX_SetGenCookie(WOLFSSL_CTX* ctx, CallbackGenCookie cb);
511 
539 void* wolfSSL_GetCookieCtx(WOLFSSL* ssl);
540 
541 
574 int wolfSSL_SetIO_ISOTP(WOLFSSL *ssl, isotp_wolfssl_ctx *ctx,
575  can_recv_fn recv_fn, can_send_fn send_fn, can_delay_fn delay_fn,
576  word32 receive_delay, char *receive_buffer, int receive_buffer_size,
577  void *arg);
void * wolfSSL_GetIOWriteCtx(WOLFSSL *ssl)
This function returns the IOCB_WriteCtx member of the WOLFSSL structure.
void * wolfSSL_GetIOReadCtx(WOLFSSL *ssl)
This function returns the IOCB_ReadCtx member of the WOLFSSL struct.
void wolfSSL_SetIO_NetX(WOLFSSL *ssl, NX_TCP_SOCKET *nxsocket, ULONG waitoption)
This function sets the nxSocket and nxWait members of the nxCtx struct within the WOLFSSL structure.
int wolfSSL_SetIO_ISOTP(WOLFSSL *ssl, isotp_wolfssl_ctx *ctx, can_recv_fn recv_fn, can_send_fn send_fn, can_delay_fn delay_fn, word32 receive_delay, char *receive_buffer, int receive_buffer_size, void *arg)
This function sets up the ISO-TP context if wolfSSL, for use when wolfSSL is compiled with WOLFSSL_IS...
void * wolfSSL_GetCookieCtx(WOLFSSL *ssl)
This function returns the IOCB_CookieCtx member of the WOLFSSL structure.
int EmbedReceiveFrom(WOLFSSL *ssl, char *buf, int sz, void *)
This function is the receive embedded callback.
void wolfSSL_SetIOReadCtx(WOLFSSL *ssl, void *ctx)
This function registers a context for the SSL session’s receive callback function....
int EmbedGenerateCookie(WOLFSSL *ssl, unsigned char *buf, int sz, void *)
This function is the DTLS Generate Cookie callback.
void wolfSSL_CTX_SetIORecv(WOLFSSL_CTX *ctx, CallbackIORecv CBIORecv)
This function registers a receive callback for wolfSSL to get input data. By default,...
void wolfSSL_SetIOReadFlags(WOLFSSL *ssl, int flags)
This function sets the flags for the receive callback to use for the given SSL session....
void wolfSSL_SetIOWriteCtx(WOLFSSL *ssl, void *ctx)
This function registers a context for the SSL session’s send callback function. By default,...
void wolfSSL_SetIOWriteFlags(WOLFSSL *ssl, int flags)
This function sets the flags for the send callback to use for the given SSL session....
int EmbedSendTo(WOLFSSL *ssl, char *buf, int sz, void *ctx)
This function is the send embedded callback.
void wolfSSL_CTX_SetGenCookie(WOLFSSL_CTX *ctx, CallbackGenCookie cb)
This function sets the callback for the CBIOCookie member of the WOLFSSL_CTX structure....
void EmbedOcspRespFree(void *ctx, byte *resp)
This function frees the response buffer.
int EmbedReceive(WOLFSSL *ssl, char *buf, int sz, void *ctx)
This function is the receive embedded callback.
int EmbedSend(WOLFSSL *ssl, char *buf, int sz, void *ctx)
This function is the send embedded callback.