tcp/ip4 mapped address: Add tcp6_soport()
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 22 Apr 2009 13:49:40 +0000 (21:49 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 22 Apr 2009 13:59:25 +0000 (21:59 +0800)
commite9f8c2a65277b6b55d46a4e8d2dfe3e2fd3c1f7e
tree71c1a5a6be517a2f42f50acd223bc6810e65d011
parent9276e0f0258fd1eb5c68c99ca3abe35634b085c6
tcp/ip4 mapped address: Add tcp6_soport()

For IPv6 v6 only address or inp's address family is not known yet,
e.g. before connect(2) is called on the INET6 socket, this function
acts exactly the same as cpu0_soport() (the soport function before
this commit).  If a INET6 socket is connected to IPv4 mapped address,
then this function simply falls back to tcp_soport().
sys/conf/files
sys/netinet6/in6_proto.c
sys/netinet6/ip6_demux.c [new file with mode: 0644]
sys/netinet6/tcp6_var.h