Permalink
Commits on Jul 22, 2001
  1. rename function: rn_mpath_conflict() -> rt_mpath_conflict(), as it is

    route.c layer, not radix.c layer.
    itojun committed Jul 22, 2001
  2. typo in comment

    itojun committed Jul 22, 2001
  3. * sys/net/radix_mpath.c: (netbsd, RADIX_MPATH) reject RTM_ADD of

      conflicting entries, where all key/mask/gw are the same.
    itojun committed Jul 22, 2001
  4. fix timeval_sub. tv_u?sec is signed, so it is safe to just subtract and

    then adjust. (why use %lu on printing?  any particular reason?)
    itojun committed Jul 22, 2001
  5. make in_{add,scrub}prefix static.

    itojun committed Jul 22, 2001
  6. ditto (IFA_ROUTE fix for p2p)

    itojun committed Jul 22, 2001
  7. * netbsd/sys/netinet/in.c: improve IFA_ROUTE management, to make sure

      multiple interface addresses with the same prefix (10.0.0.1/24 and
      10.0.0.2/24) works right.  i bothered as it is mandatory with
      RADIX_MPATH environment, and netbsd-current is moving toward this
      direction.  netbsd only.
      - on interface address addition, check if there's the same prefix
        already installed, and if so, don't install another one
      - on removal, check if there's other interface address which has the
        same prefix, and if so, move IFA_ROUTE to him
    itojun committed Jul 22, 2001
  8. improve IFA_ROUTE management, so that:

    - on insertion check if there's the same prefix already installed, and
      if so, don't install another one
    - on removal check if there's other interface address which has the same
      prefix, and if so, move IFA_ROUTE to him
    itojun committed Jul 22, 2001
  9. duplicated comment

    itojun committed Jul 22, 2001
  10. do not install interface default route, if the default router list is…

    … filled.
    
    from jinmei
    itojun committed Jul 22, 2001
  11. English grammar in a comment line.

    jinmei committed Jul 22, 2001
Commits on Jul 21, 2001
  1. multiple interface address does not work well with RADIX_MPATH, so add

    it to the issues (should fix in_ifinit following IPv6 counterpart)
    itojun committed Jul 21, 2001
  2. missing \n in log() call

    itojun committed Jul 21, 2001
  3. missing \n in log

    itojun committed Jul 21, 2001
  4. better support for multiple IPv4 addresses on a single interface.

    - consider non-primary (2nd and beyond) IPv4 address as "local", and prevent
      outgoing ARP.
    - for routing entries generated by ARP, make sure to set rt->rt_ifa equal to
      rt_key, to help IPv4 source address selection for traffic to myself.
    NetBSD PR 13311.  sync with netbsd-current
    itojun committed Jul 21, 2001
  5. again. test before commit >me

    itojun committed Jul 21, 2001
  6. repair genmask validation. another question is, is the check really

    necessary (DIAGNOSTIC?)
    itojun committed Jul 21, 2001
  7. fix genmask (my bad)

    itojun committed Jul 21, 2001
  8. fix RTAX_GENMASK route insertion. the code seems to be buggy since 4.…

    …3 -> 4.4
    
    sockaddr transition.  freebsd3 fixes it, but the code was never integrated
    to other *BSDs (ah, waste of human resources again...)
    itojun committed Jul 21, 2001
  9. fix the behavior in the following scneario, by remembering which ifa we

    have used for last-resort default route:
    - last-resort default route is installed baesed on ifaddr *ifa
    - the ifaddr is removed
    - we try to remove last-resort default, but we can't
    itojun committed Jul 21, 2001
  10. cosmetic

    itojun committed Jul 21, 2001
  11. more comment

    itojun committed Jul 21, 2001
  12. sort-of duplicated comment in defrouter_select

    itojun committed Jul 21, 2001
  13. add missing splx. make sure to remove last-resort default route if

    there's default route based on default router list.
    itojun committed Jul 21, 2001
  14. comment

    itojun committed Jul 21, 2001
  15. shouldn't control use of printf() by DIAGNOSTIC.

    itojun committed Jul 21, 2001
  16. more cleanup in defrouter_select

    itojun committed Jul 21, 2001
  17. cleanup an obsoleted fragment; removed old source address selection

    rule for NS (which had already been disalbed by '#if 0')
    jinmei committed Jul 21, 2001