[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Hipsec] draft-ietf-hip-native-api-09-pre
Miika Komu wrote:
Hi,
a new preversion is here:
http://www.iki.fi/miika/docs/draft-ietf-hip-native-api-09-pre2.txt
it includes the future proofing changes in the sockaddr_hip structure in
section 4.1. I also wrote the ship_len explicitly to the structure since
we were discussing on size issues.
Section 4.5 contains the sockaddr_is_hit() definition as requested by
Jeff. Please note that it is not a macro due to future proofing.
Both the sockaddr_is_srcaddr() and sockaddr_is_hit() function take care
of the wildcards currently as follows:
The function returns also
returns -1 on a sockaddr_hip structure containing a HIP_ENDPOINT_ANY
or HIP_HIT_ANY_* wildcard.
Jeff and Andrew, please comment on the mailing if you are satisfied with
the changes so that I can publish the final version of the draft.