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.

Submitted by:  Marco Veeneman <mave>
Submitted on:  Tue 15 Mar 2016 01:10:48 PM UTC  
 
Category: Network driversSeverity: 3 - Normal
Item Group: Feature RequestStatus: Invalid
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Mar 2016 01:56:24 PM UTCgoldsimonStatusNone=>Invalid
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1