lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] SNMP


From: Jonathan Larmour
Subject: Re: [lwip-users] SNMP
Date: Wed, 03 Oct 2007 10:06:10 +0100
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515)

Nicolas Pinault wrote:
Hi,

In etherntif.c template file, there are the two following lines :
 /* initialize the snmp variables and counters inside the struct netif */
 NETIF_INIT_SNMP(netif, snmp_ifType_ethernet_csmacd, ???);

Can somebody give more explanation on these lines ?

I suggest looking at the macro definition in include/lwip/netif.h:

The first two arguments should remain as they are verbatim, the last one is to be replaced with the link speed in units of bits per second. I'll update the comment in netif.h and ethernetif.c with the units of speed.

Jifl
--
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------      Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]