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.

Submitted by:  hanhui <hanhui03>
Submitted on:  Fri 05 Feb 2010 05:45:21 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Feature RequestStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

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

All done.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 09 Feb 2010 12:04:47 PM UTCgoldsimonStatusNeed Info=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Fri 05 Feb 2010 11:29:19 AM UTCgoldsimonStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1