第十二章 IPv4与IPv6的互操作性:
#include <netinet/in.h>
int IN6_IS_ADDR_UNSPECIFIED(const struct in6_addr * aptr);
int IN6_IS_ADDR_LOOPBACK(const struct in6_addr * aptr);
int IN6_IS_ADDR_MULTICAST(const struct in6_addr * aptr);
int IN6_IS_ADDR_LINKLOCAL(const struct in6_addr * aptr);
int IN6_IS_ADDR_SITELOCAL(const struct in6_addr * aptr);
int IN6_IS_ADDR_V4MAPPED(const struct in6_addr * aptr);
int IN6_IS_ADDR_V4COMPAT(const struct in6_addr * aptr);
int IN6_IS_ADDR_NODELOCAL(const struct in6_addr * aptr);
int IN6_IS_ADDR_LINKLOCAL(const struct in6_addr * aptr);
int IN6_IS_ADDR_SITELOCAL(const struct in6_addr * aptr);
int IN6_IS_ADDR_ORGLOCAL(const struct in6_addr * aptr);
int IN6_IS_ADDR_GLOBAL(const struct in6_addr * aptr);

本文详细介绍了在IPv4与IPv6环境中实现互操作性的关键函数和概念,包括地址类型检查函数如IN6_IS_ADDR_系列,以及它们在实际应用中的作用。
880

被折叠的 条评论
为什么被折叠?



