onetwork.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <chapter id='onetwork'>
  2. <title>
  3. Class onetwork
  4. </title>
  5. <section id="onetwork-class" >
  6. <title>
  7. Introduction
  8. </title>
  9. <para>
  10. To be documented.
  11. </para>
  12. <para>
  13. This class is declared in <ulink url='onetwork.hpp.html'>onetwork.hpp</ulink> and defined in <ulink url='onetwork.cpp.html'>onetwork.cpp</ulink>.
  14. </para>
  15. <section id="onetwork-inheritance">
  16. <title>
  17. Inheritance
  18. </title>
  19. <para>
  20. None.
  21. </para>
  22. </section>
  23. <section id="onetwork-dependence">
  24. <title>
  25. Dependence
  26. </title>
  27. <para>
  28. None.
  29. </para>
  30. </section>
  31. </section>
  32. <section id="onetwork-properties">
  33. <title>
  34. Properties
  35. </title>
  36. <para>
  37. None.
  38. </para>
  39. </section>
  40. <section id="onetwork-methods">
  41. <title>
  42. Methods
  43. </title>
  44. <para>
  45. </para>
  46. <section id="onetwork-Bridges">
  47. <title>
  48. Bridges
  49. </title>
  50. <funcsynopsis>
  51. <funcprototype>
  52. <funcdef>size_t <function>onetwork::Bridges</function></funcdef>
  53. <paramdef>ochannel * <parameter>channel</parameter></paramdef>
  54. <paramdef>void * <parameter>memory</parameter></paramdef>
  55. <paramdef>size_t <parameter>extent</parameter></paramdef>
  56. </funcprototype>
  57. </funcsynopsis>
  58. <para>
  59. Encode memory with a list of local powerline adapter hardware addresses connected to the specified channel interface. Return the number of local powerline adapters detecteed. Argument <varname>extent</varname> specifies the size of <varname>memory</varname> in bytes. The return value indicates the number of consecutive addresses stored in <varname>memory</varname>. Each address is <constant>ETHER_ADDR_LEN</constant> bytes. In other words, the external declaration of <varname>memory</varname> should look something like <quote><code> byte devices [][<constant>ETHER_ADDR_LEN</constant>]</code></quote>.
  60. </para>
  61. </section>
  62. <section id="onetwork-Devices">
  63. <title>
  64. Devices
  65. </title>
  66. <funcsynopsis>
  67. <funcprototype>
  68. <funcdef>size_t <function>onetwork::Devices</function></funcdef>
  69. <paramdef>ochannel * <parameter>channel</parameter></paramdef>
  70. <paramdef>void * <parameter>memory</parameter></paramdef>
  71. <paramdef>size_t <parameter>extent</parameter></paramdef>
  72. </funcprototype>
  73. </funcsynopsis>
  74. <para>
  75. Encode memory with a list of local powerline adapter hardware addresses. Return the number of local powerline adapters detecteed. Argument <varname>extent</varname> specifies the size of <varname>memory</varname> in bytes. The return value indicates the number of consecutive addresses stored in <varname>memory</varname>. Each address is <constant>ETHER_ADDR_LEN</constant> bytes. In other words, the external declaration of <varname>memory</varname> should look something like <quote><code> byte devices [][<constant>ETHER_ADDR_LEN</constant>]</code></quote>.
  76. </para>
  77. </section>
  78. </section>
  79. </chapter>