[hipl-commit] tla commit: hipl-dev@freelists.org--hipl/hipl--ipv4--2.6

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 14 Apr 2005 13:50:47 +0300

New revisions created in hipl-dev@xxxxxxxxxxxxxxxxxxx/hipl--ipv4--2.6

2005-04-14 GMT  Miika Komu <miika@xxxxxx>       patch-2

      Added a hook to addrconf.c to make IPv4 work.

    The base exchange triggering fails on IPv4 because TCPv6 and UDPv6
    connect functions check the destination address (HIT) before it is
    replaced with a real locator. I modified ipv6_addr_type function in 
    addrdconf.c so that it returns IPV6_ADDR_MAPPED when the given address 
    is a HIT and the corresponding locator is an IPv4 address (disguised as 
    an IPv6 address). This way, the connect() functions trigger v4 connect 
    instead of v6 connect (see e.g. tcp_ipv6.c:tcp_v6_connect).

    modified files:
     linux/net/ipv6/addrconf.c linux/net/ipv6/hip/hip.c

"tla mail-new-revisions"

Other related posts: