>>> 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.
        ip6mtu_dst will be aligned to whatever look natural to the machine
        based on sockaddr_in6 declaration.

itojun
--------------------------------------------------------------------
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