Brian Armstrong | 24 May 21:48 2016
Picon

[patch #9010] Build unix port under Darwin

URL:
  <http://savannah.nongnu.org/patch/?9010>

                 Summary: Build unix port under Darwin
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: brian_armstrong
            Submitted on: Tue 24 May 2016 07:48:55 PM GMT
                Category: Platform ports
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Ok, I have one more patch of questionable value for lwIP :)

It looks like the unix port for lwIP mostly works on darwin, except for the
lack of CLOCK_MONOTONIC and the ability to use `pthread_condattr_setclock`.
This patch got me running with darwin's `pthread_cond_timedwait_relative_np`.

Cheers

    _______________________________________________________
(Continue reading)

Jan Breuer | 24 May 11:12 2016
Picon

[patch #9007] netif: add additional getters/setters

Follow-up Comment #2, patch #9007 (project lwip):

It was just some terminal/telnet function to show current network
configuration.

I was using direct access to the netif->netmask field but as you told me in
different patch, I should not do that.

netmask field is type ip_addr_t so I use this type. After converting the code
to getters, there ware only ip4_addr_t getter for netmask but there ware
ip_addr_t getters for all other fields.

It was just simplier to define one missing macro and not rewrite entire code
to use ip4_addr_t.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9007>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/
Jan Breuer | 23 May 13:23 2016
Picon

[patch #9007] netif: add additional getters/setters

URL:
  <http://savannah.nongnu.org/patch/?9007>

                 Summary: netif: add additional getters/setters
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jan_breuer
            Submitted on: Mon 23 May 2016 11:23:28 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

In netif.h there are missing some getters and setters.

- netif_ip_addr4 and netif_ip_gw4 are there, but there is no
netif_ip_netmask4.

- there is no setter for ip6_autoconfig_enabled. It is usefull to change this
variable after user configuration so it should have setter

- there is no easy way to add mld MAC filter so netif_mld_mac_filter is
(Continue reading)

Simon Goldschmidt | 23 May 10:10 2016
Picon

[patch #8995] timers: fix wrong timings for !NO_SYS targets

Follow-up Comment #1, patch #8995 (project lwip):

This is the 3rd try to fix this problem (see patches #7855 and #8712). I'd
love to fix this problem for 2.0.0, but I think I need some time to catch up
with the other 2 entries...

I also though of putting the lwIP-internal timers on a "public" array so that
timers could easily implemented externally (which is what patch #8712 is
targeted at, I think)...

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8995>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/
Simon Goldschmidt | 23 May 09:47 2016
Picon

[bug #47867] Incorrect handling of IPv6 addresses reconfiguration after netif down

Update of bug #47867 (project lwip):

                  Status:                    None => Fixed                  
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Done, thanks for the patch

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47867>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/
Dirk Ziegelmeier | 23 May 09:36 2016
Picon

[patch #9001] PPP: Use LWIP_ARRAYSIZE at appropriate places

Update of patch #9001 (project lwip):

                  Status:                    None => Done                   
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Applied by Sylvain

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9001>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/
Brian Armstrong | 21 May 03:19 2016
Picon

[patch #9006] Prefer non-same interfaces in IPv4 routing

URL:
  <http://savannah.nongnu.org/patch/?9006>

                 Summary: Prefer non-same interfaces in IPv4 routing
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: brian_armstrong
            Submitted on: Sat 21 May 2016 01:19:00 AM GMT
                Category: IPv4
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Hi!

I love this project. It's going to be perfect for what I need. I'm writing an
entirely software-based device -- there's no hardware component to my eth
except for a D/A converter and an amp.

I was testing my new device driver in a sort of virtualized way, with two
interfaces added (via netif_add) on the same subnet. I then forward data
between these devices over virtual links. I suspect this a relatively common
(Continue reading)

Andrey Butok | 18 May 09:20 2016
Picon

[bug #47952] ping_recv() does not work with IPv4

URL:
  <http://savannah.nongnu.org/bugs/?47952>

                 Summary: ping_recv() does not work with IPv4
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: butok
            Submitted on: Wed 18 May 2016 07:20:29 AM GMT
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

Hello,

contrib\apps\ping\ping.c
line 168:
    if (from.sin_family == AF_INET) {
        LWIP_DEBUGF( PING_DEBUG, ("ping: invalid sin_family\n"));
      }

(Continue reading)

Brett Price | 17 May 03:20 2016
Picon

Semaphore Interrupts:

Hello,
 
We have been having ARM4 bus fault issues in LWIP 1.4.1 perhaps from a typo in (opt.h). Users believe the semaphore is enable per the text (if set 1) but semaphore is Not enabled in mem.c. The result with debug memory manager we see printf ("mem unused" --- mem.c) then some time later have a reserve memory space bus fault 3, NVIC precise=1, Bfarv=1  perhaps some heap corruption? Set the allow other context to 1 and  no semaphores are used then bus faulting stops and so do any debug printf "mem unused." messages.
 
LWIP dual client pcb's: 1st IP port Http 80/UDP-53 and a 2nd local 100Mbps Telnet client TCP 23 with UDP command port 21. The Systick timer is 120mHz/200 (600KTPS) Service timer interval(10). The heap seems stable with dual TCP clients now that semaphores are disabled, NO_SYS 1, Sys_LightWeight_Prot  1. 
Texas Instrument TM4c1294NCPDTi3 development launch pads.
 
Thanks
 
Brett Price
 

/**

* Set this to 1 if you want to free PBUF_RAM pbufs (or call mem_free()) from

* interrupt context (or another context that doesn't allow waiting for a semaphore).

* If set to (was 1 -- should be 0), mem_malloc will be protected by a semaphore and SYS_ARCH_PROTECT,

* while mem_free will only use SYS_ARCH_PROTECT. mem_malloc SYS_ARCH_UNPROTECTs

* with each loop so that mem_free can run. */

 
#define LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT     1
 
 
 
 
_______________________________________________
lwip-devel mailing list
lwip-devel <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Sylvain Rochet | 14 May 11:20 2016
Picon

savannah issues

Hi,

Just to let you know it looks like there is an issue on savannah, I 
can't update the tracker ("The connection to the server was reset while 
the page was loading.") and some of my mails sent to the lwip-users list 
got lost in the middle of nowhere.

This is probably related to:
  https://savannah.gnu.org/forum/forum.php?forum_id=8542

Sylvain
_______________________________________________
lwip-devel mailing list
lwip-devel <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-devel
abhi | 14 May 20:17 2016
Picon

[bug #47923] on-link prefix cancellation issue

URL:
  <http://savannah.nongnu.org/bugs/?47923>

                 Summary: on-link prefix cancellation issue
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: abhiambure
            Submitted on: Sat 14 May 2016 06:17:37 PM GMT
                Category: IPv6
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.4.1

    _______________________________________________________

Details:

according to RFC 4861 section 6.3.4, routers advertises prefix to cancel a
previous on-link indication by advertising that prefix with the L-bit set and
the Lifetime set to zero. But in LWIP implementation on receipt of such
"on-link cancellation" RA, it sets previously configured ipv6 address(SLAAC)
to invalid state. 

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47923>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

Gmane