blob: b4a13268dac0faec7af8175cb62b745d1ba4de08 [file] [log] [blame]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>EPTF_COAP_LocalTransport_Functions - CoAP_Applib</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script></head><body class="FramedContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.52 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="EPTF_COAP_LocalTransport_Functions"></a>EPTF_COAP_LocalTransport_Functions</h1><div class=CBody><h4 class=CHeading>Purpose</h4><p>This module contains the functions of the COAP local transport component</p><h4 class=CHeading>See also</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#EPTF_COAP_LocalTransport_Definitions" class=LFile id=link44 onMouseOver="ShowTip(event, 'tt32', 'link44')" onMouseOut="HideTip('tt32')">EPTF_COAP_LocalTransport_Definitions</a></p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#EPTF_COAP_LocalTransport_Functions" >EPTF_COAP_LocalTransport_Functions</a></td><td class=SDescription>This module contains the functions of the COAP local transport component</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_init" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">f_EPTF_COAP_LocalTransport_init</a></td><td class=SDescription>The main initialization function of the &lt;EPTF_COAP_LocalTransport_CT&gt; component type</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_initLogging" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">f_EPTF_COAP_LocalTransport_initLogging</a></td><td class=SDescription>Initializing CLL&rsquo;s logging feature on the &lt;EPTF_COAP_LocalTransport_CT&gt; component type</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_cleanup" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">f_EPTF_COAP_LocalTransport_cleanup</a></td><td class=SDescription>The main clean up function for the &lt;EPTF_COAP_LocalTransport_CT&gt; component type</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_IPL4asp_getMsgLen" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">f_EPTF_COAP_IPL4asp_getMsgLen</a></td><td class=SDescription>Framing function to be regisitered into the IPL4 transport layer &lt;EPTF_CLL_TransportIPL4_Functions&gt;. </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_IPL4asp_handleEvent" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">f_EPTF_COAP_IPL4asp_handleEvent</a></td><td class=SDescription>Handler function to be regisitered into the IPL4 transport layer &lt;EPTF_CLL_TransportIPL4_Functions&gt;. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_IPL4asp_handleMessage" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">f_EPTF_COAP_IPL4asp_handleMessage</a></td><td class=SDescription>Handler function to be regisitered into the IPL4 transport layer &lt;EPTF_CLL_TransportIPL4_Functions&gt;. </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_send" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">f_EPTF_COAP_LocalTransport_send</a></td><td class=SDescription>Function to send out a <a href="EPTF_COAP_Transport_Definitions-ttcn.html#EPTF_COAP_PDU" class=LType id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">EPTF_COAP_PDU</a> message using the local transport. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_transportApiRequest" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">f_EPTF_COAP_LocalTransport_transportApiRequest</a></td><td class=SDescription>Function to handle incoming transport API requests</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_startSocket" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">f_EPTF_COAP_LocalTransport_startSocket</a></td><td class=SDescription>Internal (private) function to create and initialize a &lt;Socket&gt;</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_startDTLS" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">f_EPTF_COAP_LocalTransport_startDTLS</a></td><td class=SDescription>Internal (private) function to create and initialize a DTLS connection</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_IPL4_sendTo" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">f_EPTF_COAP_LocalTransport_IPL4_sendTo</a></td><td class=SDescription>Internal (private) wrapper function of the &lt;f_EPTF_Transport_sendTo&gt; function</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_IPL4_send" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">f_EPTF_COAP_LocalTransport_IPL4_send</a></td><td class=SDescription>Internal (private) wrapper function of the &lt;f_EPTF_Transport_send&gt; function</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_init" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">f_EPTF_COAP_LocalTransport_socketDB_init</a></td><td class=SDescription>Initializes the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">SocketDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_cleanUp" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">f_EPTF_COAP_LocalTransport_socketDB_cleanUp</a></td><td class=SDescription>Cleans up the reserved resources of the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link17 onMouseOver="ShowTip(event, 'tt15', 'link17')" onMouseOut="HideTip('tt15')">SocketDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_add" id=link18 onMouseOver="ShowTip(event, 'tt17', 'link18')" onMouseOut="HideTip('tt17')">f_EPTF_COAP_LocalTransport_socketDB_add</a></td><td class=SDescription>Adds a new element to the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link19 onMouseOver="ShowTip(event, 'tt15', 'link19')" onMouseOut="HideTip('tt15')">SocketDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_lookUp_localAddr" id=link20 onMouseOver="ShowTip(event, 'tt18', 'link20')" onMouseOut="HideTip('tt18')">f_EPTF_COAP_LocalTransport_socketDB_lookUp_localAddr</a></td><td class=SDescription>Gets the index of an <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link21 onMouseOver="ShowTip(event, 'tt19', 'link21')" onMouseOut="HideTip('tt19')">SocketEntry</a> element in <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link22 onMouseOver="ShowTip(event, 'tt15', 'link22')" onMouseOut="HideTip('tt15')">SocketDB</a> database based on its local address</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_lookUp_dtlsConnection" id=link23 onMouseOver="ShowTip(event, 'tt20', 'link23')" onMouseOut="HideTip('tt20')">f_EPTF_COAP_LocalTransport_socketDB_lookUp_dtlsConnection</a></td><td class=SDescription>Gets the index of an <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link24 onMouseOver="ShowTip(event, 'tt19', 'link24')" onMouseOut="HideTip('tt19')">SocketEntry</a> element in <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link25 onMouseOver="ShowTip(event, 'tt15', 'link25')" onMouseOut="HideTip('tt15')">SocketDB</a> database based on its DTLS connection&rsquo;s local address</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_lookUp_connId" id=link26 onMouseOver="ShowTip(event, 'tt21', 'link26')" onMouseOut="HideTip('tt21')">f_EPTF_COAP_LocalTransport_socketDB_lookUp_connId</a></td><td class=SDescription>Gets the index of an <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link27 onMouseOver="ShowTip(event, 'tt19', 'link27')" onMouseOut="HideTip('tt19')">SocketEntry</a> element in <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link28 onMouseOver="ShowTip(event, 'tt15', 'link28')" onMouseOut="HideTip('tt15')">SocketDB</a> database based on its connection id</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_get" id=link29 onMouseOver="ShowTip(event, 'tt22', 'link29')" onMouseOut="HideTip('tt22')">f_EPTF_COAP_LocalTransport_socketDB_get</a></td><td class=SDescription>Retrieves an element from the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link30 onMouseOver="ShowTip(event, 'tt15', 'link30')" onMouseOut="HideTip('tt15')">SocketDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_LocalTransport_socketDB_remove" id=link31 onMouseOver="ShowTip(event, 'tt23', 'link31')" onMouseOut="HideTip('tt23')">f_EPTF_COAP_LocalTransport_socketDB_remove</a></td><td class=SDescription>Removes an element from the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link32 onMouseOver="ShowTip(event, 'tt15', 'link32')" onMouseOut="HideTip('tt15')">SocketDB</a> database and frees up its reserved resources</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_SocketEntry_hash" id=link33 onMouseOver="ShowTip(event, 'tt24', 'link33')" onMouseOut="HideTip('tt24')">f_EPTF_COAP_SocketEntry_hash</a></td><td class=SDescription>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link34 onMouseOver="ShowTip(event, 'tt15', 'link34')" onMouseOut="HideTip('tt15')">SocketDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_Socket_hash" id=link35 onMouseOver="ShowTip(event, 'tt25', 'link35')" onMouseOut="HideTip('tt25')">f_EPTF_COAP_Socket_hash</a></td><td class=SDescription>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link36 onMouseOver="ShowTip(event, 'tt15', 'link36')" onMouseOut="HideTip('tt15')">SocketDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_COAP_DTLSConnection_hash" id=link37 onMouseOver="ShowTip(event, 'tt26', 'link37')" onMouseOut="HideTip('tt26')">f_EPTF_COAP_DTLSConnection_hash</a></td><td class=SDescription>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link38 onMouseOver="ShowTip(event, 'tt15', 'link38')" onMouseOut="HideTip('tt15')">SocketDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_COAP_Transport_Logging_VERBOSE" id=link39 onMouseOver="ShowTip(event, 'tt27', 'link39')" onMouseOut="HideTip('tt27')">f_COAP_Transport_Logging_VERBOSE</a></td><td class=SDescription>Logging functions for the VERBOSE log level</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_COAP_Transport_Logging_DEBUG" id=link40 onMouseOver="ShowTip(event, 'tt28', 'link40')" onMouseOut="HideTip('tt28')">f_COAP_Transport_Logging_DEBUG</a></td><td class=SDescription>Logging functions for the DEBUG log level</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_COAP_Transport_Logging_WARNING" id=link41 onMouseOver="ShowTip(event, 'tt29', 'link41')" onMouseOut="HideTip('tt29')">f_COAP_Transport_Logging_WARNING</a></td><td class=SDescription>Logging functions for the WARNING log level</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_COAP_Transport_Logging_ERROR" id=link42 onMouseOver="ShowTip(event, 'tt30', 'link42')" onMouseOut="HideTip('tt30')">f_COAP_Transport_Logging_ERROR</a></td><td class=SDescription>Logging functions for the ERROR log level</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_COAP_IPL4asp_handleResult" id=link43 onMouseOver="ShowTip(event, 'tt31', 'link43')" onMouseOut="HideTip('tt31')">f_EPTF_COAP_IPL4asp_handleResult</a></td><td class=SDescription>Inernal (private) function to handle the results of the underlying IPL4 transport layer</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_init"></a>f_EPTF_COAP_LocalTransport_init</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_init() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The main initialization function of the &lt;EPTF_COAP_LocalTransport_CT&gt; component type</p><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_initLogging"></a>f_EPTF_COAP_LocalTransport_initLogging</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_initLogging() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializing CLL&rsquo;s logging feature on the &lt;EPTF_COAP_LocalTransport_CT&gt; component type</p><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_cleanup"></a>f_EPTF_COAP_LocalTransport_cleanup</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_cleanup() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The main clean up function for the &lt;EPTF_COAP_LocalTransport_CT&gt; component type</p><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_IPL4asp_getMsgLen"></a>f_EPTF_COAP_IPL4asp_getMsgLen</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_IPL4asp_getMsgLen (</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap>stream,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>ro_integer&nbsp;</td><td class="PParameter prettyprint " nowrap>args</td><td class="PAfterParameters prettyprint "nowrap>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Framing function to be regisitered into the IPL4 transport layer &lt;EPTF_CLL_TransportIPL4_Functions&gt;.&nbsp; It is used to determine the length of a (partially) received PDU so that the transport layer knows, how much more must be received before attempting to decode it.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>stream</td><td class=CDLDescription><b>in</b> <b>octetstring</b> - the content received so far</td></tr><tr><td class=CDLEntry>args</td><td class=CDLDescription><b>inout</b> &lt;ro_integer&gt; - various parameters</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*integer*</td><td class=CDLDescription>The expected length of the next PDU</td></tr></table><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_IPL4asp_handleEvent"></a>f_EPTF_COAP_IPL4asp_handleEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_IPL4asp_handleEvent(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_Transport_TransportType&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_transportType,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ConnectionId&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>PortEvent&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_event</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Handler function to be regisitered into the IPL4 transport layer &lt;EPTF_CLL_TransportIPL4_Functions&gt;.&nbsp; It is used to receieve transport events from the underlying IPL4 transport layer.&nbsp; The function currently handles the connection closed event and forwards every event to the load generator layer&rsquo;s handler function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_transportType</td><td class=CDLDescription><b>in</b> &lt;EPTF_Transport_TransportType&gt; - transport type</td></tr><tr><td class=CDLEntry>pl_connId</td><td class=CDLDescription><b>in</b> &lt;ConnectionId&gt; - the connection id the event is received on</td></tr><tr><td class=CDLEntry>pl_event</td><td class=CDLDescription><b>in</b> &lt;PortEvent&gt; - the event descriptor</td></tr></table><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_IPL4asp_handleMessage"></a>f_EPTF_COAP_IPL4asp_handleMessage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_IPL4asp_handleMessage(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_Transport_TransportType&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_transportType,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ConnectionId&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>HostName&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remHost,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>PortNumber&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remPort,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>HostName&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_locHost,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>PortNumber&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_locPort,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_userData,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Handler function to be regisitered into the IPL4 transport layer &lt;EPTF_CLL_TransportIPL4_Functions&gt;.&nbsp; It is used to receieve COAP messages from the underlying IPL4 transport layer.&nbsp; The function looks up the entity that owns the particular connection and forwards the message and the entity information to the load generator layer</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_transportType</td><td class=CDLDescription><b>in</b> &lt;EPTF_Transport_TransportType&gt; - transport type</td></tr><tr><td class=CDLEntry>pl_connId</td><td class=CDLDescription><b>in</b> &lt;ConnectionId&gt; - the connection id the event is received on</td></tr><tr><td class=CDLEntry>pl_remHost</td><td class=CDLDescription><b>in</b> &lt;HostName&gt; - remote host name</td></tr><tr><td class=CDLEntry>pl_remPort</td><td class=CDLDescription><b>in</b> &lt;PortNumber&gt; - remote port number</td></tr><tr><td class=CDLEntry>pl_locHost</td><td class=CDLDescription><b>in</b> &lt;HostName&gt; - local host name</td></tr><tr><td class=CDLEntry>pl_locPort</td><td class=CDLDescription><b>in</b> &lt;PortNumber&gt; - local port number</td></tr><tr><td class=CDLEntry>pl_proto</td><td class=CDLDescription><b>in</b> &lt;ProtoTuple&gt; - transport protocol descriptor</td></tr><tr><td class=CDLEntry>pl_userData</td><td class=CDLDescription><b>in</b> <b>integer</b> - user data registered to the socket</td></tr><tr><td class=CDLEntry>pl_msg</td><td class=CDLDescription><b>in</b> <b>octetstring</b> - incoming message</td></tr></table><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_send"></a>f_EPTF_COAP_LocalTransport_send</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_send(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_COAP_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Function to send out a <a href="EPTF_COAP_Transport_Definitions-ttcn.html#EPTF_COAP_PDU" class=LType id=link45 onMouseOver="ShowTip(event, 'tt8', 'link45')" onMouseOut="HideTip('tt8')">EPTF_COAP_PDU</a> message using the local transport.&nbsp; It automatically looks up the corresponding &lt;Socket&gt; or creates it on the fly if it doesn&rsquo;t exist yet</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_msg</td><td class=CDLDescription><b>in</b> <a href="EPTF_COAP_Transport_Definitions-ttcn.html#EPTF_COAP_PDU" class=LType id=link46 onMouseOver="ShowTip(event, 'tt8', 'link46')" onMouseOut="HideTip('tt8')">EPTF_COAP_PDU</a> - message to be sent</td></tr></table><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_transportApiRequest"></a>f_EPTF_COAP_LocalTransport_transportApiRequest</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=3>function f_EPTF_COAP_LocalTransport_transportApiRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_COAP_Transport_Request&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_req</td></tr><tr><td class="PAfterParameters prettyprint "colspan=3>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Function to handle incoming transport API requests</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_req</td><td class=CDLDescription><b>in</b> <a href="EPTF_COAP_Transport_Definitions-ttcn.html#EPTF_COAP_Transport_Request" class=LType id=link47 onMouseOver="ShowTip(event, 'tt33', 'link47')" onMouseOut="HideTip('tt33')">EPTF_COAP_Transport_Request</a> - transport API request</td></tr></table><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_startSocket"></a>f_EPTF_COAP_LocalTransport_startSocket</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_startSocket(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_sock,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_eIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Internal (private) function to create and initialize a &lt;Socket&gt;</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_sock</td><td class=CDLDescription><b>in</b> &lt;Socket&gt; - local host andm port of the socket</td></tr><tr><td class=CDLEntry>p_proto</td><td class=CDLDescription><b>in</b> &lt;ProtoTuple&gt; - transport protocol descriptor of the socket</td></tr><tr><td class=CDLEntry>p_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - entity index that owns the socket</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>inout</b> <b>integer</b> - index of the <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link48 onMouseOver="ShowTip(event, 'tt19', 'link48')" onMouseOut="HideTip('tt19')">SocketEntry</a> in the <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link49 onMouseOver="ShowTip(event, 'tt15', 'link49')" onMouseOut="HideTip('tt15')">SocketDB</a></td></tr></table><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_startDTLS"></a>f_EPTF_COAP_LocalTransport_startDTLS</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_startDTLS(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_COAP_Transport_dtlsConnect&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_params,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_eIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Internal (private) function to create and initialize a DTLS connection</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_params</td><td class=CDLDescription><b>in</b> <a href="EPTF_COAP_Transport_Definitions-ttcn.html#EPTF_COAP_Transport_dtlsConnect" class=LType id=link50 onMouseOver="ShowTip(event, 'tt34', 'link50')" onMouseOut="HideTip('tt34')">EPTF_COAP_Transport_dtlsConnect</a> - DTLS parameters</td></tr><tr><td class=CDLEntry>p_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - entity index that owns the socket</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>inout</b> <b>integer</b> - index of the <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link51 onMouseOver="ShowTip(event, 'tt19', 'link51')" onMouseOut="HideTip('tt19')">SocketEntry</a> in the <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link52 onMouseOver="ShowTip(event, 'tt15', 'link52')" onMouseOut="HideTip('tt15')">SocketDB</a></td></tr></table><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_IPL4_sendTo"></a>f_EPTF_COAP_LocalTransport_IPL4_sendTo</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_IPL4_sendTo(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remName,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remPort,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Internal (private) wrapper function of the &lt;f_EPTF_Transport_sendTo&gt; function</p><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_IPL4_send"></a>f_EPTF_COAP_LocalTransport_IPL4_send</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_IPL4_send(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Internal (private) wrapper function of the &lt;f_EPTF_Transport_send&gt; function</p><h4 class=CHeading>Related Type</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_init"></a>f_EPTF_COAP_LocalTransport_socketDB_init</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_socketDB_init() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializes the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link53 onMouseOver="ShowTip(event, 'tt15', 'link53')" onMouseOut="HideTip('tt15')">SocketDB</a> database</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link54 onMouseOver="ShowTip(event, 'tt15', 'link54')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_cleanUp"></a>f_EPTF_COAP_LocalTransport_socketDB_cleanUp</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_socketDB_cleanUp() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Cleans up the reserved resources of the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link55 onMouseOver="ShowTip(event, 'tt15', 'link55')" onMouseOut="HideTip('tt15')">SocketDB</a> database</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link56 onMouseOver="ShowTip(event, 'tt15', 'link56')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_add"></a>f_EPTF_COAP_LocalTransport_socketDB_add</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>SocketEntry&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_entry</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Adds a new element to the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link57 onMouseOver="ShowTip(event, 'tt15', 'link57')" onMouseOut="HideTip('tt15')">SocketDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_entry</td><td class=CDLDescription><b>in</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link58 onMouseOver="ShowTip(event, 'tt19', 'link58')" onMouseOut="HideTip('tt19')">SocketEntry</a> - the element to be added</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*integer*</td><td class=CDLDescription>the index of the added element in the database</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link59 onMouseOver="ShowTip(event, 'tt15', 'link59')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_lookUp_localAddr"></a>f_EPTF_COAP_LocalTransport_socketDB_lookUp_localAddr</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_lookUp_localAddr(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_localAddr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Gets the index of an <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link60 onMouseOver="ShowTip(event, 'tt19', 'link60')" onMouseOut="HideTip('tt19')">SocketEntry</a> element in <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link61 onMouseOver="ShowTip(event, 'tt15', 'link61')" onMouseOut="HideTip('tt15')">SocketDB</a> database based on its local address</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_localAddr</td><td class=CDLDescription><b>in</b> &lt;Socket&gt; - the local address</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*integer*</td><td class=CDLDescription>the index of the element, or -1 if not found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link62 onMouseOver="ShowTip(event, 'tt15', 'link62')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_lookUp_dtlsConnection"></a>f_EPTF_COAP_LocalTransport_socketDB_lookUp_dtlsConnection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_lookUp_dtlsConnection(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_local,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_remote</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Gets the index of an <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link63 onMouseOver="ShowTip(event, 'tt19', 'link63')" onMouseOut="HideTip('tt19')">SocketEntry</a> element in <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link64 onMouseOver="ShowTip(event, 'tt15', 'link64')" onMouseOut="HideTip('tt15')">SocketDB</a> database based on its DTLS connection&rsquo;s local address</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_localAddr</td><td class=CDLDescription><b>in</b> &lt;Socket&gt; - the local address</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*integer*</td><td class=CDLDescription>the index of the element, or -1 if not found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link65 onMouseOver="ShowTip(event, 'tt15', 'link65')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_lookUp_connId"></a>f_EPTF_COAP_LocalTransport_socketDB_lookUp_connId</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_lookUp_connId(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_connId</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Gets the index of an <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link66 onMouseOver="ShowTip(event, 'tt19', 'link66')" onMouseOut="HideTip('tt19')">SocketEntry</a> element in <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link67 onMouseOver="ShowTip(event, 'tt15', 'link67')" onMouseOut="HideTip('tt15')">SocketDB</a> database based on its connection id</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_connId</td><td class=CDLDescription><b>in</b> <b>integer</b> - the connection id</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*integer*</td><td class=CDLDescription>the index of the element, or -1 if not found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link68 onMouseOver="ShowTip(event, 'tt15', 'link68')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_get"></a>f_EPTF_COAP_LocalTransport_socketDB_get</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_get(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>SocketEntry&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_sock</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves an element from the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link69 onMouseOver="ShowTip(event, 'tt15', 'link69')" onMouseOut="HideTip('tt15')">SocketDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the element to retrieved</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_sock</td><td class=CDLDescription><b>inout</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link70 onMouseOver="ShowTip(event, 'tt19', 'link70')" onMouseOut="HideTip('tt19')">SocketEntry</a> - the retrieved element</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link71 onMouseOver="ShowTip(event, 'tt15', 'link71')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_LocalTransport_socketDB_remove"></a>f_EPTF_COAP_LocalTransport_socketDB_remove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_remove(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Removes an element from the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link72 onMouseOver="ShowTip(event, 'tt15', 'link72')" onMouseOut="HideTip('tt15')">SocketDB</a> database and frees up its reserved resources</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the element to be removed</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link73 onMouseOver="ShowTip(event, 'tt15', 'link73')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_SocketEntry_hash"></a>f_EPTF_COAP_SocketEntry_hash</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_SocketEntry_hash(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>SocketEntry&nbsp;</td><td class="PParameter prettyprint " nowrap>p_entry</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link74 onMouseOver="ShowTip(event, 'tt15', 'link74')" onMouseOut="HideTip('tt15')">SocketDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_entry</td><td class=CDLDescription><b>in</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link75 onMouseOver="ShowTip(event, 'tt19', 'link75')" onMouseOut="HideTip('tt19')">SocketEntry</a> - the socket entry to get a hash of</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*charstring*</td><td class=CDLDescription>string hash unique of a <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketEntry" class=LType id=link76 onMouseOver="ShowTip(event, 'tt19', 'link76')" onMouseOut="HideTip('tt19')">SocketEntry</a> element</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link77 onMouseOver="ShowTip(event, 'tt15', 'link77')" onMouseOut="HideTip('tt15')">SocketDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_Socket_hash"></a>f_EPTF_COAP_Socket_hash</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_Socket_hash(</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap>p_sock</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link78 onMouseOver="ShowTip(event, 'tt15', 'link78')" onMouseOut="HideTip('tt15')">SocketDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_sock</td><td class=CDLDescription><b>in</b> &lt;Socket&gt; - the socket to get a hash of</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*charstring*</td><td class=CDLDescription>string hash unique of a &lt;Socket&gt; element</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link79 onMouseOver="ShowTip(event, 'tt15', 'link79')" onMouseOut="HideTip('tt15')">SocketDB</a>, &lt;Socket&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_DTLSConnection_hash"></a>f_EPTF_COAP_DTLSConnection_hash</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_DTLSConnection_hash(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap>p_local,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap>p_remote</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link80 onMouseOver="ShowTip(event, 'tt15', 'link80')" onMouseOut="HideTip('tt15')">SocketDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_local</td><td class=CDLDescription><b>in</b> &lt;Socket&gt; - the local socket of the DTLS connection</td></tr><tr><td class=CDLEntry>p_remote</td><td class=CDLDescription><b>in</b> &lt;Socket&gt; - the remote socket of the DTLS connection</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*charstring*</td><td class=CDLDescription>string hash unique of a <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#DTLSConnection" class=LType id=link81 onMouseOver="ShowTip(event, 'tt35', 'link81')" onMouseOut="HideTip('tt35')">DTLSConnection</a> element</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#SocketDB" class=LType id=link82 onMouseOver="ShowTip(event, 'tt15', 'link82')" onMouseOut="HideTip('tt15')">SocketDB</a>, <a href="EPTF_COAP_LocalTransport_Definitions-ttcn.html#DTLSConnection" class=LType id=link83 onMouseOver="ShowTip(event, 'tt35', 'link83')" onMouseOut="HideTip('tt35')">DTLSConnection</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_COAP_Transport_Logging_VERBOSE"></a>f_COAP_Transport_Logging_VERBOSE</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_VERBOSE(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the VERBOSE log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_COAP_Transport_Logging_DEBUG"></a>f_COAP_Transport_Logging_DEBUG</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_DEBUG(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the DEBUG log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_COAP_Transport_Logging_WARNING"></a>f_COAP_Transport_Logging_WARNING</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_WARNING(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the WARNING log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_COAP_Transport_Logging_ERROR"></a>f_COAP_Transport_Logging_ERROR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_ERROR(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the ERROR log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_COAP_IPL4asp_handleResult"></a>f_EPTF_COAP_IPL4asp_handleResult</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_IPL4asp_handleResult(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>Result&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_res</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Inernal (private) function to handle the results of the underlying IPL4 transport layer</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_res</td><td class=CDLDescription><b>inout</b> <b>Result</b> - result of an IPL4 transport operation</td></tr></table><h4 class=CHeading>Related Types</h4><p>&lt;EPTF_COAP_LocalTransport_CT&gt;</p></div></div></div>
</div><!--Content-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_init() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote>The main initialization function of the EPTF_COAP_LocalTransport_CT component type</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_initLogging() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote>Initializing CLL&rsquo;s logging feature on the EPTF_COAP_LocalTransport_CT component type</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_cleanup() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote>The main clean up function for the EPTF_COAP_LocalTransport_CT component type</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_IPL4asp_getMsgLen (</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap>stream,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>ro_integer&nbsp;</td><td class="PParameter prettyprint " nowrap>args</td><td class="PAfterParameters prettyprint "nowrap>) return integer</td></tr></table></td></tr></table></blockquote>Framing function to be regisitered into the IPL4 transport layer EPTF_CLL_TransportIPL4_Functions. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_IPL4asp_handleEvent(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_Transport_TransportType&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_transportType,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ConnectionId&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>PortEvent&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_event</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Handler function to be regisitered into the IPL4 transport layer EPTF_CLL_TransportIPL4_Functions. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_IPL4asp_handleMessage(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_Transport_TransportType&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_transportType,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ConnectionId&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>HostName&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remHost,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>PortNumber&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remPort,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>HostName&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_locHost,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>PortNumber&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_locPort,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_userData,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Handler function to be regisitered into the IPL4 transport layer EPTF_CLL_TransportIPL4_Functions. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_send(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_COAP_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Function to send out a EPTF_COAP_PDU message using the local transport. </div></div><div class=CToolTip id="tt8"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record EPTF_COAP_PDU</td></tr></table></blockquote>Encapsulates a COAP PDU with the corresponding entity (and FSM) indices and transport information</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=3>function f_EPTF_COAP_LocalTransport_transportApiRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_COAP_Transport_Request&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_req</td></tr><tr><td class="PAfterParameters prettyprint "colspan=3>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Function to handle incoming transport API requests</div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_startSocket(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_sock,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_eIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return boolean</td></tr></table></td></tr></table></blockquote>Internal (private) function to create and initialize a Socket</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_startDTLS(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_COAP_Transport_dtlsConnect&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_params,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_eIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return boolean</td></tr></table></td></tr></table></blockquote>Internal (private) function to create and initialize a DTLS connection</div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_IPL4_sendTo(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remName,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_remPort,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Internal (private) wrapper function of the f_EPTF_Transport_sendTo function</div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_IPL4_send(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_connId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>ProtoTuple&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_proto,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>octetstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_msg</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Internal (private) wrapper function of the f_EPTF_Transport_send function</div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_socketDB_init() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote>Initializes the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database</div></div><div class=CToolTip id="tt15"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record SocketDB</td></tr></table></blockquote>Storing SocketEntry instances</div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_COAP_LocalTransport_socketDB_cleanUp() runs on EPTF_COAP_LocalTransport_CT</td></tr></table></blockquote>Cleans up the reserved resources of the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database</div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>SocketEntry&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_entry</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote>Adds a new element to the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database</div></div><div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_lookUp_localAddr(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_localAddr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote>Gets the index of an SocketEntry element in <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database based on its local address</div></div><div class=CToolTip id="tt19"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record SocketEntry</td></tr></table></blockquote>Storing the transport related data of a COAP transport endpoint</div></div><div class=CToolTip id="tt20"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_lookUp_dtlsConnection(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_local,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_remote</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote>Gets the index of an SocketEntry element in <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database based on its DTLS connection&rsquo;s local address</div></div><div class=CToolTip id="tt21"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_lookUp_connId(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_connId</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return integer</td></tr></table></td></tr></table></blockquote>Gets the index of an SocketEntry element in <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database based on its connection id</div></div><div class=CToolTip id="tt22"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_get(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>SocketEntry&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_sock</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Retrieves an element from the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database</div></div><div class=CToolTip id="tt23"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_LocalTransport_socketDB_remove(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Removes an element from the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database and frees up its reserved resources</div></div><div class=CToolTip id="tt24"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_SocketEntry_hash(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>SocketEntry&nbsp;</td><td class="PParameter prettyprint " nowrap>p_entry</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database</div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_Socket_hash(</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap>p_sock</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database</div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function f_EPTF_COAP_DTLSConnection_hash(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap>p_local,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Socket&nbsp;</td><td class="PParameter prettyprint " nowrap>p_remote</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote>Hash function for lookups used by the <b>v_COAP_LocalTransport_localSocketDB</b> SocketDB database</div></div><div class=CToolTip id="tt27"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_VERBOSE(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the VERBOSE log level</div></div><div class=CToolTip id="tt28"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_DEBUG(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the DEBUG log level</div></div><div class=CToolTip id="tt29"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_WARNING(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the WARNING log level</div></div><div class=CToolTip id="tt30"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_COAP_Transport_Logging_ERROR(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the ERROR log level</div></div><div class=CToolTip id="tt31"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_EPTF_COAP_IPL4asp_handleResult(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>Result&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_res</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_COAP_LocalTransport_CT return boolean</td></tr></table></td></tr></table></blockquote>Inernal (private) function to handle the results of the underlying IPL4 transport layer</div></div><div class=CToolTip id="tt32"><div class=CFile>This module contains the definitions for the COAP load generator component</div></div><div class=CToolTip id="tt33"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record EPTF_COAP_Transport_Request</td></tr></table></blockquote>API exposed for requesting transport operation from the EPTF_COAP_Transport_Provider_CT</div></div><div class=CToolTip id="tt34"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record EPTF_COAP_Transport_dtlsConnect</td></tr></table></blockquote>Transport request for starting DTLS</div></div><div class=CToolTip id="tt35"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record DTLSConnection</td></tr></table></blockquote>Storing the DTLS transport related data of a COAP transport endpoint</div></div><!--END_ND_TOOLTIPS-->
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>