<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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=9"/> <title>libnl: Network Emulator</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="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="libnl.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 style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libnl  <span id="projectnumber">3.2.21</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('group__qdisc__netem.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">Network Emulator</div> </div> <div class="ingroups"><a class="el" href="group__qdisc.html">Queueing Disciplines</a></div></div><!--header--> <div class="contents"> <p>For further documentation see <a href="http://linux-net.osdl.org/index.php/Netem">http://linux-net.osdl.org/index.php/Netem</a>. <a href="#details">More...</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="member-group"></a> Queue Limit</h2></td></tr> <tr class="memitem:ga6637bb0d528a7480f4b22c263254072f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga6637bb0d528a7480f4b22c263254072f">rtnl_netem_set_limit</a> (struct rtnl_qdisc *qdisc, int limit)</td></tr> <tr class="memdesc:ga6637bb0d528a7480f4b22c263254072f"><td class="mdescLeft"> </td><td class="mdescRight">Set limit of netem qdisc. <a href="#ga6637bb0d528a7480f4b22c263254072f"></a><br/></td></tr> <tr class="memitem:gaefded0a1f384695bc8b8ce70b08a505f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gaefded0a1f384695bc8b8ce70b08a505f">rtnl_netem_get_limit</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:gaefded0a1f384695bc8b8ce70b08a505f"><td class="mdescLeft"> </td><td class="mdescRight">Get limit of netem qdisc. <a href="#gaefded0a1f384695bc8b8ce70b08a505f"></a><br/></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="member-group"></a> Packet Re-ordering</h2></td></tr> <tr class="memitem:gaa32efefe31e7039fdba9688582fe1077"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gaa32efefe31e7039fdba9688582fe1077">rtnl_netem_set_gap</a> (struct rtnl_qdisc *qdisc, int gap)</td></tr> <tr class="memdesc:gaa32efefe31e7039fdba9688582fe1077"><td class="mdescLeft"> </td><td class="mdescRight">Set re-ordering gap of netem qdisc. <a href="#gaa32efefe31e7039fdba9688582fe1077"></a><br/></td></tr> <tr class="memitem:ga4d3c60b52ec13050cf0698d92a3d5ca4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga4d3c60b52ec13050cf0698d92a3d5ca4">rtnl_netem_get_gap</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga4d3c60b52ec13050cf0698d92a3d5ca4"><td class="mdescLeft"> </td><td class="mdescRight">Get re-ordering gap of netem qdisc. <a href="#ga4d3c60b52ec13050cf0698d92a3d5ca4"></a><br/></td></tr> <tr class="memitem:ga9e197c76b5943dd3200bd9f302ac8429"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga9e197c76b5943dd3200bd9f302ac8429">rtnl_netem_set_reorder_probability</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:ga9e197c76b5943dd3200bd9f302ac8429"><td class="mdescLeft"> </td><td class="mdescRight">Set re-ordering probability of netem qdisc. <a href="#ga9e197c76b5943dd3200bd9f302ac8429"></a><br/></td></tr> <tr class="memitem:ga54b9940f1f887cb4cf517e1f0c7e3601"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga54b9940f1f887cb4cf517e1f0c7e3601">rtnl_netem_get_reorder_probability</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga54b9940f1f887cb4cf517e1f0c7e3601"><td class="mdescLeft"> </td><td class="mdescRight">Get re-ordering probability of netem qdisc. <a href="#ga54b9940f1f887cb4cf517e1f0c7e3601"></a><br/></td></tr> <tr class="memitem:ga7bf121997ae01d69d0510ed8a5bf59c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga7bf121997ae01d69d0510ed8a5bf59c3">rtnl_netem_set_reorder_correlation</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:ga7bf121997ae01d69d0510ed8a5bf59c3"><td class="mdescLeft"> </td><td class="mdescRight">Set re-order correlation probability of netem qdisc. <a href="#ga7bf121997ae01d69d0510ed8a5bf59c3"></a><br/></td></tr> <tr class="memitem:ga26a960a5d53a88690706d352dcb68057"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga26a960a5d53a88690706d352dcb68057">rtnl_netem_get_reorder_correlation</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga26a960a5d53a88690706d352dcb68057"><td class="mdescLeft"> </td><td class="mdescRight">Get re-ordering correlation probability of netem qdisc. <a href="#ga26a960a5d53a88690706d352dcb68057"></a><br/></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="member-group"></a> Corruption</h2></td></tr> <tr class="memitem:gaa5f5018574ca3e198d7c689c67b357a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gaa5f5018574ca3e198d7c689c67b357a3">rtnl_netem_set_corruption_probability</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:gaa5f5018574ca3e198d7c689c67b357a3"><td class="mdescLeft"> </td><td class="mdescRight">Set corruption probability of netem qdisc. <a href="#gaa5f5018574ca3e198d7c689c67b357a3"></a><br/></td></tr> <tr class="memitem:ga7c0eb9cb49e706711dab6a1dd4cbe7ba"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga7c0eb9cb49e706711dab6a1dd4cbe7ba">rtnl_netem_get_corruption_probability</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga7c0eb9cb49e706711dab6a1dd4cbe7ba"><td class="mdescLeft"> </td><td class="mdescRight">Get corruption probability of netem qdisc. <a href="#ga7c0eb9cb49e706711dab6a1dd4cbe7ba"></a><br/></td></tr> <tr class="memitem:ga8472e29e2ece7a2528b102b19773c3fb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga8472e29e2ece7a2528b102b19773c3fb">rtnl_netem_set_corruption_correlation</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:ga8472e29e2ece7a2528b102b19773c3fb"><td class="mdescLeft"> </td><td class="mdescRight">Set corruption correlation probability of netem qdisc. <a href="#ga8472e29e2ece7a2528b102b19773c3fb"></a><br/></td></tr> <tr class="memitem:ga58cb5197f68efd0cc6cda254bc2f24a8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga58cb5197f68efd0cc6cda254bc2f24a8">rtnl_netem_get_corruption_correlation</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga58cb5197f68efd0cc6cda254bc2f24a8"><td class="mdescLeft"> </td><td class="mdescRight">Get corruption correlation probability of netem qdisc. <a href="#ga58cb5197f68efd0cc6cda254bc2f24a8"></a><br/></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="member-group"></a> Packet Loss</h2></td></tr> <tr class="memitem:ga5cb8a0d1967533eece3ee24f05141546"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga5cb8a0d1967533eece3ee24f05141546">rtnl_netem_set_loss</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:ga5cb8a0d1967533eece3ee24f05141546"><td class="mdescLeft"> </td><td class="mdescRight">Set packet loss probability of netem qdisc. <a href="#ga5cb8a0d1967533eece3ee24f05141546"></a><br/></td></tr> <tr class="memitem:ga31f2e9081c0f91ea5464db3ab389bd2e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga31f2e9081c0f91ea5464db3ab389bd2e">rtnl_netem_get_loss</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga31f2e9081c0f91ea5464db3ab389bd2e"><td class="mdescLeft"> </td><td class="mdescRight">Get packet loss probability of netem qdisc. <a href="#ga31f2e9081c0f91ea5464db3ab389bd2e"></a><br/></td></tr> <tr class="memitem:gaaab14d2cefb9948afa129df11c16f209"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gaaab14d2cefb9948afa129df11c16f209">rtnl_netem_set_loss_correlation</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:gaaab14d2cefb9948afa129df11c16f209"><td class="mdescLeft"> </td><td class="mdescRight">Set packet loss correlation probability of netem qdisc. <a href="#gaaab14d2cefb9948afa129df11c16f209"></a><br/></td></tr> <tr class="memitem:gad726d79cd1e5b06c7c0bd7b0c5bd9a44"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gad726d79cd1e5b06c7c0bd7b0c5bd9a44">rtnl_netem_get_loss_correlation</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:gad726d79cd1e5b06c7c0bd7b0c5bd9a44"><td class="mdescLeft"> </td><td class="mdescRight">Get packet loss correlation probability of netem qdisc. <a href="#gad726d79cd1e5b06c7c0bd7b0c5bd9a44"></a><br/></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="member-group"></a> Packet Duplication</h2></td></tr> <tr class="memitem:gaa99891c0317c214edee82529c6d04ea9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gaa99891c0317c214edee82529c6d04ea9">rtnl_netem_set_duplicate</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:gaa99891c0317c214edee82529c6d04ea9"><td class="mdescLeft"> </td><td class="mdescRight">Set packet duplication probability of netem qdisc. <a href="#gaa99891c0317c214edee82529c6d04ea9"></a><br/></td></tr> <tr class="memitem:ga0f3970c78197aa3984342aaf4b4fbf9b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga0f3970c78197aa3984342aaf4b4fbf9b">rtnl_netem_get_duplicate</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga0f3970c78197aa3984342aaf4b4fbf9b"><td class="mdescLeft"> </td><td class="mdescRight">Get packet duplication probability of netem qdisc. <a href="#ga0f3970c78197aa3984342aaf4b4fbf9b"></a><br/></td></tr> <tr class="memitem:ga0683be3951a3e92665faf2d7d3186a9b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga0683be3951a3e92665faf2d7d3186a9b">rtnl_netem_set_duplicate_correlation</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:ga0683be3951a3e92665faf2d7d3186a9b"><td class="mdescLeft"> </td><td class="mdescRight">Set packet duplication correlation probability of netem qdisc. <a href="#ga0683be3951a3e92665faf2d7d3186a9b"></a><br/></td></tr> <tr class="memitem:ga554f2e5f78287c98e301becaf32d9ddc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga554f2e5f78287c98e301becaf32d9ddc">rtnl_netem_get_duplicate_correlation</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga554f2e5f78287c98e301becaf32d9ddc"><td class="mdescLeft"> </td><td class="mdescRight">Get packet duplication correlation probability of netem qdisc. <a href="#ga554f2e5f78287c98e301becaf32d9ddc"></a><br/></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="member-group"></a> Packet Delay</h2></td></tr> <tr class="memitem:gad43fc5208eb103fde94e9bb67c3644a0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gad43fc5208eb103fde94e9bb67c3644a0">rtnl_netem_set_delay</a> (struct rtnl_qdisc *qdisc, int delay)</td></tr> <tr class="memdesc:gad43fc5208eb103fde94e9bb67c3644a0"><td class="mdescLeft"> </td><td class="mdescRight">Set packet delay of netem qdisc. <a href="#gad43fc5208eb103fde94e9bb67c3644a0"></a><br/></td></tr> <tr class="memitem:ga88539d1c7297f6fcc8de7819c4eb9741"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga88539d1c7297f6fcc8de7819c4eb9741">rtnl_netem_get_delay</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga88539d1c7297f6fcc8de7819c4eb9741"><td class="mdescLeft"> </td><td class="mdescRight">Get packet delay of netem qdisc. <a href="#ga88539d1c7297f6fcc8de7819c4eb9741"></a><br/></td></tr> <tr class="memitem:ga569357b03470337897cac3cf566bcfa8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga569357b03470337897cac3cf566bcfa8">rtnl_netem_set_jitter</a> (struct rtnl_qdisc *qdisc, int jitter)</td></tr> <tr class="memdesc:ga569357b03470337897cac3cf566bcfa8"><td class="mdescLeft"> </td><td class="mdescRight">Set packet delay jitter of netem qdisc. <a href="#ga569357b03470337897cac3cf566bcfa8"></a><br/></td></tr> <tr class="memitem:ga7fed1f919d6e6a0169197a0ba085d56a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga7fed1f919d6e6a0169197a0ba085d56a">rtnl_netem_get_jitter</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga7fed1f919d6e6a0169197a0ba085d56a"><td class="mdescLeft"> </td><td class="mdescRight">Get packet delay jitter of netem qdisc. <a href="#ga7fed1f919d6e6a0169197a0ba085d56a"></a><br/></td></tr> <tr class="memitem:ga2ee124b4da9df09548ec1c39b5a068f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga2ee124b4da9df09548ec1c39b5a068f7">rtnl_netem_set_delay_correlation</a> (struct rtnl_qdisc *qdisc, int prob)</td></tr> <tr class="memdesc:ga2ee124b4da9df09548ec1c39b5a068f7"><td class="mdescLeft"> </td><td class="mdescRight">Set packet delay correlation probability of netem qdisc. <a href="#ga2ee124b4da9df09548ec1c39b5a068f7"></a><br/></td></tr> <tr class="memitem:ga315136c03e8a4d1bc64d80a885057734"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga315136c03e8a4d1bc64d80a885057734">rtnl_netem_get_delay_correlation</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga315136c03e8a4d1bc64d80a885057734"><td class="mdescLeft"> </td><td class="mdescRight">Get packet delay correlation probability of netem qdisc. <a href="#ga315136c03e8a4d1bc64d80a885057734"></a><br/></td></tr> <tr class="memitem:ga3ff2de43fb0ac8d95b33ceb30bb45c3d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga3ff2de43fb0ac8d95b33ceb30bb45c3d">rtnl_netem_get_delay_distribution_size</a> (struct rtnl_qdisc *qdisc)</td></tr> <tr class="memdesc:ga3ff2de43fb0ac8d95b33ceb30bb45c3d"><td class="mdescLeft"> </td><td class="mdescRight">Get the size of the distribution table. <a href="#ga3ff2de43fb0ac8d95b33ceb30bb45c3d"></a><br/></td></tr> <tr class="memitem:ga1ab8432c919a681ab834d7ed73e1857f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#ga1ab8432c919a681ab834d7ed73e1857f">rtnl_netem_get_delay_distribution</a> (struct rtnl_qdisc *qdisc, int16_t **dist_ptr)</td></tr> <tr class="memdesc:ga1ab8432c919a681ab834d7ed73e1857f"><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to the distribution table. <a href="#ga1ab8432c919a681ab834d7ed73e1857f"></a><br/></td></tr> <tr class="memitem:gac3a48ff73f4f04be96f4239908e6629c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__qdisc__netem.html#gac3a48ff73f4f04be96f4239908e6629c">rtnl_netem_set_delay_distribution</a> (struct rtnl_qdisc *qdisc, const char *dist_type)</td></tr> <tr class="memdesc:gac3a48ff73f4f04be96f4239908e6629c"><td class="mdescLeft"> </td><td class="mdescRight">Set the delay distribution. <a href="#gac3a48ff73f4f04be96f4239908e6629c"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <p>For further documentation see <a href="http://linux-net.osdl.org/index.php/Netem">http://linux-net.osdl.org/index.php/Netem</a>. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ga6637bb0d528a7480f4b22c263254072f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_limit </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>limit</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set limit of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">limit</td><td>New limit in bytes. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00296">296</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga6637bb0d528a7480f4b22c263254072f_cgraph.png" border="0" usemap="#group__qdisc__netem_ga6637bb0d528a7480f4b22c263254072f_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga6637bb0d528a7480f4b22c263254072f_cgraph" id="group__qdisc__netem_ga6637bb0d528a7480f4b22c263254072f_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="208,31,307,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="355,5,461,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="359,56,457,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gaefded0a1f384695bc8b8ce70b08a505f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_limit </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get limit of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Limit in bytes or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00312">312</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gaefded0a1f384695bc8b8ce70b08a505f_cgraph.png" border="0" usemap="#group__qdisc__netem_gaefded0a1f384695bc8b8ce70b08a505f_cgraph" alt=""/></div> <map name="group__qdisc__netem_gaefded0a1f384695bc8b8ce70b08a505f_cgraph" id="group__qdisc__netem_gaefded0a1f384695bc8b8ce70b08a505f_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="208,31,307,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="355,5,461,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="359,56,457,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gaa32efefe31e7039fdba9688582fe1077"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_gap </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>gap</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set re-ordering gap of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">gap</td><td>New gap in number of packets. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00338">338</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-2-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-2-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-2-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gaa32efefe31e7039fdba9688582fe1077_cgraph.png" border="0" usemap="#group__qdisc__netem_gaa32efefe31e7039fdba9688582fe1077_cgraph" alt=""/></div> <map name="group__qdisc__netem_gaa32efefe31e7039fdba9688582fe1077_cgraph" id="group__qdisc__netem_gaa32efefe31e7039fdba9688582fe1077_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="205,31,304,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="353,5,458,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="357,56,454,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga4d3c60b52ec13050cf0698d92a3d5ca4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_gap </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get re-ordering gap of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Re-ordering gap in packets or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00354">354</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-3-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-3-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-3-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga4d3c60b52ec13050cf0698d92a3d5ca4_cgraph.png" border="0" usemap="#group__qdisc__netem_ga4d3c60b52ec13050cf0698d92a3d5ca4_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga4d3c60b52ec13050cf0698d92a3d5ca4_cgraph" id="group__qdisc__netem_ga4d3c60b52ec13050cf0698d92a3d5ca4_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="205,31,304,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="353,5,458,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="357,56,454,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga9e197c76b5943dd3200bd9f302ac8429"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_reorder_probability </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set re-ordering probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New re-ordering probability. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00373">373</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-4-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-4-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-4-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga9e197c76b5943dd3200bd9f302ac8429_cgraph.png" border="0" usemap="#group__qdisc__netem_ga9e197c76b5943dd3200bd9f302ac8429_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga9e197c76b5943dd3200bd9f302ac8429_cgraph" id="group__qdisc__netem_ga9e197c76b5943dd3200bd9f302ac8429_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="227,31,325,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="374,5,479,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="378,56,475,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga54b9940f1f887cb4cf517e1f0c7e3601"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_reorder_probability </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get re-ordering probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Re-ordering probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00389">389</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-5-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-5-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-5-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga54b9940f1f887cb4cf517e1f0c7e3601_cgraph.png" border="0" usemap="#group__qdisc__netem_ga54b9940f1f887cb4cf517e1f0c7e3601_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga54b9940f1f887cb4cf517e1f0c7e3601_cgraph" id="group__qdisc__netem_ga54b9940f1f887cb4cf517e1f0c7e3601_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="229,31,328,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="377,5,482,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="381,56,478,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga7bf121997ae01d69d0510ed8a5bf59c3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_reorder_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set re-order correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New re-ordering correlation probability. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00408">408</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-6-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-6-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-6-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga7bf121997ae01d69d0510ed8a5bf59c3_cgraph.png" border="0" usemap="#group__qdisc__netem_ga7bf121997ae01d69d0510ed8a5bf59c3_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga7bf121997ae01d69d0510ed8a5bf59c3_cgraph" id="group__qdisc__netem_ga7bf121997ae01d69d0510ed8a5bf59c3_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="227,31,325,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="374,5,479,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="378,56,475,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga26a960a5d53a88690706d352dcb68057"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_reorder_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get re-ordering correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Re-ordering correlation probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00424">424</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-7" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-7-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-7-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-7-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga26a960a5d53a88690706d352dcb68057_cgraph.png" border="0" usemap="#group__qdisc__netem_ga26a960a5d53a88690706d352dcb68057_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga26a960a5d53a88690706d352dcb68057_cgraph" id="group__qdisc__netem_ga26a960a5d53a88690706d352dcb68057_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="229,31,328,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="377,5,482,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="381,56,478,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gaa5f5018574ca3e198d7c689c67b357a3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_corruption_probability </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set corruption probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New corruption probability. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00450">450</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-8" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-8-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-8-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-8-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gaa5f5018574ca3e198d7c689c67b357a3_cgraph.png" border="0" usemap="#group__qdisc__netem_gaa5f5018574ca3e198d7c689c67b357a3_cgraph" alt=""/></div> <map name="group__qdisc__netem_gaa5f5018574ca3e198d7c689c67b357a3_cgraph" id="group__qdisc__netem_gaa5f5018574ca3e198d7c689c67b357a3_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="245,31,344,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="393,5,498,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="397,56,494,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga7c0eb9cb49e706711dab6a1dd4cbe7ba"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_corruption_probability </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get corruption probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Corruption probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00466">466</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-9" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-9-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-9-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-9-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga7c0eb9cb49e706711dab6a1dd4cbe7ba_cgraph.png" border="0" usemap="#group__qdisc__netem_ga7c0eb9cb49e706711dab6a1dd4cbe7ba_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga7c0eb9cb49e706711dab6a1dd4cbe7ba_cgraph" id="group__qdisc__netem_ga7c0eb9cb49e706711dab6a1dd4cbe7ba_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="245,31,344,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="393,5,498,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="397,56,494,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga8472e29e2ece7a2528b102b19773c3fb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_corruption_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set corruption correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New corruption correlation probability. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00485">485</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-10" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-10-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-10-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-10-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga8472e29e2ece7a2528b102b19773c3fb_cgraph.png" border="0" usemap="#group__qdisc__netem_ga8472e29e2ece7a2528b102b19773c3fb_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga8472e29e2ece7a2528b102b19773c3fb_cgraph" id="group__qdisc__netem_ga8472e29e2ece7a2528b102b19773c3fb_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="245,31,344,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="393,5,498,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="397,56,494,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga58cb5197f68efd0cc6cda254bc2f24a8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_corruption_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get corruption correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Corruption correlation probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00501">501</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-11" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-11-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-11-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-11-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga58cb5197f68efd0cc6cda254bc2f24a8_cgraph.png" border="0" usemap="#group__qdisc__netem_ga58cb5197f68efd0cc6cda254bc2f24a8_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga58cb5197f68efd0cc6cda254bc2f24a8_cgraph" id="group__qdisc__netem_ga58cb5197f68efd0cc6cda254bc2f24a8_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="245,31,344,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="393,5,498,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="397,56,494,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga5cb8a0d1967533eece3ee24f05141546"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_loss </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set packet loss probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New packet loss probability. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00527">527</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-12" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-12-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-12-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-12-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga5cb8a0d1967533eece3ee24f05141546_cgraph.png" border="0" usemap="#group__qdisc__netem_ga5cb8a0d1967533eece3ee24f05141546_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga5cb8a0d1967533eece3ee24f05141546_cgraph" id="group__qdisc__netem_ga5cb8a0d1967533eece3ee24f05141546_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="205,31,304,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="353,5,458,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="357,56,454,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga31f2e9081c0f91ea5464db3ab389bd2e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_loss </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get packet loss probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Packet loss probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00543">543</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-13" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-13-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-13-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-13-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga31f2e9081c0f91ea5464db3ab389bd2e_cgraph.png" border="0" usemap="#group__qdisc__netem_ga31f2e9081c0f91ea5464db3ab389bd2e_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga31f2e9081c0f91ea5464db3ab389bd2e_cgraph" id="group__qdisc__netem_ga31f2e9081c0f91ea5464db3ab389bd2e_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="205,31,304,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="353,5,458,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="357,56,454,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gaaab14d2cefb9948afa129df11c16f209"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_loss_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set packet loss correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New packet loss correlation. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00562">562</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-14" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-14-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-14-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-14-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gaaab14d2cefb9948afa129df11c16f209_cgraph.png" border="0" usemap="#group__qdisc__netem_gaaab14d2cefb9948afa129df11c16f209_cgraph" alt=""/></div> <map name="group__qdisc__netem_gaaab14d2cefb9948afa129df11c16f209_cgraph" id="group__qdisc__netem_gaaab14d2cefb9948afa129df11c16f209_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="205,31,304,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="353,5,458,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="357,56,454,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gad726d79cd1e5b06c7c0bd7b0c5bd9a44"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_loss_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get packet loss correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Packet loss correlation probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00578">578</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-15" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-15-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-15-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-15-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gad726d79cd1e5b06c7c0bd7b0c5bd9a44_cgraph.png" border="0" usemap="#group__qdisc__netem_gad726d79cd1e5b06c7c0bd7b0c5bd9a44_cgraph" alt=""/></div> <map name="group__qdisc__netem_gad726d79cd1e5b06c7c0bd7b0c5bd9a44_cgraph" id="group__qdisc__netem_gad726d79cd1e5b06c7c0bd7b0c5bd9a44_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="205,31,304,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="353,5,458,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="357,56,454,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gaa99891c0317c214edee82529c6d04ea9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_duplicate </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set packet duplication probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New packet duplication probability. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00604">604</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-16" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-16-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-16-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-16-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gaa99891c0317c214edee82529c6d04ea9_cgraph.png" border="0" usemap="#group__qdisc__netem_gaa99891c0317c214edee82529c6d04ea9_cgraph" alt=""/></div> <map name="group__qdisc__netem_gaa99891c0317c214edee82529c6d04ea9_cgraph" id="group__qdisc__netem_gaa99891c0317c214edee82529c6d04ea9_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="237,31,336,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="385,5,490,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="389,56,486,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga0f3970c78197aa3984342aaf4b4fbf9b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_duplicate </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get packet duplication probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Packet duplication probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00620">620</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-17" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-17-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-17-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-17-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga0f3970c78197aa3984342aaf4b4fbf9b_cgraph.png" border="0" usemap="#group__qdisc__netem_ga0f3970c78197aa3984342aaf4b4fbf9b_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga0f3970c78197aa3984342aaf4b4fbf9b_cgraph" id="group__qdisc__netem_ga0f3970c78197aa3984342aaf4b4fbf9b_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="240,31,339,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="387,5,493,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="391,56,489,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga0683be3951a3e92665faf2d7d3186a9b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_duplicate_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set packet duplication correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New packet duplication correlation probability. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on sucess or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00639">639</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-18" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-18-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-18-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-18-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga0683be3951a3e92665faf2d7d3186a9b_cgraph.png" border="0" usemap="#group__qdisc__netem_ga0683be3951a3e92665faf2d7d3186a9b_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga0683be3951a3e92665faf2d7d3186a9b_cgraph" id="group__qdisc__netem_ga0683be3951a3e92665faf2d7d3186a9b_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="237,31,336,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="385,5,490,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="389,56,486,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga554f2e5f78287c98e301becaf32d9ddc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_duplicate_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get packet duplication correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Packet duplication correlation probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00655">655</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-19" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-19-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-19-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-19-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga554f2e5f78287c98e301becaf32d9ddc_cgraph.png" border="0" usemap="#group__qdisc__netem_ga554f2e5f78287c98e301becaf32d9ddc_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga554f2e5f78287c98e301becaf32d9ddc_cgraph" id="group__qdisc__netem_ga554f2e5f78287c98e301becaf32d9ddc_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="240,31,339,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="387,5,493,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="391,56,489,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gad43fc5208eb103fde94e9bb67c3644a0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_delay </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>delay</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set packet delay of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">delay</td><td>New packet delay in micro seconds. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00681">681</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2utils_8c_source.html#l00476">nl_us2ticks()</a>, <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-20" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-20-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-20-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-20-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gad43fc5208eb103fde94e9bb67c3644a0_cgraph.png" border="0" usemap="#group__qdisc__netem_gad43fc5208eb103fde94e9bb67c3644a0_cgraph" alt=""/></div> <map name="group__qdisc__netem_gad43fc5208eb103fde94e9bb67c3644a0_cgraph" id="group__qdisc__netem_gad43fc5208eb103fde94e9bb67c3644a0_cgraph"> <area shape="rect" id="node3" href="group__utils.html#gaf630014f3b23909759921b8ef9f85d3e" title="Convert micro seconds to ticks." alt="" coords="217,5,309,32"/><area shape="rect" id="node5" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="213,56,312,83"/><area shape="rect" id="node7" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="361,31,466,57"/><area shape="rect" id="node9" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="365,81,462,108"/></map> </div> </p> </div> </div> <a class="anchor" id="ga88539d1c7297f6fcc8de7819c4eb9741"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_delay </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get packet delay of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Packet delay in micro seconds or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00697">697</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2utils_8c_source.html#l00487">nl_ticks2us()</a>, <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-21" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-21-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-21-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-21-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga88539d1c7297f6fcc8de7819c4eb9741_cgraph.png" border="0" usemap="#group__qdisc__netem_ga88539d1c7297f6fcc8de7819c4eb9741_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga88539d1c7297f6fcc8de7819c4eb9741_cgraph" id="group__qdisc__netem_ga88539d1c7297f6fcc8de7819c4eb9741_cgraph"> <area shape="rect" id="node3" href="group__utils.html#gade35baf670a48177d9469905159089e7" title="Convert ticks to micro seconds." alt="" coords="219,5,311,32"/><area shape="rect" id="node5" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="216,56,315,83"/><area shape="rect" id="node7" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="363,31,469,57"/><area shape="rect" id="node9" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="367,81,465,108"/></map> </div> </p> </div> </div> <a class="anchor" id="ga569357b03470337897cac3cf566bcfa8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_jitter </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>jitter</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set packet delay jitter of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">jitter</td><td>New packet delay jitter in micro seconds. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00716">716</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2utils_8c_source.html#l00476">nl_us2ticks()</a>, <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-22" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-22-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-22-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-22-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga569357b03470337897cac3cf566bcfa8_cgraph.png" border="0" usemap="#group__qdisc__netem_ga569357b03470337897cac3cf566bcfa8_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga569357b03470337897cac3cf566bcfa8_cgraph" id="group__qdisc__netem_ga569357b03470337897cac3cf566bcfa8_cgraph"> <area shape="rect" id="node3" href="group__utils.html#gaf630014f3b23909759921b8ef9f85d3e" title="Convert micro seconds to ticks." alt="" coords="211,5,303,32"/><area shape="rect" id="node5" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="208,56,307,83"/><area shape="rect" id="node7" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="355,31,461,57"/><area shape="rect" id="node9" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="359,81,457,108"/></map> </div> </p> </div> </div> <a class="anchor" id="ga7fed1f919d6e6a0169197a0ba085d56a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_jitter </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get packet delay jitter of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Packet delay jitter in micro seconds or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00732">732</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2utils_8c_source.html#l00487">nl_ticks2us()</a>, <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-23" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-23-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-23-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-23-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga7fed1f919d6e6a0169197a0ba085d56a_cgraph.png" border="0" usemap="#group__qdisc__netem_ga7fed1f919d6e6a0169197a0ba085d56a_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga7fed1f919d6e6a0169197a0ba085d56a_cgraph" id="group__qdisc__netem_ga7fed1f919d6e6a0169197a0ba085d56a_cgraph"> <area shape="rect" id="node3" href="group__utils.html#gade35baf670a48177d9469905159089e7" title="Convert ticks to micro seconds." alt="" coords="214,5,306,32"/><area shape="rect" id="node5" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="211,56,309,83"/><area shape="rect" id="node7" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="358,31,463,57"/><area shape="rect" id="node9" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="362,81,459,108"/></map> </div> </p> </div> </div> <a class="anchor" id="ga2ee124b4da9df09548ec1c39b5a068f7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void rtnl_netem_set_delay_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>prob</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set packet delay correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc to be modified. </td></tr> <tr><td class="paramname">prob</td><td>New packet delay correlation probability. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00750">750</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-24" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-24-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-24-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-24-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga2ee124b4da9df09548ec1c39b5a068f7_cgraph.png" border="0" usemap="#group__qdisc__netem_ga2ee124b4da9df09548ec1c39b5a068f7_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga2ee124b4da9df09548ec1c39b5a068f7_cgraph" id="group__qdisc__netem_ga2ee124b4da9df09548ec1c39b5a068f7_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="213,31,312,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="361,5,466,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="365,56,462,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga315136c03e8a4d1bc64d80a885057734"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_delay_correlation </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get packet delay correlation probability of netem qdisc. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Packet delay correlation probability or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00766">766</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-25" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-25-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-25-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-25-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga315136c03e8a4d1bc64d80a885057734_cgraph.png" border="0" usemap="#group__qdisc__netem_ga315136c03e8a4d1bc64d80a885057734_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga315136c03e8a4d1bc64d80a885057734_cgraph" id="group__qdisc__netem_ga315136c03e8a4d1bc64d80a885057734_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="216,31,315,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="363,5,469,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="367,56,465,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga3ff2de43fb0ac8d95b33ceb30bb45c3d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_delay_distribution_size </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the size of the distribution table. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Distribution table size or a negative error code. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00784">784</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-26" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-26-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-26-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-26-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga3ff2de43fb0ac8d95b33ceb30bb45c3d_cgraph.png" border="0" usemap="#group__qdisc__netem_ga3ff2de43fb0ac8d95b33ceb30bb45c3d_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga3ff2de43fb0ac8d95b33ceb30bb45c3d_cgraph" id="group__qdisc__netem_ga3ff2de43fb0ac8d95b33ceb30bb45c3d_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="216,31,315,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="363,5,469,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="367,56,465,83"/></map> </div> </p> </div> </div> <a class="anchor" id="ga1ab8432c919a681ab834d7ed73e1857f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_get_delay_distribution </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int16_t ** </td> <td class="paramname"><em>dist_ptr</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Get a pointer to the distribution table. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> <tr><td class="paramname">dist_ptr</td><td>The pointer to set. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>Negative error code on failure or 0 on success. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00803">803</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-27" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-27-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-27-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-27-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_ga1ab8432c919a681ab834d7ed73e1857f_cgraph.png" border="0" usemap="#group__qdisc__netem_ga1ab8432c919a681ab834d7ed73e1857f_cgraph" alt=""/></div> <map name="group__qdisc__netem_ga1ab8432c919a681ab834d7ed73e1857f_cgraph" id="group__qdisc__netem_ga1ab8432c919a681ab834d7ed73e1857f_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="216,31,315,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="363,5,469,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="367,56,465,83"/></map> </div> </p> </div> </div> <a class="anchor" id="gac3a48ff73f4f04be96f4239908e6629c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int rtnl_netem_set_delay_distribution </td> <td>(</td> <td class="paramtype">struct rtnl_qdisc * </td> <td class="paramname"><em>qdisc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>dist_type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the delay distribution. </p> <p>Latency/jitter must be set before applying. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">qdisc</td><td>Netem qdisc. </td></tr> <tr><td class="paramname">dist_type</td><td>The name of the distribution (type, file, path/file). </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>0 on success, error code on failure. </dd></dl> <p>Definition at line <a class="el" href="netem_8c_source.html#l00823">823</a> of file <a class="el" href="netem_8c_source.html">netem.c</a>.</p> <p>References <a class="el" href="lib_2route_2tc_8c_source.html#l01001">rtnl_tc_data()</a>, and <a class="el" href="route_2tc_8h_source.html#l00055">TC_CAST</a>.</p> <p><div id="dynsection-28" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-28-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div> <div id="dynsection-28-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-28-content" class="dyncontent" style="display:none;"> <div class="center"><img src="group__qdisc__netem_gac3a48ff73f4f04be96f4239908e6629c_cgraph.png" border="0" usemap="#group__qdisc__netem_gac3a48ff73f4f04be96f4239908e6629c_cgraph" alt=""/></div> <map name="group__qdisc__netem_gac3a48ff73f4f04be96f4239908e6629c_cgraph" id="group__qdisc__netem_gac3a48ff73f4f04be96f4239908e6629c_cgraph"> <area shape="rect" id="node3" href="group__tc.html#ga092adc6b4b81da71edf5d88722ed7f4d" title="Return pointer to private data of traffic control object." alt="" coords="213,31,312,57"/><area shape="rect" id="node5" href="group__data.html#gafd58c229c0e4dd4dcea07c8d8493c144" title="Allocate a new abstract data object." alt="" coords="361,5,466,32"/><area shape="rect" id="node7" href="group__data.html#ga1ca4b5ea3a92643c2fe94dd4eeef072b" title="Get data buffer of abstract data object." alt="" coords="365,56,462,83"/></map> </div> </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="footer">Generated on Thu Jan 24 2013 14:39:30 for libnl by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li> </ul> </div> </body> </html>