In your previous mail you wrote:
   
   >>> I've implemented the IPV6_RECVPATHMTU option adopting #3 approach. I
   >>> defined a new structure "ip6_mtuinfo" as ancillary data item for
   >>> IPV6_PATHMTU as follows:
   >>> struct ip6_mtuinfo {
   >>> u_int32_t ip6mtu_mtu;
   >>> struct sockaddr_in6 ip6mtu_dst;
   >>> };
   >> How do you think about alignment?
   >Currently, I only consider 32-bit alignment, but I'm open to hear
   >others' opinions.
   
        as this structure is host-local (will not appear on wire) there's no
        serious issue with alignment, I believe.

=> I disagree, I'd like to be able to defined struct in6_addr as a pair
of 64 bit integers one day (:-)!

        ip6mtu_dst will be aligned to whatever look natural to the machine
        based on sockaddr_in6 declaration.
   
=> please do something similar to in6_pktinfo...

[EMAIL PROTECTED]
--------------------------------------------------------------------
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