<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libosmo-sigtran: src/osmo_ss7_instance.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libosmo-sigtran<span id="projectnumber">&#160;2.0.0.52-6412</span>
   </div>
   <div id="projectbrief">Osmocom SIGTRAN library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('osmo__ss7__instance_8c.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">osmo_ss7_instance.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;errno.h&gt;</code><br />
<code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
<code>#include &lt;osmocom/core/linuxlist.h&gt;</code><br />
<code>#include &lt;osmocom/core/talloc.h&gt;</code><br />
<code>#include &lt;<a class="el" href="osmo__ss7_8h_source.html">osmocom/sigtran/osmo_ss7.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="sccp__sap_8h_source.html">osmocom/sigtran/sccp_sap.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="ss7__as_8h_source.html">ss7_as.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ss7__asp_8h_source.html">ss7_asp.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ss7__internal_8h_source.html">ss7_internal.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ss7__instance_8h_source.html">ss7_instance.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ss7__linkset_8h_source.html">ss7_linkset.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ss7__route__table_8h_source.html">ss7_route_table.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afc494c6614b4d872e414b662ae23baf7"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#afc494c6614b4d872e414b662ae23baf7">ss7_instance_alloc</a> (void *ctx, uint32_t id)</td></tr>
<tr class="separator:afc494c6614b4d872e414b662ae23baf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55d7a596847108913e0e9e03dbf1a933"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a55d7a596847108913e0e9e03dbf1a933">osmo_ss7_instance_destroy</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="memdesc:a55d7a596847108913e0e9e03dbf1a933"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a SS7 Instance.  <a href="osmo__ss7__instance_8c.html#a55d7a596847108913e0e9e03dbf1a933">More...</a><br /></td></tr>
<tr class="separator:a55d7a596847108913e0e9e03dbf1a933"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3595c88f1b7d084a9c71b303b83d8712"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a3595c88f1b7d084a9c71b303b83d8712">osmo_ss7_instance_get_id</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="separator:a3595c88f1b7d084a9c71b303b83d8712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af57f72917f7308becf16d548dfb4e62a"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#af57f72917f7308becf16d548dfb4e62a">osmo_ss7_instance_get_name</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="separator:af57f72917f7308becf16d548dfb4e62a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20a5157955a10832980b3cf55510b33b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a20a5157955a10832980b3cf55510b33b">osmo_ss7_instance_get_primary_pc</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="separator:a20a5157955a10832980b3cf55510b33b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc19747b6de70d033959ee3cf5d26bdf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#adc19747b6de70d033959ee3cf5d26bdf">osmo_ss7_instance_set_pc_fmt</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, uint8_t c0, uint8_t c1, uint8_t c2)</td></tr>
<tr class="memdesc:adc19747b6de70d033959ee3cf5d26bdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the point code format used in given SS7 instance.  <a href="osmo__ss7__instance_8c.html#adc19747b6de70d033959ee3cf5d26bdf">More...</a><br /></td></tr>
<tr class="separator:adc19747b6de70d033959ee3cf5d26bdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7a32e6866b73437629f9f5662fe2380"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#ab7a32e6866b73437629f9f5662fe2380">osmo_ss7_instance_get_pc_fmt</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="separator:ab7a32e6866b73437629f9f5662fe2380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72373e61bde57eeafd151102aae20b28"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__sccp__instance.html">osmo_sccp_instance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a72373e61bde57eeafd151102aae20b28">osmo_ss7_ensure_sccp</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="memdesc:a72373e61bde57eeafd151102aae20b28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate an SCCP instance, if not present yet.  <a href="osmo__ss7__instance_8c.html#a72373e61bde57eeafd151102aae20b28">More...</a><br /></td></tr>
<tr class="separator:a72373e61bde57eeafd151102aae20b28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c222268e9a51842ea413861f736f390"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__sccp__instance.html">osmo_sccp_instance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a5c222268e9a51842ea413861f736f390">osmo_ss7_get_sccp</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="memdesc:a5c222268e9a51842ea413861f736f390"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the SCCP instance, if present.  <a href="osmo__ss7__instance_8c.html#a5c222268e9a51842ea413861f736f390">More...</a><br /></td></tr>
<tr class="separator:a5c222268e9a51842ea413861f736f390"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a190e38496f2cbbea8e8dbab451cd5c1e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a190e38496f2cbbea8e8dbab451cd5c1e">osmo_ss7_pc_is_local</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, uint32_t pc)</td></tr>
<tr class="separator:a190e38496f2cbbea8e8dbab451cd5c1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad995eb65a7ba20e8d134033669126231"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#ad995eb65a7ba20e8d134033669126231">osmo_ss7_find_free_rctx</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="separator:ad995eb65a7ba20e8d134033669126231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ecdf4b66511e0d65caedeab81f3f4d3"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a6ecdf4b66511e0d65caedeab81f3f4d3">ss7_find_free_l_rk_id</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst)</td></tr>
<tr class="separator:a6ecdf4b66511e0d65caedeab81f3f4d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04274a80653a9a83afd823b31c55e6c6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a04274a80653a9a83afd823b31c55e6c6">osmo_ss7_as_find_by_name</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *name)</td></tr>
<tr class="memdesc:a04274a80653a9a83afd823b31c55e6c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find Application Server by given name.  <a href="osmo__ss7__instance_8c.html#a04274a80653a9a83afd823b31c55e6c6">More...</a><br /></td></tr>
<tr class="separator:a04274a80653a9a83afd823b31c55e6c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62014d2e42c76eb8e16ed079240a550a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a62014d2e42c76eb8e16ed079240a550a">osmo_ss7_as_find_by_rctx</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, uint32_t rctx)</td></tr>
<tr class="memdesc:a62014d2e42c76eb8e16ed079240a550a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find Application Server by given routing context.  <a href="osmo__ss7__instance_8c.html#a62014d2e42c76eb8e16ed079240a550a">More...</a><br /></td></tr>
<tr class="separator:a62014d2e42c76eb8e16ed079240a550a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4425a62d1138a1face7ce0f4461c1811"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a4425a62d1138a1face7ce0f4461c1811">osmo_ss7_as_find_by_l_rk_id</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, uint32_t l_rk_id)</td></tr>
<tr class="memdesc:a4425a62d1138a1face7ce0f4461c1811"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find Application Server by given local routing key ID.  <a href="osmo__ss7__instance_8c.html#a4425a62d1138a1face7ce0f4461c1811">More...</a><br /></td></tr>
<tr class="separator:a4425a62d1138a1face7ce0f4461c1811"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36cd354a3665015410895188d3d2afaa"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a36cd354a3665015410895188d3d2afaa">osmo_ss7_as_find_by_proto</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a> proto)</td></tr>
<tr class="memdesc:a36cd354a3665015410895188d3d2afaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find Application Server (AS) by given protocol.  <a href="osmo__ss7__instance_8c.html#a36cd354a3665015410895188d3d2afaa">More...</a><br /></td></tr>
<tr class="separator:a36cd354a3665015410895188d3d2afaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeeee1a2cbcab7653a422473d4d59950"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#adeeee1a2cbcab7653a422473d4d59950">osmo_ss7_as_find_or_create</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *name, enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a> proto)</td></tr>
<tr class="memdesc:adeeee1a2cbcab7653a422473d4d59950"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find or Create Application Server.  <a href="osmo__ss7__instance_8c.html#adeeee1a2cbcab7653a422473d4d59950">More...</a><br /></td></tr>
<tr class="separator:adeeee1a2cbcab7653a422473d4d59950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c7622dd0920b73b1de4bacb1466a31d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a3c7622dd0920b73b1de4bacb1466a31d">osmo_ss7_asp_find_by_name</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *name)</td></tr>
<tr class="separator:a3c7622dd0920b73b1de4bacb1466a31d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff40fa25f195d4b065214ede9d5a200"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#acff40fa25f195d4b065214ede9d5a200">osmo_ss7_asp_find_by_proto</a> (struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> *as, enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a> proto)</td></tr>
<tr class="memdesc:acff40fa25f195d4b065214ede9d5a200"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find an ASP that matches the given ASP protocol (xUA variant).  <a href="osmo__ss7__instance_8c.html#acff40fa25f195d4b065214ede9d5a200">More...</a><br /></td></tr>
<tr class="separator:acff40fa25f195d4b065214ede9d5a200"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d441982a917c3e081e48333cd5b5cb0"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a6d441982a917c3e081e48333cd5b5cb0">osmo_ss7_asp_find2</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *name, uint16_t remote_port, uint16_t local_port, int trans_proto, enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a> proto)</td></tr>
<tr class="separator:a6d441982a917c3e081e48333cd5b5cb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a237f11eac97e4d4fd1464c9e6217cb63"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a237f11eac97e4d4fd1464c9e6217cb63">osmo_ss7_asp_find</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *name, uint16_t remote_port, uint16_t local_port, enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a> proto)</td></tr>
<tr class="separator:a237f11eac97e4d4fd1464c9e6217cb63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcef629eaf44fa0a9580dbaf79614b10"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#abcef629eaf44fa0a9580dbaf79614b10">osmo_ss7_asp_find_or_create2</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *name, uint16_t remote_port, uint16_t local_port, int trans_proto, enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a> proto)</td></tr>
<tr class="separator:abcef629eaf44fa0a9580dbaf79614b10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f361e41e148a1235e41e989a6a3e5ef"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a4f361e41e148a1235e41e989a6a3e5ef">osmo_ss7_asp_find_or_create</a> (struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *name, uint16_t remote_port, uint16_t local_port, enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a> proto)</td></tr>
<tr class="separator:a4f361e41e148a1235e41e989a6a3e5ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afadad76c76c0630eed4b7a10b68f2b7c"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#afadad76c76c0630eed4b7a10b68f2b7c">strnappendchar</a> (char *str, char c, size_t n)</td></tr>
<tr class="separator:afadad76c76c0630eed4b7a10b68f2b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb5ff7e5820e268a941510bd387fce2"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#aabb5ff7e5820e268a941510bd387fce2">gen_pc_fmtstr</a> (const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *pc_fmt, unsigned int *num_comp_exp)</td></tr>
<tr class="separator:aabb5ff7e5820e268a941510bd387fce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf3c0ef5eb29ad67de6ea862d7e2cfed"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#abf3c0ef5eb29ad67de6ea862d7e2cfed">num_pc_comp_exp</a> (const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *pc_fmt)</td></tr>
<tr class="separator:abf3c0ef5eb29ad67de6ea862d7e2cfed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2dc16490ad0d3a263aa80160bc36828"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#ae2dc16490ad0d3a263aa80160bc36828">get_pc_comp_shift</a> (const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *pc_fmt, unsigned int comp_num)</td></tr>
<tr class="separator:ae2dc16490ad0d3a263aa80160bc36828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a505d8cbb59e414f24d56a83a29799a42"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a505d8cbb59e414f24d56a83a29799a42">pc_comp_shift_and_mask</a> (const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *pc_fmt, unsigned int comp_num, uint32_t pc)</td></tr>
<tr class="separator:a505d8cbb59e414f24d56a83a29799a42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cfd271ba23f83329b046b245b7dc083"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a2cfd271ba23f83329b046b245b7dc083">osmo_ss7_pointcode_parse</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *str)</td></tr>
<tr class="separator:a2cfd271ba23f83329b046b245b7dc083"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae328ce407109fdd25911be8750f56694"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#ae328ce407109fdd25911be8750f56694">osmo_ss7_pointcode_print_buf</a> (char *buf, size_t <a class="el" href="xua__types_8h.html#a8aed22e2c7b283705ec82e0120515618">len</a>, const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, uint32_t pc)</td></tr>
<tr class="separator:ae328ce407109fdd25911be8750f56694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accae8bcfd3577b2fcae21c55d97be313"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#accae8bcfd3577b2fcae21c55d97be313">osmo_ss7_pointcode_print</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, uint32_t pc)</td></tr>
<tr class="separator:accae8bcfd3577b2fcae21c55d97be313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9283afabd1e1566f511e66698ea44d"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a9c9283afabd1e1566f511e66698ea44d">osmo_ss7_pointcode_print2</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, uint32_t pc)</td></tr>
<tr class="separator:a9c9283afabd1e1566f511e66698ea44d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a084299ae59a9c06a7274cdab910456d5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a084299ae59a9c06a7274cdab910456d5">osmo_ss7_pointcode_parse_mask_or_len</a> (const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *inst, const char *in)</td></tr>
<tr class="separator:a084299ae59a9c06a7274cdab910456d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ac371d9ef3ce4d17cd66e9f4446879ffc"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#ac371d9ef3ce4d17cd66e9f4446879ffc">next_rctx</a> = 1</td></tr>
<tr class="separator:ac371d9ef3ce4d17cd66e9f4446879ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82b1fae92faad2df658d676f19203112"><td class="memItemLeft" align="right" valign="top">static int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a82b1fae92faad2df658d676f19203112">next_l_rk_id</a> = 1</td></tr>
<tr class="separator:a82b1fae92faad2df658d676f19203112"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e710ac37bf4c2d56a17e65086ec9684"><td class="memItemLeft" align="right" valign="top">static const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="osmo__ss7__instance_8c.html#a7e710ac37bf4c2d56a17e65086ec9684">default_pc_fmt</a></td></tr>
<tr class="separator:a7e710ac37bf4c2d56a17e65086ec9684"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="aabb5ff7e5820e268a941510bd387fce2" name="aabb5ff7e5820e268a941510bd387fce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabb5ff7e5820e268a941510bd387fce2">&#9670;&nbsp;</a></span>gen_pc_fmtstr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char * gen_pc_fmtstr </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *&#160;</td>
          <td class="paramname"><em>pc_fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>num_comp_exp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__pc__fmt.html#ae7d9be7df3815a6eb1d4de66c99881f6">osmo_ss7_pc_fmt::component_len</a>, <a class="el" href="structosmo__ss7__pc__fmt.html#a68e54cafb7f42c64ec79dcbe8d6a0ae0">osmo_ss7_pc_fmt::delimiter</a>, <a class="el" href="ss7__internal_8h.html#aa23a2021f836728938fefac9cca3aec5">MAX_PC_STR_LEN</a>, and <a class="el" href="osmo__ss7__instance_8c.html#afadad76c76c0630eed4b7a10b68f2b7c">strnappendchar()</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a2cfd271ba23f83329b046b245b7dc083">osmo_ss7_pointcode_parse()</a>, and <a class="el" href="osmo__ss7_8h.html#a9e0728851ea1553fe1e6e1075a836175">osmo_ss7_pointcode_print_buf()</a>.</p>

</div>
</div>
<a id="ae2dc16490ad0d3a263aa80160bc36828" name="ae2dc16490ad0d3a263aa80160bc36828"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2dc16490ad0d3a263aa80160bc36828">&#9670;&nbsp;</a></span>get_pc_comp_shift()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned int get_pc_comp_shift </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *&#160;</td>
          <td class="paramname"><em>pc_fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>comp_num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__pc__fmt.html#ae7d9be7df3815a6eb1d4de66c99881f6">osmo_ss7_pc_fmt::component_len</a>, and <a class="el" href="osmo__ss7_8h.html#a9cc83a7969a30ca6748f27cf0b442e5e">osmo_ss7_pc_width()</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a2cfd271ba23f83329b046b245b7dc083">osmo_ss7_pointcode_parse()</a>, and <a class="el" href="osmo__ss7__instance_8c.html#a505d8cbb59e414f24d56a83a29799a42">pc_comp_shift_and_mask()</a>.</p>

</div>
</div>
<a id="abf3c0ef5eb29ad67de6ea862d7e2cfed" name="abf3c0ef5eb29ad67de6ea862d7e2cfed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf3c0ef5eb29ad67de6ea862d7e2cfed">&#9670;&nbsp;</a></span>num_pc_comp_exp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned int num_pc_comp_exp </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *&#160;</td>
          <td class="paramname"><em>pc_fmt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__pc__fmt.html#ae7d9be7df3815a6eb1d4de66c99881f6">osmo_ss7_pc_fmt::component_len</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a2cfd271ba23f83329b046b245b7dc083">osmo_ss7_pointcode_parse()</a>, and <a class="el" href="osmo__ss7_8h.html#a9e0728851ea1553fe1e6e1075a836175">osmo_ss7_pointcode_print_buf()</a>.</p>

</div>
</div>
<a id="a4425a62d1138a1face7ce0f4461c1811" name="a4425a62d1138a1face7ce0f4461c1811"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4425a62d1138a1face7ce0f4461c1811">&#9670;&nbsp;</a></span>osmo_ss7_as_find_by_l_rk_id()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> * osmo_ss7_as_find_by_l_rk_id </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>l_rk_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find Application Server by given local routing key ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inst</td><td>SS7 Instance on which we operate </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">l_rk_id</td><td>Local Routing Key ID </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to Application Server on success; NULL otherwise </dd></dl>

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a71621534d17bb3a348a636f5e48275be">osmo_ss7_instance::as_list</a>, <a class="el" href="structosmo__ss7__as.html#afda9c4848f0d7a27f8842e431d82e09a">osmo_ss7_as::cfg</a>, <a class="el" href="structosmo__ss7__as.html#ad56e26893c9c363041757cb445b56712">osmo_ss7_as::inst</a>, <a class="el" href="structosmo__ss7__routing__key.html#a6f500f329de9dc714a878be839cbc560">osmo_ss7_routing_key::l_rk_id</a>, <a class="el" href="structosmo__ss7__as.html#a437f6bc819034029d5c3109a4fcc187e">osmo_ss7_as::list</a>, <a class="el" href="structosmo__ss7__as.html#a08979bcf8bb704436f56d6d9bae8c5a6">osmo_ss7_as::routing_key</a>, and <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>.</p>

<p class="reference">Referenced by <a class="el" href="xua__default__lm__fsm_8c.html#a6c119bb8074d53fa355e57e8dd491ae1">handle_reg_conf()</a>, and <a class="el" href="osmo__ss7__instance_8c.html#a6ecdf4b66511e0d65caedeab81f3f4d3">ss7_find_free_l_rk_id()</a>.</p>

</div>
</div>
<a id="a04274a80653a9a83afd823b31c55e6c6" name="a04274a80653a9a83afd823b31c55e6c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04274a80653a9a83afd823b31c55e6c6">&#9670;&nbsp;</a></span>osmo_ss7_as_find_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> * osmo_ss7_as_find_by_name </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find Application Server by given name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inst</td><td>SS7 Instance on which we operate </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of AS </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to Application Server on success; NULL otherwise </dd></dl>

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a71621534d17bb3a348a636f5e48275be">osmo_ss7_instance::as_list</a>, <a class="el" href="structosmo__ss7__as.html#afda9c4848f0d7a27f8842e431d82e09a">osmo_ss7_as::cfg</a>, <a class="el" href="structosmo__ss7__as.html#ad56e26893c9c363041757cb445b56712">osmo_ss7_as::inst</a>, <a class="el" href="structosmo__ss7__as.html#a437f6bc819034029d5c3109a4fcc187e">osmo_ss7_as::list</a>, <a class="el" href="structosmo__ss7__as.html#a72b623df97a37304cad91284c7b02590">osmo_ss7_as::name</a>, and <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#a61638b70e0555bc552cec998aa2ce507">DEFUN_ATTR()</a>, <a class="el" href="xua__asp__fsm_8c.html#a4e109acdce110b7c471ad8eafc0a42b9">ipa_asp_fsm_wait_id_resp()</a>, <a class="el" href="osmo__ss7_8h.html#adeeee1a2cbcab7653a422473d4d59950">osmo_ss7_as_find_or_create()</a>, and <a class="el" href="osmo__ss7__route_8c.html#a46ccd2320c3e917d0e9bef6b90e78601">ss7_route_set_linkset()</a>.</p>

</div>
</div>
<a id="a36cd354a3665015410895188d3d2afaa" name="a36cd354a3665015410895188d3d2afaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36cd354a3665015410895188d3d2afaa">&#9670;&nbsp;</a></span>osmo_ss7_as_find_by_proto()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> * osmo_ss7_as_find_by_proto </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find Application Server (AS) by given protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inst</td><td>SS7 Instance on which we operate </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">proto</td><td>Protocol identifier that must match </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to AS on success; NULL otherwise If an AS has an ASP also matching the given protocol, that AS is preferred. If there are multiple matches, return the first matching AS. </dd></dl>

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a71621534d17bb3a348a636f5e48275be">osmo_ss7_instance::as_list</a>, <a class="el" href="structosmo__ss7__as.html#afda9c4848f0d7a27f8842e431d82e09a">osmo_ss7_as::cfg</a>, <a class="el" href="structosmo__ss7__as.html#ad56e26893c9c363041757cb445b56712">osmo_ss7_as::inst</a>, <a class="el" href="structosmo__ss7__as.html#a437f6bc819034029d5c3109a4fcc187e">osmo_ss7_as::list</a>, <a class="el" href="osmo__ss7__instance_8c.html#acff40fa25f195d4b065214ede9d5a200">osmo_ss7_asp_find_by_proto()</a>, <a class="el" href="structosmo__ss7__as.html#ad0e856df6376f5c721fe3e12ba2a2b95">osmo_ss7_as::proto</a>, and <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a3494cf9f81c1463a55572e44366d5573">osmo_sccp_simple_client_on_ss7_id()</a>.</p>

</div>
</div>
<a id="a62014d2e42c76eb8e16ed079240a550a" name="a62014d2e42c76eb8e16ed079240a550a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62014d2e42c76eb8e16ed079240a550a">&#9670;&nbsp;</a></span>osmo_ss7_as_find_by_rctx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> * osmo_ss7_as_find_by_rctx </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>rctx</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find Application Server by given routing context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inst</td><td>SS7 Instance on which we operate </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rctx</td><td>Routing Context </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to Application Server on success; NULL otherwise </dd></dl>

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a71621534d17bb3a348a636f5e48275be">osmo_ss7_instance::as_list</a>, <a class="el" href="structosmo__ss7__as.html#afda9c4848f0d7a27f8842e431d82e09a">osmo_ss7_as::cfg</a>, <a class="el" href="structosmo__ss7__routing__key.html#a696716e41ed036a14e7f99648702fd52">osmo_ss7_routing_key::context</a>, <a class="el" href="structosmo__ss7__as.html#ad56e26893c9c363041757cb445b56712">osmo_ss7_as::inst</a>, <a class="el" href="structosmo__ss7__as.html#a437f6bc819034029d5c3109a4fcc187e">osmo_ss7_as::list</a>, <a class="el" href="structosmo__ss7__as.html#a08979bcf8bb704436f56d6d9bae8c5a6">osmo_ss7_as::routing_key</a>, and <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>.</p>

<p class="reference">Referenced by <a class="el" href="xua__rkm_8c.html#a44af2d2697beebe91a62a76211c14157">handle_rkey_dereg()</a>, <a class="el" href="xua__rkm_8c.html#a58819010e3b1aa68a744022649829c3c">handle_rkey_reg()</a>, <a class="el" href="osmo__ss7_8h.html#ad995eb65a7ba20e8d134033669126231">osmo_ss7_find_free_rctx()</a>, <a class="el" href="xua__asp__fsm_8c.html#aaaff6da426fc0389544a02926e430f55">xua_asp_fsm_inactive()</a>, and <a class="el" href="xua__internal_8h.html#a1c94e3d373d31d7d27cd9e6784f25619">xua_find_as_for_asp()</a>.</p>

</div>
</div>
<a id="adeeee1a2cbcab7653a422473d4d59950" name="adeeee1a2cbcab7653a422473d4d59950"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeeee1a2cbcab7653a422473d4d59950">&#9670;&nbsp;</a></span>osmo_ss7_as_find_or_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> * osmo_ss7_as_find_or_create </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find or Create Application Server. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inst</td><td>SS7 Instance on which we operate </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of Application Server </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">proto</td><td>Protocol of Application Server </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to Application Server on success; NULL otherwise </dd></dl>

<p class="reference">References <a class="el" href="structosmo__ss7__as.html#afda9c4848f0d7a27f8842e431d82e09a">osmo_ss7_as::cfg</a>, <a class="el" href="structosmo__ss7__as.html#ad56e26893c9c363041757cb445b56712">osmo_ss7_as::inst</a>, <a class="el" href="ss7__as_8h.html#aa4be2c672a6e465517106d91c681837c">LOGPAS</a>, <a class="el" href="structosmo__ss7__as.html#a72b623df97a37304cad91284c7b02590">osmo_ss7_as::name</a>, <a class="el" href="osmo__ss7__instance_8c.html#a04274a80653a9a83afd823b31c55e6c6">osmo_ss7_as_find_by_name()</a>, <a class="el" href="structosmo__ss7__as.html#ad0e856df6376f5c721fe3e12ba2a2b95">osmo_ss7_as::proto</a>, <a class="el" href="osmo__ss7__as_8c.html#ab5cd3d471c6ef8678829cee97c60014c">ss7_as_alloc()</a>, and <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#ae68c2f8fb8e1be5ed2502a199f4adbc2">DEFUN_ATTR()</a>, <a class="el" href="xua__rkm_8c.html#a58819010e3b1aa68a744022649829c3c">handle_rkey_reg()</a>, <a class="el" href="osmo__ss7_8h.html#a3494cf9f81c1463a55572e44366d5573">osmo_sccp_simple_client_on_ss7_id()</a>, and <a class="el" href="osmo__ss7_8h.html#a850d23232fe30f4162cb47a5c9b6965d">osmo_sccp_simple_server_add_clnt()</a>.</p>

</div>
</div>
<a id="a237f11eac97e4d4fd1464c9e6217cb63" name="a237f11eac97e4d4fd1464c9e6217cb63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a237f11eac97e4d4fd1464c9e6217cb63">&#9670;&nbsp;</a></span>osmo_ss7_asp_find()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> * osmo_ss7_asp_find </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>remote_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>local_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, <a class="el" href="structosmo__ss7__asp.html#aa8d55968e2d82fe0ea15541ff69e5252">osmo_ss7_asp::name</a>, <a class="el" href="osmo__ss7__instance_8c.html#a6d441982a917c3e081e48333cd5b5cb0">osmo_ss7_asp_find2()</a>, <a class="el" href="structosmo__ss7__asp.html#a3d73399eab84b7b912973769312cd234">osmo_ss7_asp::proto</a>, <a class="el" href="osmo__ss7__asp_8c.html#abe05c4208f5af9d0cc05e881497871a0">ss7_default_trans_proto_for_asp_proto()</a>, and <a class="el" href="structosmo__ss7__asp.html#adea0b03c206db971afad0b600ba8072f">osmo_ss7_asp::trans_proto</a>.</p>

</div>
</div>
<a id="a6d441982a917c3e081e48333cd5b5cb0" name="a6d441982a917c3e081e48333cd5b5cb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d441982a917c3e081e48333cd5b5cb0">&#9670;&nbsp;</a></span>osmo_ss7_asp_find2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> * osmo_ss7_asp_find2 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>remote_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>local_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>trans_proto</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__asp.html#ad0715bd1e060022e94ba0a9453ce578f">osmo_ss7_asp::cfg</a>, <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, <a class="el" href="structosmo__ss7__asp.html#a76f253348dcd5e57f688111d22548704">osmo_ss7_asp::local</a>, <a class="el" href="structosmo__ss7__asp.html#aa8d55968e2d82fe0ea15541ff69e5252">osmo_ss7_asp::name</a>, <a class="el" href="osmo__ss7__instance_8c.html#a3c7622dd0920b73b1de4bacb1466a31d">osmo_ss7_asp_find_by_name()</a>, <a class="el" href="structosmo__ss7__asp__peer.html#a2746699e23e170ac193aca684d38246a">osmo_ss7_asp_peer::port</a>, <a class="el" href="structosmo__ss7__asp.html#a3d73399eab84b7b912973769312cd234">osmo_ss7_asp::proto</a>, <a class="el" href="structosmo__ss7__asp.html#a2120aad2e6b360736811e05404d82065">osmo_ss7_asp::remote</a>, <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>, and <a class="el" href="structosmo__ss7__asp.html#adea0b03c206db971afad0b600ba8072f">osmo_ss7_asp::trans_proto</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#a5fa424c7faeef13f5601767d74e4d63e">DEFUN_ATTR()</a>, and <a class="el" href="osmo__ss7_8h.html#ae39d606680421e661f4b27079fa6f143">osmo_ss7_asp_find()</a>.</p>

</div>
</div>
<a id="a3c7622dd0920b73b1de4bacb1466a31d" name="a3c7622dd0920b73b1de4bacb1466a31d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c7622dd0920b73b1de4bacb1466a31d">&#9670;&nbsp;</a></span>osmo_ss7_asp_find_by_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> * osmo_ss7_asp_find_by_name </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#aaab8768d7411a0f10b3044740605d0d1">osmo_ss7_instance::asp_list</a>, <a class="el" href="structosmo__ss7__asp.html#ad0715bd1e060022e94ba0a9453ce578f">osmo_ss7_asp::cfg</a>, <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, <a class="el" href="structosmo__ss7__asp.html#a3a1fcf4663bb22bf1601f0f062ee5e2e">osmo_ss7_asp::list</a>, <a class="el" href="structosmo__ss7__asp.html#aa8d55968e2d82fe0ea15541ff69e5252">osmo_ss7_asp::name</a>, and <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#af440455adb91ddbd06474dafe89fbc22">DEFUN()</a>, <a class="el" href="osmo__ss7__vty_8c.html#a8049cddae072e9955e0c4b11b3955119">DEFUN_ATTR()</a>, <a class="el" href="osmo__ss7_8h.html#a01392ccbfd2fd93d962dcd7bd8037526">osmo_ss7_as_add_asp()</a>, <a class="el" href="osmo__ss7_8h.html#aca9bfa652d15609a904653398e17c5e9">osmo_ss7_as_del_asp()</a>, <a class="el" href="osmo__ss7_8h.html#a6d441982a917c3e081e48333cd5b5cb0">osmo_ss7_asp_find2()</a>, <a class="el" href="osmo__ss7_8h.html#abcef629eaf44fa0a9580dbaf79614b10">osmo_ss7_asp_find_or_create2()</a>, <a class="el" href="osmo__ss7__vty_8c.html#a2c0561c6f18fcc42c33ba495d83511ad">show_asp()</a>, <a class="el" href="osmo__ss7__vty_8c.html#a0a1f19191505a572b9ef2c98bddfe43e">show_asp_assoc_status()</a>, and <a class="el" href="osmo__ss7__vty_8c.html#a983bed0dbb1b636ad6be19265ddd9420">show_asp_remaddr()</a>.</p>

</div>
</div>
<a id="acff40fa25f195d4b065214ede9d5a200" name="acff40fa25f195d4b065214ede9d5a200"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acff40fa25f195d4b065214ede9d5a200">&#9670;&nbsp;</a></span>osmo_ss7_asp_find_by_proto()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> * osmo_ss7_asp_find_by_proto </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__as.html">osmo_ss7_as</a> *&#160;</td>
          <td class="paramname"><em>as</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find an ASP that matches the given ASP protocol (xUA variant). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">as</td><td>Application Server in which to look for asp </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">proto</td><td>ASP protocol (xUA variant) to match </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>SS7 ASP in case a matching one is found; NULL otherwise </dd></dl>

<p class="reference">References <a class="el" href="structosmo__ss7__as.html#a6891572d4436d6ede4997c6f99eb66b6">osmo_ss7_as::asps</a>, <a class="el" href="structosmo__ss7__as.html#afda9c4848f0d7a27f8842e431d82e09a">osmo_ss7_as::cfg</a>, <a class="el" href="structosmo__ss7__asp.html#ad0715bd1e060022e94ba0a9453ce578f">osmo_ss7_asp::cfg</a>, and <a class="el" href="structosmo__ss7__asp.html#a3d73399eab84b7b912973769312cd234">osmo_ss7_asp::proto</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a3494cf9f81c1463a55572e44366d5573">osmo_sccp_simple_client_on_ss7_id()</a>, and <a class="el" href="osmo__ss7_8h.html#a36cd354a3665015410895188d3d2afaa">osmo_ss7_as_find_by_proto()</a>.</p>

</div>
</div>
<a id="a4f361e41e148a1235e41e989a6a3e5ef" name="a4f361e41e148a1235e41e989a6a3e5ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f361e41e148a1235e41e989a6a3e5ef">&#9670;&nbsp;</a></span>osmo_ss7_asp_find_or_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> * osmo_ss7_asp_find_or_create </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>remote_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>local_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, <a class="el" href="structosmo__ss7__asp.html#aa8d55968e2d82fe0ea15541ff69e5252">osmo_ss7_asp::name</a>, <a class="el" href="osmo__ss7__instance_8c.html#abcef629eaf44fa0a9580dbaf79614b10">osmo_ss7_asp_find_or_create2()</a>, <a class="el" href="structosmo__ss7__asp.html#a3d73399eab84b7b912973769312cd234">osmo_ss7_asp::proto</a>, <a class="el" href="osmo__ss7__asp_8c.html#abe05c4208f5af9d0cc05e881497871a0">ss7_default_trans_proto_for_asp_proto()</a>, and <a class="el" href="structosmo__ss7__asp.html#adea0b03c206db971afad0b600ba8072f">osmo_ss7_asp::trans_proto</a>.</p>

</div>
</div>
<a id="abcef629eaf44fa0a9580dbaf79614b10" name="abcef629eaf44fa0a9580dbaf79614b10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcef629eaf44fa0a9580dbaf79614b10">&#9670;&nbsp;</a></span>osmo_ss7_asp_find_or_create2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__asp.html">osmo_ss7_asp</a> * osmo_ss7_asp_find_or_create2 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>remote_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>local_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>trans_proto</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="osmo__ss7_8h.html#a3ed5d9f113ee1e2683ea0e4975852787">osmo_ss7_asp_protocol</a>&#160;</td>
          <td class="paramname"><em>proto</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__asp.html#ad0715bd1e060022e94ba0a9453ce578f">osmo_ss7_asp::cfg</a>, <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, <a class="el" href="structosmo__ss7__asp.html#a76f253348dcd5e57f688111d22548704">osmo_ss7_asp::local</a>, <a class="el" href="structosmo__ss7__asp.html#aa8d55968e2d82fe0ea15541ff69e5252">osmo_ss7_asp::name</a>, <a class="el" href="osmo__ss7__instance_8c.html#a3c7622dd0920b73b1de4bacb1466a31d">osmo_ss7_asp_find_by_name()</a>, <a class="el" href="structosmo__ss7__asp__peer.html#a2746699e23e170ac193aca684d38246a">osmo_ss7_asp_peer::port</a>, <a class="el" href="structosmo__ss7__asp.html#a3d73399eab84b7b912973769312cd234">osmo_ss7_asp::proto</a>, <a class="el" href="structosmo__ss7__asp.html#a2120aad2e6b360736811e05404d82065">osmo_ss7_asp::remote</a>, <a class="el" href="osmo__ss7__asp_8c.html#ac3d6291887a658d39aa55ec3b229acc2">ss7_asp_alloc()</a>, <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>, and <a class="el" href="structosmo__ss7__asp.html#adea0b03c206db971afad0b600ba8072f">osmo_ss7_asp::trans_proto</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#a5fa424c7faeef13f5601767d74e4d63e">DEFUN_ATTR()</a>, <a class="el" href="osmo__ss7_8h.html#a3494cf9f81c1463a55572e44366d5573">osmo_sccp_simple_client_on_ss7_id()</a>, <a class="el" href="osmo__ss7_8h.html#a850d23232fe30f4162cb47a5c9b6965d">osmo_sccp_simple_server_add_clnt()</a>, <a class="el" href="osmo__ss7_8h.html#a81d94bf43eba61595295725eb87674b7">osmo_ss7_asp_find_or_create()</a>, and <a class="el" href="osmo__ss7__xua__srv_8c.html#ac53c7d59ea8e1bb4b855ac893ff7e407">xua_accept_cb()</a>.</p>

</div>
</div>
<a id="a72373e61bde57eeafd151102aae20b28" name="a72373e61bde57eeafd151102aae20b28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72373e61bde57eeafd151102aae20b28">&#9670;&nbsp;</a></span>osmo_ss7_ensure_sccp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__sccp__instance.html">osmo_sccp_instance</a> * osmo_ss7_ensure_sccp </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allocate an SCCP instance, if not present yet. </p>
<dl class="section return"><dt>Returns</dt><dd>inst-&gt;sccp. </dd></dl>

<p class="reference">References <a class="el" href="ss7__instance_8h.html#aec14b54ffb5b79dcfd0e4eb5931e0ff6">LOGSS7</a>, <a class="el" href="sccp__sap_8h.html#a91f367a691757d5d683a1ce3bde02e0c">osmo_sccp_instance_create()</a>, and <a class="el" href="structosmo__ss7__instance.html#a099603daf11d411056449aae4cc1b9ab">osmo_ss7_instance::sccp</a>.</p>

<p class="reference">Referenced by <a class="el" href="sccp__vty_8c.html#a0c914ef5757459cb9ab098bedf64fa08">DEFUN_ATTR()</a>, <a class="el" href="osmo__ss7_8h.html#a3494cf9f81c1463a55572e44366d5573">osmo_sccp_simple_client_on_ss7_id()</a>, <a class="el" href="osmo__ss7_8h.html#a5c3a83227ac8684617fc3e08b65ebc1a">osmo_sccp_simple_server_on_ss7_id()</a>, <a class="el" href="osmo__ss7__asp_8c.html#ac3d6291887a658d39aa55ec3b229acc2">ss7_asp_alloc()</a>, and <a class="el" href="osmo__ss7__xua__srv_8c.html#a2dce885ff13aac6806be17b2cb924b73">ss7_xua_server_create2()</a>.</p>

</div>
</div>
<a id="ad995eb65a7ba20e8d134033669126231" name="ad995eb65a7ba20e8d134033669126231"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad995eb65a7ba20e8d134033669126231">&#9670;&nbsp;</a></span>osmo_ss7_find_free_rctx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int osmo_ss7_find_free_rctx </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="osmo__ss7__instance_8c.html#ac371d9ef3ce4d17cd66e9f4446879ffc">next_rctx</a>, and <a class="el" href="osmo__ss7__instance_8c.html#a62014d2e42c76eb8e16ed079240a550a">osmo_ss7_as_find_by_rctx()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xua__rkm_8c.html#a58819010e3b1aa68a744022649829c3c">handle_rkey_reg()</a>.</p>

</div>
</div>
<a id="a5c222268e9a51842ea413861f736f390" name="a5c222268e9a51842ea413861f736f390"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c222268e9a51842ea413861f736f390">&#9670;&nbsp;</a></span>osmo_ss7_get_sccp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__sccp__instance.html">osmo_sccp_instance</a> * osmo_ss7_get_sccp </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the SCCP instance, if present. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inst</td><td>SS7 Instance on which we operate </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>inst-&gt;sccp, may be NULL if no SCCP instance was created yet (see <a class="el" href="osmo__ss7__instance_8c.html#a72373e61bde57eeafd151102aae20b28" title="Allocate an SCCP instance, if not present yet.">osmo_ss7_ensure_sccp()</a>). </dd></dl>

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a099603daf11d411056449aae4cc1b9ab">osmo_ss7_instance::sccp</a>.</p>

</div>
</div>
<a id="a55d7a596847108913e0e9e03dbf1a933" name="a55d7a596847108913e0e9e03dbf1a933"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55d7a596847108913e0e9e03dbf1a933">&#9670;&nbsp;</a></span>osmo_ss7_instance_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void osmo_ss7_instance_destroy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destroy a SS7 Instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inst</td><td>SS7 Instance to be destroyed </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a71621534d17bb3a348a636f5e48275be">osmo_ss7_instance::as_list</a>, <a class="el" href="structosmo__ss7__instance.html#aaab8768d7411a0f10b3044740605d0d1">osmo_ss7_instance::asp_list</a>, <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, <a class="el" href="structosmo__ss7__instance.html#a43f30caeb11dd9ee2db8dd01db82cf18">osmo_ss7_instance::linksets</a>, <a class="el" href="structosmo__ss7__asp.html#a3a1fcf4663bb22bf1601f0f062ee5e2e">osmo_ss7_asp::list</a>, <a class="el" href="structosmo__ss7__instance.html#ae6990daf69739d16de477871c314f7ff">osmo_ss7_instance::list</a>, <a class="el" href="ss7__instance_8h.html#aec14b54ffb5b79dcfd0e4eb5931e0ff6">LOGSS7</a>, <a class="el" href="osmo__ss7_8h.html#afe830a3d827c8c9ff36bf04e0428ad79">osmo_ss7_as_destroy()</a>, <a class="el" href="osmo__ss7_8h.html#a6fce9d43401870a21aafb2b62936b321">osmo_ss7_asp_destroy()</a>, <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>, and <a class="el" href="osmo__ss7__linkset_8c.html#a73529845640f1cfd4273765a691d77f9">ss7_linkset_destroy()</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a3494cf9f81c1463a55572e44366d5573">osmo_sccp_simple_client_on_ss7_id()</a>, and <a class="el" href="osmo__ss7_8h.html#a5c3a83227ac8684617fc3e08b65ebc1a">osmo_sccp_simple_server_on_ss7_id()</a>.</p>

</div>
</div>
<a id="a3595c88f1b7d084a9c71b303b83d8712" name="a3595c88f1b7d084a9c71b303b83d8712"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3595c88f1b7d084a9c71b303b83d8712">&#9670;&nbsp;</a></span>osmo_ss7_instance_get_id()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t osmo_ss7_instance_get_id </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="structosmo__ss7__instance.html#a97164a12e862adf6e546fe7d0a0094dd">osmo_ss7_instance::id</a>, and <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>.</p>

</div>
</div>
<a id="af57f72917f7308becf16d548dfb4e62a" name="af57f72917f7308becf16d548dfb4e62a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af57f72917f7308becf16d548dfb4e62a">&#9670;&nbsp;</a></span>osmo_ss7_instance_get_name()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * osmo_ss7_instance_get_name </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, and <a class="el" href="structosmo__ss7__instance.html#a479c06c5c5d516e38f627acb0c74c9bd">osmo_ss7_instance::name</a>.</p>

</div>
</div>
<a id="ab7a32e6866b73437629f9f5662fe2380" name="ab7a32e6866b73437629f9f5662fe2380"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7a32e6866b73437629f9f5662fe2380">&#9670;&nbsp;</a></span>osmo_ss7_instance_get_pc_fmt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> * osmo_ss7_instance_get_pc_fmt </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, and <a class="el" href="structosmo__ss7__instance.html#a692118b712f5fd9af3e204a8c9bc7639">osmo_ss7_instance::pc_fmt</a>.</p>

</div>
</div>
<a id="a20a5157955a10832980b3cf55510b33b" name="a20a5157955a10832980b3cf55510b33b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20a5157955a10832980b3cf55510b33b">&#9670;&nbsp;</a></span>osmo_ss7_instance_get_primary_pc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t osmo_ss7_instance_get_primary_pc </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, and <a class="el" href="structosmo__ss7__instance.html#a6054de87f4ebeaab39498ac331cbcb16">osmo_ss7_instance::primary_pc</a>.</p>

</div>
</div>
<a id="adc19747b6de70d033959ee3cf5d26bdf" name="adc19747b6de70d033959ee3cf5d26bdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc19747b6de70d033959ee3cf5d26bdf">&#9670;&nbsp;</a></span>osmo_ss7_instance_set_pc_fmt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int osmo_ss7_instance_set_pc_fmt </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>c0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>c2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the point code format used in given SS7 instance. </p>

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="structosmo__ss7__pc__fmt.html#ae7d9be7df3815a6eb1d4de66c99881f6">osmo_ss7_pc_fmt::component_len</a>, <a class="el" href="structosmo__ss7__asp.html#a3f82eb6c4f4771b9b7402febacb3dee9">osmo_ss7_asp::inst</a>, <a class="el" href="ss7__instance_8h.html#aec14b54ffb5b79dcfd0e4eb5931e0ff6">LOGSS7</a>, and <a class="el" href="structosmo__ss7__instance.html#a692118b712f5fd9af3e204a8c9bc7639">osmo_ss7_instance::pc_fmt</a>.</p>

</div>
</div>
<a id="a190e38496f2cbbea8e8dbab451cd5c1e" name="a190e38496f2cbbea8e8dbab451cd5c1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a190e38496f2cbbea8e8dbab451cd5c1e">&#9670;&nbsp;</a></span>osmo_ss7_pc_is_local()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool osmo_ss7_pc_is_local </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="osmo__ss7_8h.html#a26d0122847290712aa22ebf3a37468fd">osmo_ss7_pc_is_valid()</a>, <a class="el" href="structosmo__ss7__instance.html#a6054de87f4ebeaab39498ac331cbcb16">osmo_ss7_instance::primary_pc</a>, <a class="el" href="structosmo__ss7__instance.html#a2e7a0a8c1276c9dafe53134a1187ee6f">osmo_ss7_instance::secondary_pc</a>, and <a class="el" href="osmo__ss7_8c.html#a78806f653f55e3d87d93650a55b5f70a">ss7_initialized</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__hmrt_8c.html#a8bc0dfc719354cd380bb206d25c33c6a">m3ua_hmdc_rx_from_l2()</a>, <a class="el" href="sccp__internal_8h.html#a086464ecc2db005660b615f84680b7fd">sccp_sclc_rx_scrc_rout_fail()</a>, <a class="el" href="sccp__scrc_8c.html#a0835707585d940ad8f6148dfc0aa5ab6">scrc_local_out_common()</a>, and <a class="el" href="sccp__scrc_8c.html#a685df4cbe1dd977b0ec71a07befb2849">scrc_translate_node_9()</a>.</p>

</div>
</div>
<a id="a2cfd271ba23f83329b046b245b7dc083" name="a2cfd271ba23f83329b046b245b7dc083"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cfd271ba23f83329b046b245b7dc083">&#9670;&nbsp;</a></span>osmo_ss7_pointcode_parse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int osmo_ss7_pointcode_parse </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="structosmo__ss7__pc__fmt.html#ae7d9be7df3815a6eb1d4de66c99881f6">osmo_ss7_pc_fmt::component_len</a>, <a class="el" href="osmo__ss7__instance_8c.html#a7e710ac37bf4c2d56a17e65086ec9684">default_pc_fmt</a>, <a class="el" href="osmo__ss7__instance_8c.html#aabb5ff7e5820e268a941510bd387fce2">gen_pc_fmtstr()</a>, <a class="el" href="osmo__ss7__instance_8c.html#ae2dc16490ad0d3a263aa80160bc36828">get_pc_comp_shift()</a>, <a class="el" href="ss7__instance_8h.html#aec14b54ffb5b79dcfd0e4eb5931e0ff6">LOGSS7</a>, <a class="el" href="osmo__ss7__instance_8c.html#abf3c0ef5eb29ad67de6ea862d7e2cfed">num_pc_comp_exp()</a>, and <a class="el" href="structosmo__ss7__instance.html#a692118b712f5fd9af3e204a8c9bc7639">osmo_ss7_instance::pc_fmt</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#adde6602dc2a909e9808cf73477c33fdb">_rout_key()</a>, <a class="el" href="osmo__ss7__vty_8c.html#a5b92961832fd0595d554b4bdf8ebf723">DEFUN_ATTR()</a>, and <a class="el" href="osmo__ss7_8h.html#a084299ae59a9c06a7274cdab910456d5">osmo_ss7_pointcode_parse_mask_or_len()</a>.</p>

</div>
</div>
<a id="a084299ae59a9c06a7274cdab910456d5" name="a084299ae59a9c06a7274cdab910456d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a084299ae59a9c06a7274cdab910456d5">&#9670;&nbsp;</a></span>osmo_ss7_pointcode_parse_mask_or_len()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int osmo_ss7_pointcode_parse_mask_or_len </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>in</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="osmo__ss7__instance_8c.html#a7e710ac37bf4c2d56a17e65086ec9684">default_pc_fmt</a>, <a class="el" href="osmo__ss7_8h.html#a9cc83a7969a30ca6748f27cf0b442e5e">osmo_ss7_pc_width()</a>, <a class="el" href="osmo__ss7__instance_8c.html#a2cfd271ba23f83329b046b245b7dc083">osmo_ss7_pointcode_parse()</a>, and <a class="el" href="structosmo__ss7__instance.html#a692118b712f5fd9af3e204a8c9bc7639">osmo_ss7_instance::pc_fmt</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#a303aba5a050c2cd18fd490198d3f7af0">DEFUN_ATTR()</a>.</p>

</div>
</div>
<a id="accae8bcfd3577b2fcae21c55d97be313" name="accae8bcfd3577b2fcae21c55d97be313"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accae8bcfd3577b2fcae21c55d97be313">&#9670;&nbsp;</a></span>osmo_ss7_pointcode_print()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * osmo_ss7_pointcode_print </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="ss7__internal_8h.html#aa23a2021f836728938fefac9cca3aec5">MAX_PC_STR_LEN</a>, and <a class="el" href="osmo__ss7__instance_8c.html#ae328ce407109fdd25911be8750f56694">osmo_ss7_pointcode_print_buf()</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__vty_8c.html#aa757637f70f4035c3618c29c2fc4e5cc">DEFUN()</a>, <a class="el" href="xua__snm_8c.html#a668451879459fb8229cf3f66da64ef5e">format_affected_pcs_c()</a>, <a class="el" href="xua__rkm_8c.html#a44af2d2697beebe91a62a76211c14157">handle_rkey_dereg()</a>, <a class="el" href="xua__rkm_8c.html#a58819010e3b1aa68a744022649829c3c">handle_rkey_reg()</a>, <a class="el" href="osmo__ss7__hmrt_8c.html#a33ede64db537fe1d5a39e6d9c2f07c8b">hmrt_message_for_routing()</a>, <a class="el" href="xua__as__fsm_8c.html#a9ad84983bf8cd04680f38cc539633165">ipa_del_route()</a>, <a class="el" href="osmo__ss7__hmrt_8c.html#a8bc0dfc719354cd380bb206d25c33c6a">m3ua_hmdc_rx_from_l2()</a>, <a class="el" href="m3ua_8c.html#adfdab85e76ea4094d36e002b071e2913">m3ua_rx_xfer()</a>, <a class="el" href="osmo__ss7_8h.html#a3494cf9f81c1463a55572e44366d5573">osmo_sccp_simple_client_on_ss7_id()</a>, <a class="el" href="sccp__sap_8h.html#ae2b5a2f259d5c4cf9b0e9dd9ba298665">osmo_sccp_user_unbind()</a>, <a class="el" href="osmo__ss7_8h.html#a286e2d2dfc24375cf83db56c67fe0ea2">osmo_ss7_route_name()</a>, <a class="el" href="osmo__ss7_8h.html#a57312ff6631501f256d1108b89ebf71a">osmo_ss7_route_print()</a>, <a class="el" href="sccp__helpers_8c.html#ac7057e8868b62138df058e713a0bc82b">sccp_addr_to_str_buf()</a>, <a class="el" href="sccp__scoc_8c.html#ab58aa945ab650c771b53e4e1561a2eae">sccp_scoc_rx_inval_opc()</a>, <a class="el" href="sccp__user_8c.html#abf899848c0ca9ac5ea58db970d9994e8">sccp_user_bind_pc()</a>, <a class="el" href="sccp__scrc_8c.html#af08b87cb11a415196c1facbfba464ceb">scrc_node_6()</a>, <a class="el" href="sccp__vty_8c.html#a021ce75d068f12ebf0856fab8df4380c">show_user()</a>, <a class="el" href="osmo__ss7__route_8c.html#a6ce127d1c6de224f5a6297f68fba4cfc">ss7_route_destroy()</a>, <a class="el" href="osmo__ss7__route_8c.html#acf75f3605c463d7c4cef4e73257194ab">ss7_route_insert()</a>, <a class="el" href="osmo__ss7__route_8c.html#a46ccd2320c3e917d0e9bef6b90e78601">ss7_route_set_linkset()</a>, <a class="el" href="sccp__scoc_8c.html#a6cb4d67084ea0cb4d7b1ebffe12b87ad">vty_show_connection()</a>, <a class="el" href="osmo__ss7__vty_8c.html#af0ed490e66e888e21b1a40a31df540f6">write_one_as()</a>, <a class="el" href="osmo__ss7__vty_8c.html#a7b9b227738b3ce0e868c17a65dd2c627">write_one_cs7()</a>, <a class="el" href="osmo__ss7__vty_8c.html#a28130d303c1d87ce911b0f678a71d7da">write_one_rtable()</a>, <a class="el" href="osmo__ss7__vty_8c.html#a0af314559c46750211cf2a8eff926d25">write_sccp_addressbook()</a>, and <a class="el" href="xua__internal_8h.html#a13d36aa2ddc80797a8ec03ab6cdbebe8">xua_snm_rx_dupu()</a>.</p>

</div>
</div>
<a id="a9c9283afabd1e1566f511e66698ea44d" name="a9c9283afabd1e1566f511e66698ea44d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c9283afabd1e1566f511e66698ea44d">&#9670;&nbsp;</a></span>osmo_ss7_pointcode_print2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * osmo_ss7_pointcode_print2 </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="ss7__internal_8h.html#aa23a2021f836728938fefac9cca3aec5">MAX_PC_STR_LEN</a>, and <a class="el" href="osmo__ss7__instance_8c.html#ae328ce407109fdd25911be8750f56694">osmo_ss7_pointcode_print_buf()</a>.</p>

<p class="reference">Referenced by <a class="el" href="m3ua_8c.html#adfdab85e76ea4094d36e002b071e2913">m3ua_rx_xfer()</a>, <a class="el" href="osmo__ss7_8h.html#a286e2d2dfc24375cf83db56c67fe0ea2">osmo_ss7_route_name()</a>, <a class="el" href="osmo__ss7_8h.html#a57312ff6631501f256d1108b89ebf71a">osmo_ss7_route_print()</a>, <a class="el" href="sccp__scoc_8c.html#ab58aa945ab650c771b53e4e1561a2eae">sccp_scoc_rx_inval_opc()</a>, and <a class="el" href="osmo__ss7__vty_8c.html#a28130d303c1d87ce911b0f678a71d7da">write_one_rtable()</a>.</p>

</div>
</div>
<a id="ae328ce407109fdd25911be8750f56694" name="ae328ce407109fdd25911be8750f56694"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae328ce407109fdd25911be8750f56694">&#9670;&nbsp;</a></span>osmo_ss7_pointcode_print_buf()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * osmo_ss7_pointcode_print_buf </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="osmo__ss7__instance_8c.html#a7e710ac37bf4c2d56a17e65086ec9684">default_pc_fmt</a>, <a class="el" href="osmo__ss7__instance_8c.html#aabb5ff7e5820e268a941510bd387fce2">gen_pc_fmtstr()</a>, <a class="el" href="xua__types_8h.html#a8aed22e2c7b283705ec82e0120515618">len</a>, <a class="el" href="osmo__ss7__instance_8c.html#abf3c0ef5eb29ad67de6ea862d7e2cfed">num_pc_comp_exp()</a>, <a class="el" href="osmo__ss7_8h.html#a26d0122847290712aa22ebf3a37468fd">osmo_ss7_pc_is_valid()</a>, <a class="el" href="osmo__ss7__instance_8c.html#a505d8cbb59e414f24d56a83a29799a42">pc_comp_shift_and_mask()</a>, and <a class="el" href="structosmo__ss7__instance.html#a692118b712f5fd9af3e204a8c9bc7639">osmo_ss7_instance::pc_fmt</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#accae8bcfd3577b2fcae21c55d97be313">osmo_ss7_pointcode_print()</a>, and <a class="el" href="osmo__ss7_8h.html#a9c9283afabd1e1566f511e66698ea44d">osmo_ss7_pointcode_print2()</a>.</p>

</div>
</div>
<a id="a505d8cbb59e414f24d56a83a29799a42" name="a505d8cbb59e414f24d56a83a29799a42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a505d8cbb59e414f24d56a83a29799a42">&#9670;&nbsp;</a></span>pc_comp_shift_and_mask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t pc_comp_shift_and_mask </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> *&#160;</td>
          <td class="paramname"><em>pc_fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>comp_num</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__pc__fmt.html#ae7d9be7df3815a6eb1d4de66c99881f6">osmo_ss7_pc_fmt::component_len</a>, and <a class="el" href="osmo__ss7__instance_8c.html#ae2dc16490ad0d3a263aa80160bc36828">get_pc_comp_shift()</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a9e0728851ea1553fe1e6e1075a836175">osmo_ss7_pointcode_print_buf()</a>.</p>

</div>
</div>
<a id="a6ecdf4b66511e0d65caedeab81f3f4d3" name="a6ecdf4b66511e0d65caedeab81f3f4d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ecdf4b66511e0d65caedeab81f3f4d3">&#9670;&nbsp;</a></span>ss7_find_free_l_rk_id()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ss7_find_free_l_rk_id </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> *&#160;</td>
          <td class="paramname"><em>inst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="osmo__ss7__instance_8c.html#a82b1fae92faad2df658d676f19203112">next_l_rk_id</a>, and <a class="el" href="osmo__ss7__instance_8c.html#a4425a62d1138a1face7ce0f4461c1811">osmo_ss7_as_find_by_l_rk_id()</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7__as_8c.html#ab5cd3d471c6ef8678829cee97c60014c">ss7_as_alloc()</a>.</p>

</div>
</div>
<a id="afc494c6614b4d872e414b662ae23baf7" name="afc494c6614b4d872e414b662ae23baf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc494c6614b4d872e414b662ae23baf7">&#9670;&nbsp;</a></span>ss7_instance_alloc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structosmo__ss7__instance.html">osmo_ss7_instance</a> * ss7_instance_alloc </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structosmo__ss7__instance.html#a71621534d17bb3a348a636f5e48275be">osmo_ss7_instance::as_list</a>, <a class="el" href="structosmo__ss7__instance.html#aaab8768d7411a0f10b3044740605d0d1">osmo_ss7_instance::asp_list</a>, <a class="el" href="structosmo__ss7__instance.html#a6e368158f23e2513b111066f4a861b7d">osmo_ss7_instance::cfg</a>, <a class="el" href="structosmo__ss7__pc__fmt.html#ae7d9be7df3815a6eb1d4de66c99881f6">osmo_ss7_pc_fmt::component_len</a>, <a class="el" href="structosmo__ss7__pc__fmt.html#a68e54cafb7f42c64ec79dcbe8d6a0ae0">osmo_ss7_pc_fmt::delimiter</a>, <a class="el" href="structosmo__ss7__instance.html#a97164a12e862adf6e546fe7d0a0094dd">osmo_ss7_instance::id</a>, <a class="el" href="structosmo__ss7__instance.html#a43f30caeb11dd9ee2db8dd01db82cf18">osmo_ss7_instance::linksets</a>, <a class="el" href="structosmo__ss7__instance.html#ae6990daf69739d16de477871c314f7ff">osmo_ss7_instance::list</a>, <a class="el" href="ss7__instance_8h.html#aec14b54ffb5b79dcfd0e4eb5931e0ff6">LOGSS7</a>, <a class="el" href="osmo__ss7_8h.html#a8bde19e6cde8f784d4bb249da25e8eeb">osmo_ss7_instances</a>, <a class="el" href="osmo__ss7_8h.html#ad7ad7dbf55c60c5b66663e6e4dc5e69b">OSMO_SS7_PC_INVALID</a>, <a class="el" href="structosmo__ss7__instance.html#a692118b712f5fd9af3e204a8c9bc7639">osmo_ss7_instance::pc_fmt</a>, <a class="el" href="structosmo__ss7__instance.html#a6054de87f4ebeaab39498ac331cbcb16">osmo_ss7_instance::primary_pc</a>, <a class="el" href="structosmo__ss7__instance.html#a7f25e04b2041d6da9d99f2261e5043e0">osmo_ss7_instance::rtable_list</a>, <a class="el" href="structosmo__ss7__instance.html#a2e94e56bf133e07356fb9043619e0adb">osmo_ss7_instance::rtable_system</a>, <a class="el" href="structosmo__ss7__instance.html#ae371eee5e3108f7c3499ab4fc2a15622">osmo_ss7_instance::sccp_address_book</a>, <a class="el" href="structosmo__ss7__instance.html#a2e7a0a8c1276c9dafe53134a1187ee6f">osmo_ss7_instance::secondary_pc</a>, <a class="el" href="osmo__ss7__route__table_8c.html#adec7dc12336efe6460d6e036dea8a7a1">ss7_route_table_find_or_create()</a>, and <a class="el" href="structosmo__ss7__instance.html#af027e28ef4df90b342f7800f90b35318">osmo_ss7_instance::xua_servers</a>.</p>

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a950f22310d21bb0e18e65b6405b1c135">osmo_ss7_instance_find_or_create()</a>.</p>

</div>
</div>
<a id="afadad76c76c0630eed4b7a10b68f2b7c" name="afadad76c76c0630eed4b7a10b68f2b7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afadad76c76c0630eed4b7a10b68f2b7c">&#9670;&nbsp;</a></span>strnappendchar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int strnappendchar </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="osmo__ss7__instance_8c.html#aabb5ff7e5820e268a941510bd387fce2">gen_pc_fmtstr()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a7e710ac37bf4c2d56a17e65086ec9684" name="a7e710ac37bf4c2d56a17e65086ec9684"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e710ac37bf4c2d56a17e65086ec9684">&#9670;&nbsp;</a></span>default_pc_fmt</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const struct <a class="el" href="structosmo__ss7__pc__fmt.html">osmo_ss7_pc_fmt</a> default_pc_fmt</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">        .delimiter = <span class="charliteral">&#39;.&#39;</span>,</div>
<div class="line">        .component_len = { 3, 8, 3},</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#a2cfd271ba23f83329b046b245b7dc083">osmo_ss7_pointcode_parse()</a>, <a class="el" href="osmo__ss7_8h.html#a084299ae59a9c06a7274cdab910456d5">osmo_ss7_pointcode_parse_mask_or_len()</a>, and <a class="el" href="osmo__ss7_8h.html#a9e0728851ea1553fe1e6e1075a836175">osmo_ss7_pointcode_print_buf()</a>.</p>

</div>
</div>
<a id="a82b1fae92faad2df658d676f19203112" name="a82b1fae92faad2df658d676f19203112"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82b1fae92faad2df658d676f19203112">&#9670;&nbsp;</a></span>next_l_rk_id</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t next_l_rk_id = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="osmo__ss7__instance_8c.html#a6ecdf4b66511e0d65caedeab81f3f4d3">ss7_find_free_l_rk_id()</a>.</p>

</div>
</div>
<a id="ac371d9ef3ce4d17cd66e9f4446879ffc" name="ac371d9ef3ce4d17cd66e9f4446879ffc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac371d9ef3ce4d17cd66e9f4446879ffc">&#9670;&nbsp;</a></span>next_rctx</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t next_rctx = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="osmo__ss7_8h.html#ad995eb65a7ba20e8d134033669126231">osmo_ss7_find_free_rctx()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="osmo__ss7__instance_8c.html">osmo_ss7_instance.c</a></li>
    <li class="footer">Generated on Sun Dec 29 2024 13:26:36 for libosmo-sigtran by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>