Developer

API Reference

INetwork_GetIPv6PrefixInfo()

Brew Release
Brew MP 1.0.2
See Also
Description
This function returns the information regarding an IPv6 Prefix corresponding to a given address.
Parameters
  • me
    []:
    The interface pointer.
  • pAddr
    []:
    [in] The IPv6 address of interest.
  • pPrefixInfo
    []:
    [out] The information regarding the prefix used to generate the address pointed by pAddr. This struct should be pre-allocated by caller.
Interface
Prototype
   static int INetwork_GetIPv6PrefixInfo(INetwork* me,
                                         INAddr6*  pAddr,
                                         AEEIPv6PrefixInfo*  pPrefixInfo
                                        );
Return
AEE_NET_SUCCESS: Success, where pPrefixInfo holds the prefix information. Note that in case the prefix corresponding to the address does not exist (either was removed or the user supplied an invalid address), the function will return AEE_NET_SUCCESS, but the prefix state will be AEE_IPV6_PREFIX_NOT_EXIST and the prefix length will be 0. Other AEE error code: As appropriate.
Side Effect
None.
Comment
None.
  • Follow