Just some quick answers about what our code would do now...

> when a node A received packet from mobile node B:
> packet will carry home address of B in home address option (destination
> options header, and care-of address in IPv6 source
> - which address should getpeername() return?  home address, or care-of?

returns home address

> - which address should recvfrom() return?

returns home address

> - then, how can we get care-of address of the peer?

receive UDP in raw mode and dig in? :) (however, the raw mode is hard
to apply to TCP...)

> when a mobile node A sends packet to a node B:
> A may want to control the use of mobile-ip6.  examples: (1) if A would like
> to talk to ubiquitous services like DNS, A may want to use care-of address,
> not the home address. (2) IKE (to establish key for mobile-ip6) requires it.
> - how can we avoid use of home address?  1-bit flag in setsockopt?
> - what is the relationship/interaction with IPV6_PKTINFO?

Still open issue for me. Eventually, I too need an answer to
this. HTTP is another protocol where one might want to decide whether
to use care- or home-address.
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to