Skip to content

File syn_transport_udp.h

FileList > net > syn_transport_udp.h

Go to the source code of this file

Bridge binding syn_port_udp_* API to native syn_udp stack.

  • #include "syntropic/net/syn_udp.h"
  • #include "syntropic/port/syn_port_socket.h"

Public Functions

Type Name
SYN_UDP * syn_transport_udp_get_instance (void)
Get the active native SYN_UDP stack instance.
void syn_transport_udp_set_instance (SYN_UDP * udp)
Bind native syn_udp instance to the syn_port_udp_* socket interface.

Public Functions Documentation

function syn_transport_udp_get_instance

Get the active native SYN_UDP stack instance.

SYN_UDP * syn_transport_udp_get_instance (
    void
) 

Returns:

Pointer to SYN_UDP instance, or NULL.

Get the active native SYN_UDP stack instance.

Returns:

Pointer to global SYN_UDP instance, or NULL if unavailable.


function syn_transport_udp_set_instance

Bind native syn_udp instance to the syn_port_udp_* socket interface.

void syn_transport_udp_set_instance (
    SYN_UDP * udp
) 

Parameters:

  • udp Pointer to native SYN_UDP stack instance.


The documentation for this class was generated from the following file src/syntropic/net/syn_transport_udp.h