Source-Changes archive

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

CVS commit: syssrc/sys/netinet



Module Name:    syssrc
Committed By:   itojun
Date:           Wed Jul  4 02:29:59 UTC 2001

Modified Files:
        syssrc/sys/netinet: if_arp.c if_ieee1394arp.c

Log Message:
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.
PR 13311.

caveats/TODOs:
- interface routes ("connected routes" in cisco terminlogy) is tied with the
  primary (1st) IPv4 address on the interface.  should be fixed with updates
  to rt_ifinit().
- source address selection for offlink locations.  1st address tend to be used
  with the current code
  (you can configure it right by setting rt->rt_ifa accordingly).


To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 syssrc/sys/netinet/if_arp.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/netinet/if_ieee1394arp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index