

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://net-snmp.sourceforge.io/wiki/index.php?action=history&amp;feed=atom&amp;title=MFD%3AifXTable%3Amib2c</id>
		<title>MFD:ifXTable:mib2c - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://net-snmp.sourceforge.io/wiki/index.php?action=history&amp;feed=atom&amp;title=MFD%3AifXTable%3Amib2c"/>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=MFD:ifXTable:mib2c&amp;action=history"/>
		<updated>2026-04-16T19:03:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>https://net-snmp.sourceforge.io/wiki/index.php?title=MFD:ifXTable:mib2c&amp;diff=5247&amp;oldid=prev</id>
		<title>Wes: /* Running mib2c */</title>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=MFD:ifXTable:mib2c&amp;diff=5247&amp;oldid=prev"/>
				<updated>2011-07-19T02:54:47Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Running mib2c&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:54, 19 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l69&quot; &gt;Line 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Notes:&amp;lt;br&amp;gt; We&amp;#039;ll be using the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;net-snmp &lt;/del&gt;access routines to get interface&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Notes:&amp;lt;br&amp;gt; We&amp;#039;ll be using the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ifTable&amp;#039;s &lt;/ins&gt;access routines to get interface&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;data, so we&amp;#039;ll just use the netsnmp_interface_entry structure to&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;data, so we&amp;#039;ll just use the netsnmp_interface_entry structure to&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;keep that data.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;keep that data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wes</name></author>	</entry>

	<entry>
		<id>https://net-snmp.sourceforge.io/wiki/index.php?title=MFD:ifXTable:mib2c&amp;diff=5238&amp;oldid=prev</id>
		<title>Wes: /* Running mib2c */</title>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=MFD:ifXTable:mib2c&amp;diff=5238&amp;oldid=prev"/>
				<updated>2011-07-18T23:15:37Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Running mib2c&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:15, 18 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; $ &amp;lt;font color=blue&amp;gt;mib2c -c mfd&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-top&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;m2c &lt;/del&gt;ifXTable&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; $ &amp;lt;font color=blue&amp;gt;mib2c -c &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mib2c.&lt;/ins&gt;mfd.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;conf &lt;/ins&gt;ifXTable&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; writing to ifXTable.h&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; writing to ifXTable.h&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; | +-&amp;gt; Processing table ifXTable&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; | +-&amp;gt; Processing table ifXTable&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wes</name></author>	</entry>

	<entry>
		<id>https://net-snmp.sourceforge.io/wiki/index.php?title=MFD:ifXTable:mib2c&amp;diff=5175&amp;oldid=prev</id>
		<title>Wes: Created page with &quot;{{MFDTutorial}}      == Running mib2c ==      The first step is to generate the code. Create a new directory somewhere and run:      &lt;table&gt;&lt;tr&gt;&lt;td width=20&gt;&lt;/td&gt;&lt;td&gt;&lt;td bgcolor=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=MFD:ifXTable:mib2c&amp;diff=5175&amp;oldid=prev"/>
				<updated>2011-07-13T21:52:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{MFDTutorial}}      == Running mib2c ==      The first step is to generate the code. Create a new directory somewhere and run:      &amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{MFDTutorial}}&lt;br /&gt;
    &lt;br /&gt;
== Running mib2c ==&lt;br /&gt;
    &lt;br /&gt;
The first step is to generate the code. Create a new directory somewhere&lt;br /&gt;
and run:&lt;br /&gt;
    &lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
  $ &amp;lt;font color=blue&amp;gt;mib2c -c mfd-top.m2c ifXTable&amp;lt;/font&amp;gt;&lt;br /&gt;
  writing to ifXTable.h&lt;br /&gt;
  | +-&amp;gt; Processing table ifXTable&lt;br /&gt;
  writing to -&lt;br /&gt;
  There are no defaults for ifXTable. Would you like to&lt;br /&gt;
 &lt;br /&gt;
    1) Accept hard-coded defaults [DEFAULT]&lt;br /&gt;
    2) Set defaults now&lt;br /&gt;
 &lt;br /&gt;
  Select your choice : &amp;lt;font color=blue&amp;gt;2&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; Select &amp;#039;2&amp;#039;, to change some of the defaults.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 This table has writable columns. Do you want to generate&lt;br /&gt;
 code for writeable columns, or restrict the table to read-only?&lt;br /&gt;
 &lt;br /&gt;
   1) generate code with writeable columns [DEFAULT]&lt;br /&gt;
   2) generate code with read-only columns&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;[RETURN]&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt;We will be implementing set support.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Writable tables sometimes have dependencies beteen columns&lt;br /&gt;
 or with other tables. If there are no dependencies in this table, you&lt;br /&gt;
 might want the extra code.&lt;br /&gt;
 &lt;br /&gt;
   1) do not generate dependency code [DEFAULT]&lt;br /&gt;
   2) generate dependency code&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;[RETURN]&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; While the ifXTable is related to the ifTable, the two tables do&lt;br /&gt;
not have any dependencies.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Do you want to use an existing data structure for the USER context?&lt;br /&gt;
 &lt;br /&gt;
   1) No, use netsnmp_data_list * [DEFAULT]&lt;br /&gt;
   2) Yes, use my own structure&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;[RETURN]&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; We don&amp;#039;t need to track anything at the table level, so&lt;br /&gt;
we&amp;#039;ll just accept the default.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Do you want to use an existing data structure for the DATA context?&lt;br /&gt;
 &lt;br /&gt;
   1) No, use generated [DEFAULT]&lt;br /&gt;
   2) Yes, use my own structure&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;2&amp;lt;/font&amp;gt;&lt;br /&gt;
 Enter your DATA context : &amp;lt;font color=blue&amp;gt;netsnmp_interface_entry&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; We&amp;#039;ll be using the net-snmp access routines to get interface&lt;br /&gt;
data, so we&amp;#039;ll just use the netsnmp_interface_entry structure to&lt;br /&gt;
keep that data.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Do you want to allocate your &amp;#039;netsnmp_interface_entry&amp;#039;, or&lt;br /&gt;
 embed it directly?&lt;br /&gt;
 &lt;br /&gt;
   1) directly embed structure [DEFAULT]&lt;br /&gt;
   2) dynamically allocate structure&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;2&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; The net-snmp access routines will provide us with allocated&lt;br /&gt;
structures, so we&amp;#039;ll just use those instead of copying them to an&lt;br /&gt;
embeded structure.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Do you need to initialize elements in your &amp;#039;netsnmp_interface_entry&amp;#039;&lt;br /&gt;
 when a new instance is created?&lt;br /&gt;
 &lt;br /&gt;
   1) no, no initialization needed [DEFAULT]&lt;br /&gt;
   2) yes, initilization is needed&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;[RETURN]&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; We&amp;#039;ll be using the net-snmp data access routines to create&lt;br /&gt;
the netsnmp_interface_entry structures, and those routines will&lt;br /&gt;
take care of initialization for us.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Which method would you like to use to gather data about available rows?&lt;br /&gt;
 &lt;br /&gt;
   1) container-cached : [DEFAULT]  This access method uses a&lt;br /&gt;
      netsnmp_container to keep track of the indexes (and data, usually)&lt;br /&gt;
      for each row. Thi method is best for:&lt;br /&gt;
          - Internal data (maintained by the agent)&lt;br /&gt;
          - External data (maintained by another process) which can be&lt;br /&gt;
            cached (minumum cache time is 1 second)&lt;br /&gt;
      &lt;br /&gt;
   2) unsorted-external : This access method iterates over all of your data&lt;br /&gt;
      to find the row with the appropriate index. This method is best for&lt;br /&gt;
          - External data that cannot be cached.&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;[RETURN]&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; We are going to keep a cache and refresh it periodically.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 When accessing your data, is your data TRANSIENT?&lt;br /&gt;
 &lt;br /&gt;
   1) Yes. My data is TRANSIENT (e.g. a pointer to a static buffer that&lt;br /&gt;
      my be overwritten during a request) and needs to be copied during&lt;br /&gt;
      processing.&lt;br /&gt;
 &lt;br /&gt;
   2) Yes. My data is SEMI-TRANSIENT (e.g. an allocated pointer to a&lt;br /&gt;
      copy of the data).&lt;br /&gt;
 &lt;br /&gt;
   3) No, my data is PERSISTENT (e.g. an allocated pointer to the actual&lt;br /&gt;
      data, which is under the agent&amp;#039;s control)&lt;br /&gt;
 &lt;br /&gt;
 Select your choice [DEFAULT=1] : &amp;lt;font color=blue&amp;gt;2&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; We get a copy of the interface data via the netsnmp data access&lt;br /&gt;
functions.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=20&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;td bgcolor=CCCCCC&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Do you want example code to be generated?&lt;br /&gt;
 &lt;br /&gt;
   1) generate example code [DEFAULT]&lt;br /&gt;
   2) do not generate example code&lt;br /&gt;
 &lt;br /&gt;
 Select your choice : &amp;lt;font color=blue&amp;gt;2&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
Notes:&amp;lt;br&amp;gt; We saw the example code in the last tutorial, so we&amp;#039;ll skip&lt;br /&gt;
it this time.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
As before, when finished, you should have several files:&lt;br /&gt;
    &lt;br /&gt;
* ifXTable.c&lt;br /&gt;
* ifXTable_data_access.c&lt;br /&gt;
* ifXTable_data_access.h&lt;br /&gt;
* ifXTable_data_get.c&lt;br /&gt;
* ifXTable_data_get.h&lt;br /&gt;
* ifXTable_data_set.c&lt;br /&gt;
* ifXTable_data_set.h&lt;br /&gt;
* ifXTable_enums.h&lt;br /&gt;
* ifXTable.h&lt;br /&gt;
* ifXTable_interface.c&lt;br /&gt;
* ifXTable_interface.h&lt;br /&gt;
* ifXTable_Makefile&lt;br /&gt;
* ifXTable_oids.h&lt;br /&gt;
* ifXTable-README-FIRST.txt&lt;br /&gt;
* ifXTable-README-ifXTable.txt&lt;br /&gt;
* ifXTable_subagent.c&lt;br /&gt;
    &lt;br /&gt;
You should read &amp;#039;&amp;#039;ifXTable-README-FIRST.txt&amp;#039;&amp;#039; for a basic overview&lt;br /&gt;
of MFD. The basic steps outlined in&lt;br /&gt;
&amp;#039;&amp;#039;ifXTable-README-ifXTable.txt&amp;#039;&amp;#039; were used to write this tutorial.&lt;/div&gt;</summary>
		<author><name>Wes</name></author>	</entry>

	</feed>