lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #56925] Functions to obtain effective reachability (AR


From: Simon Arlott
Subject: [lwip-devel] [bug #56925] Functions to obtain effective reachability (ARP or NDP) status of an IP address
Date: Fri, 20 Sep 2019 14:34:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

URL:
  <https://savannah.nongnu.org/bugs/?56925>

                 Summary: Functions to obtain effective reachability (ARP or
NDP) status of an IP address
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: s_a
            Submitted on: Fri 20 Sep 2019 06:34:40 PM UTC
                Category: ARP
                Severity: 3 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.1.1

    _______________________________________________________

Details:

With etharp_find_addr() I can make sure there is a known ARP entry for an IPv4
address before trying to send packets. It's not perfect because it's necessary
to check the IPv4 gateway if the destination is in another network.

There is no direct equivalent for IPv6; nd6_get_next_hop_addr_or_queue()
expects a packet to be queued.

I'd like a function that indicates whether or not a packet could be
immediately sent to a specified IP address without doing ARP or NDP queries.
If it can't then it should perform the required ARP or NDP queries and return
a response indicating that they are in progress. If the destination is outside
the network then the router reachability should automatically be tested
instead.

The purpose of this is to be able to queue an arbitrary quantity of
information until ARP or NDP is successful, instead of sending UDP packets and
relying on the lwIP queue to keep all of them until ARP or NDP is completed
(because the queue size may not be large enough for this).




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?56925>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]