buglwIP - A Lightweight TCP/IP stack - Bugs: bug #47417, SNMP interface counters not...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47417: SNMP interface counters not implemented in ethernet netif.

Submitter:  Marco Veeneman <mave>
Submitted:  Tue 15 Mar 2016 01:10:48 PM UTC
   
 
Category:  Network drivers Severity:  3 - Normal
Item Group:  Feature Request Status:  Invalid
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Wed 16 Mar 2016 11:29:24 AM UTC, comment #4: 

I see this issue has been closed. Will this be implemented in the ethernetif.c stub?

Also, I think ethernet_input() should handle ifinucastpkts and ifinnucastpkts instead of the netif driver because from there they will be 'delivered to a higher-layer protocol', as described in the MIB.

In lowpan6.c this is also (partially) done in lowpan6_input() just before passing the pbuf to ip6_input().

Sorry if i'm wrong, but i can't wrap my head around it yet.

Marco Veeneman <mave>
Tue 15 Mar 2016 01:56:24 PM UTC, comment #3: 

That's correct: lowpan6.c is a netif driver.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 15 Mar 2016 01:52:47 PM UTC, comment #2: 

I see. I thought this was missing in ethernet.c because these counters are implemented in lowpan6.c.

Marco Veeneman <mave>
Tue 15 Mar 2016 01:28:23 PM UTC, comment #1: 

These should normally be implemented in the netif driver itself: we don't know which packets actually get sent or rejected by the netif (e.g. delayed TX -> return value of the output function cannot be used).

However, I just saw that this is not implemented yet in the ethernetif.c stub...

Simon Goldschmidt <goldsimon>
Group administrator
Tue 15 Mar 2016 01:10:48 PM UTC, original submission:  

Currently the following SNMP interface counters are not implemented in ethernet.c and etharp.c:
- ifinoctets
- ifinucastpkts
- ifinnucastpkts
- ifindiscards
- ifoutoctets
- ifoutucastpkts
- ifoutnucastpkts
- ifoutdiscards
- ifouterrors

ifinerrors and ifinunknownprotos are already implemented.

Marco Veeneman <mave>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by mave (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-15 goldsimon StatusNone Invalid
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code