Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: rpaulo-netinet-merge-pcb
Revision 1.146.2.3 / (download) - annotate - [select for diffs], Sat Sep 9 02:58:47 2006 UTC (6 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.146.2.2: +12 -13
lines
Diff to previous 1.146.2.2 (colored) next main 1.147 (colored)
sync with head
Revision 1.146.2.2 / (download) - annotate - [select for diffs], Tue Feb 7 04:51:49 2006 UTC (7 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.146.2.1: +21 -25
lines
Diff to previous 1.146.2.1 (colored)
in6pcb -> inpcb.
Revision 1.146.2.1 / (download) - annotate - [select for diffs], Sun Feb 5 03:09:11 2006 UTC (7 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.146: +2 -3
lines
Diff to previous 1.146 (colored)
<netinet6/in6_pcb.h> went away. Bye!
Revision 1.146 / (download) - annotate - [select for diffs], Sat Jan 21 00:15:36 2006 UTC (7 years, 4 months ago) by rpaulo
Branch: MAIN
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.145: +20 -16
lines
Diff to previous 1.145 (colored)
Better support of IPv6 scoped addresses.
- most of the kernel code will not care about the actual encoding of
scope zone IDs and won't touch "s6_addr16[1]" directly.
- similarly, most of the kernel code will not care about link-local
scoped addresses as a special case.
- scope boundary check will be stricter. For example, the current
*BSD code allows a packet with src=::1 and dst=(some global IPv6
address) to be sent outside of the node, if the application do:
s = socket(AF_INET6);
bind(s, "::1");
sendto(s, some_global_IPv6_addr);
This is clearly wrong, since ::1 is only meaningful within a single
node, but the current implementation of the *BSD kernel cannot
reject this attempt.
- and, while there, don't try to remove the ff02::/32 interface route
entry in in6_ifdetach() as it's already gone.
This also includes some level of support for the standard source
address selection algorithm defined in RFC3484, which will be
completed on in the future.
From the KAME project via JINMEI Tatuya.
Approved by core@.