am f4dca7be: Backport (simple cherry-pick) 64b6c43379 to gingerbread.

* commit 'f4dca7be3b7bc181f1534be187428c5a52cb8c6a':
  Backport (simple cherry-pick) 64b6c43379 to gingerbread.
This commit is contained in:
Steinar H. Gunderson 2011-01-17 12:15:44 -08:00 committed by Android Git Automerger
commit 4eb4c932dc

View file

@ -60,6 +60,10 @@
#define IN6_IS_ADDR_SITELOCAL(a) \ #define IN6_IS_ADDR_SITELOCAL(a) \
(((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0)) (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0))
/* RFC 4193. */
#define IN6_IS_ADDR_ULA(a) \
(((a)->s6_addr[0] & 0xfe) == 0xfc)
#define IN6_IS_ADDR_MULTICAST(a) \ #define IN6_IS_ADDR_MULTICAST(a) \
(((__const uint8_t *) (a))[0] == 0xff) (((__const uint8_t *) (a))[0] == 0xff)