buglwIP - A Lightweight TCP/IP stack - Bugs: bug #28817, 3 request.

 
 

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

bug #28817: 3 request.

Submitter:  hanhui <hanhui03>
Submitted:  Fri 05 Feb 2010 05:45:21 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Feature Request Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Tue 09 Feb 2010 12:04:47 PM UTC, comment #3: 

All done.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 05 Feb 2010 01:47:53 PM UTC, comment #2: 

The inet_ntoa_r() function is a thread-safe version of inet_ntoa(). although this function not included in any standard. many OS or TCP/IP stack include this function, you can find it in "FreeBSD Library Functions Manual INET(3)".


hanhui <hanhui03>
Fri 05 Feb 2010 11:29:19 AM UTC, comment #1: 

1: netif_loop_output should increase these counters on the loopif, even if sending loopback packets on another netif. However, to do that, we would need to know which interface is the loopif netif in netif.c. To know that, we would need to integrate the loopif netif mor tightly -> I've added a new task for that: task #10153

2: Done, thanks. I just noticed the snmp counters aren't updated for PPP as well :-(

3:

> char ipaddr_ntoa_r(ip_addr_t addr, char *buf, int max);


Is this kind of function (or inet_ntoa_r rather) defined in a standard somewhere? I'd like to stay close to standards with these kind of functions.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 05 Feb 2010 05:45:21 AM UTC, original submission:  

1: netif loop output does not update the SNMP information in <struct netif> for example loopif.

2: PPP netif does not set the NETIF_FLAG_POINTTOPOINT flag. although this flag is not used now.

3: I recommend add function :
   char *ipaddr_ntoa_r(ip_addr_t *addr, char *buf, int  max);
   in ip_addr.c

Best regards!

hanhui <hanhui03>

 

(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 hanhui03 (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-02-09 goldsimon StatusNeed Info Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2010-02-05 goldsimon StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code