OS Adaptation Layer


o event_cb
Structure for callback events.
o adl_str2sockunion
converts address-string (hex for ipv6, dotted decimal for ipv4 to a sockunion structure
o adl_open_udp_socket
This function creates a UDP socket bound to localhost, for asynchronous interprocess communication with an Upper Layer process.
o sctp_sendUdpData
function to be called when we get a message from a peer sctp instance in the poll loop
o adl_send_message
function to be called when library sends a message on an SCTP socket
o assign_poll_fd
function to assign an event mask to a certain poll
o adl_remove_poll_fd
remove a sfd from the poll_list, and shift that list to the left
o adl_register_fd_cb
function to register a file descriptor, that gets activated for certain read/write events when these occur, the specified callback funtion is activated and passed the parameters that are pointed to by the event_callback struct
o adl_get_message
function to be called when we get a message from a peer sctp instance in the poll loop
o dispatch_event
this function is responsible for calling the callback functions belonging to all of the file descriptors that have indicated an event !
o dispatch_timer
function calls the respective callback funtion, that is to be executed as a timer event, passing it two arguments
o adl_gettime
helper function for the sake of a cleaner interface :-)
o adl_timediff_to_msecs
function is to return difference in msecs between time a and b (ie.
o init_poll_fds
function initializes the array of fds we want to use for listening to events USE POLL_FD_UNUSED to differentiate between used/unused fds !
o sctp_eventLoop
function to check for events on all poll fds (ie.
o sctp_getEvents
function to check for events on all poll fds (ie.
o sctp_registerUdpCallback
this function is supposed to open and bind a UDP socket listening on a port to incoming udp pakets on a local interface (a local union sockunion address)
o sctp_registerStdinCallback
this function is supposed to register a callback function for catching input from the Unix STDIN file descriptor.
o adl_register_socket_cb
This function should only be called in exceptional caseseg.
o sctp_startTimer
This function adds a callback that is to be called some time from now.
o sctp_stopTimer
This function adds a callback that is to be called some time from now.
o sctp_restartTimer
Restarts a timer currently running
o adl_remove_cb
function to close a bound socket from our list of socket descriptors

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.