Author: tjansen Date: Mon Oct 5 14:52:21 2009 New Revision: 1014 Log: Updated doxygen comments for pisa_ipv{4,6}_cmp(). Modified: trunk/include/global.h Modified: trunk/include/global.h ============================================================================== --- trunk/include/global.h Mon Oct 5 14:44:58 2009 (r1013) +++ trunk/include/global.h Mon Oct 5 14:52:21 2009 (r1014) @@ -299,6 +299,12 @@ memcpy(dst, src, sizeof(struct in6_addr)); } +/** + * Compare two IPv4 addresses + * @param a1 the first IPv4 address + * @param a2 the second IPv4 address + * @return 0 if a1 equals a2 + */ static inline int pisa_ipv4_cmp(const struct in_addr *a1, const struct in_addr *a2) { @@ -307,11 +313,10 @@ } /** - * Compare two IPv6 address - * - * @param a1 the first IPv6 address - * @param a2 the second IPv6 address - * @return 0 if the same, not 0 otherwise + * Compare two IPv6 addresses + * @param a1 the first IPv6 address + * @param a2 the second IPv6 address + * @return 0 if a1 equals a2 */ static inline int pisa_ipv6_cmp(const struct in6_addr *a1, const struct in6_addr *a2)