[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Hipsec] draft-ietf-hip-native-api-09-pre
>> Yes I think this HIP_IS_HIT() macro would be helpful.
>
> Ok. Then we'll have one function for testing the local HITs
> and a second one for testing both local and peer HITs. Is this ok or
> should they be unified?
seems like separate functions/macros are OK since sockaddr_is_srcaddr()
attempts to align with inet6_is_srcaddr()
the HIP_IS_HIT() macro I would think of as being much simpler, just
checks for the presence of a HIT prefix similar to the
IN6_IS_ADDR_LINKLOCAL() macro
-Jeff