Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 3333

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!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/html; charset=ANSI_X3.4-1968" /><title>struct rio_switch</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="RapidIO Subsystem Guide" /><link rel="up" href="ch04.html#Structures" title="Structures" /><link rel="prev" href="re42.html" title="struct rio_net" /><link rel="next" href="re44.html" title="struct rio_ops" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct rio_switch</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re42.html">Prev</a>&#160;</td><th width="60%" align="center">Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="re44.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct rio_switch"><a id="API-struct-rio-switch"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct rio_switch &#8212; 
     RIO switch info
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct rio_switch {
  struct list_head node;
  u16 switchid;
  u16 hopcount;
  u16 destid;
  u8 * route_table;
  int (* add_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port);
  int (* get_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 * route_port);
};  </pre></div><div class="refsect1" title="Members"><a id="id2852403"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">node</span></dt><dd><p>
   Node in global list of switches
      </p></dd><dt><span class="term">switchid</span></dt><dd><p>
   Switch ID that is unique across a network
      </p></dd><dt><span class="term">hopcount</span></dt><dd><p>
   Hopcount to this switch
      </p></dd><dt><span class="term">destid</span></dt><dd><p>
   Associated destid in the path
      </p></dd><dt><span class="term">route_table</span></dt><dd><p>
   Copy of switch routing table
      </p></dd><dt><span class="term">add_entry</span></dt><dd><p>
   Callback for switch-specific route add function
      </p></dd><dt><span class="term">get_entry</span></dt><dd><p>
   Callback for switch-specific route get function
      </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re42.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch04.html#Structures">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re44.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct rio_net</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>struct rio_ops</span></td></tr></table></div></body></html>