version 1.1.1.1, 2012/02/21 17:26:11
|
version 1.1.1.2, 2016/11/02 10:09:12
|
Line 41 extern void ripng_rte_send(struct list *ripng_rte_list
|
Line 41 extern void ripng_rte_send(struct list *ripng_rte_list
|
* -1 if A < B |
* -1 if A < B |
**/ |
**/ |
static inline int |
static inline int |
addr6_cmp(struct in6_addr *A, struct in6_addr *B) { | addr6_cmp(struct in6_addr *A, struct in6_addr *B) |
| { |
#ifndef s6_addr32 | |
#if defined(SUNOS_5) | |
/* Some SunOS define s6_addr32 only to kernel */ | |
#define s6_addr32 _S6_un._S6_u32 | |
#else | |
#define s6_addr32 __u6_addr.__u6_addr32 | |
#endif /* SUNOS_5 */ | |
#endif /*s6_addr32*/ | |
| |
#define a(i) A->s6_addr32[i] |
#define a(i) A->s6_addr32[i] |
#define b(i) B->s6_addr32[i] |
#define b(i) B->s6_addr32[i] |
|
|