lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8680] Add support for LwIP static route table


From: Pradip De
Subject: [lwip-devel] [patch #8680] Add support for LwIP static route table
Date: Tue, 02 Jun 2015 22:49:07 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36

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

                 Summary: Add support for LwIP static route table
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: pradipde
            Submitted on: Tue 02 Jun 2015 10:49:06 PM GMT
                Category: IPv6
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Static route table management in LwIP.
    
APIs are:
1) s8_t ip6_add_route_entry (struct ip6_prefix *ip6_prefix,
                                             struct netif *netif,
                                             ip6_addr_t *gateway);
    
2) err_t ip6_remove_route_entry (struct ip6_prefix *ip6_prefix);
    
3) s8_t ip6_find_route_entry (ip6_addr_t *ip6_dest_addr);
    
4) struct netif *ip6_static_route(ip6_addr_t *src, ip6_addr_t *dest);
    
5)ip6_addr_t *ip6_get_gateway(struct netif *netif, ip6_addr_t *dest);
    
   -When adding a route entry, if a gateway is passed, then it would be
     added to the default router list with the neighbor cache netif entry
     pointing to the netif passed.
    
   -With this, a prefix match up to a specific prefix byte
     boundary would be made possible while doing a longest prefix match
     upon route lookup.
    
   -APIs 4 and 5 would be used for assigning to LWIP_HOOK_IP6_ROUTE and
     LWIP_HOOK_ETHIP6_GET_GW hooks.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 02 Jun 2015 10:49:06 PM GMT  Name: LwIP-Static-Routing.diff  Size:
17kB   By: pradipde

<http://savannah.nongnu.org/patch/download.php?file_id=34151>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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