lwIP - A Lightweight TCP/IP stack - Tasks: task #10153, Integrate loopif into netif.c
You are not allowed to post comments on this tracker with your current authentication level.
task #10153: Integrate loopif into netif.c
Submitter: | Simon Goldschmidt <goldsimon> | ||
Submitted: | Fri 05 Feb 2010 11:28:09 AM UTC | ||
Category: | Network drivers | Should Start On: | Fri 05 Feb 2010 12:00:00 AM UTC |
Should be Finished on: | Fri 05 Feb 2010 12:00:00 AM UTC | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | goldsimon | Percent Complete: | 0% |
Open/Closed: | Closed | Planned Release: | None |
Effort: | 0.00 |
Tue 09 Feb 2010 05:02:34 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Fri 05 Feb 2010 11:28:09 AM UTC, original submission:
netif_init should create the loopif if LWIP_HAVE_LOOPIF==1. That way, we can implement the snmp in/out counters when sending loopback packets on any netif. Also, the platform-initialization code gets simpler if this is done internally by the stack. |
Simon Goldschmidt <goldsimon> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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 |
---|---|---|---|---|---|
2010-02-09 | goldsimon | Status | None | Done | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-caa5.
Corresponding source code
Done:
- Ports don't have to add a loopif netif on their own now any more, this is done in netif_init() if LWIP_HAVE_LOOPIF==1
- If the loopif is enabled, all loopback packets (also the ones sent to a netif's own address) lead to adjusting stats- and snmp-counters on the loopif, not on the actual netif.