Lines Matching refs:in6_addr
316 struct in6_addr dst;
458 int __ipv6_addr_type(const struct in6_addr *addr);
459 static inline int ipv6_addr_type(const struct in6_addr *addr) in ipv6_addr_type()
464 static inline int ipv6_addr_scope(const struct in6_addr *addr) in ipv6_addr_scope()
474 static inline int ipv6_addr_src_scope(const struct in6_addr *addr) in ipv6_addr_src_scope()
486 static inline __u32 ipv6_iface_scope_id(const struct in6_addr *addr, int iface) in ipv6_iface_scope_id()
491 static inline int ipv6_addr_cmp(const struct in6_addr *a1, const struct in6_addr *a2) in ipv6_addr_cmp()
493 return memcmp(a1, a2, sizeof(struct in6_addr)); in ipv6_addr_cmp()
497 ipv6_masked_addr_cmp(const struct in6_addr *a1, const struct in6_addr *m, in ipv6_masked_addr_cmp()
498 const struct in6_addr *a2) in ipv6_masked_addr_cmp()
515 static inline void ipv6_addr_prefix(struct in6_addr *pfx, in ipv6_addr_prefix()
516 const struct in6_addr *addr, in ipv6_addr_prefix()
529 static inline void ipv6_addr_prefix_copy(struct in6_addr *addr, in ipv6_addr_prefix_copy()
530 const struct in6_addr *pfx, in ipv6_addr_prefix_copy()
564 static inline void ipv6_addr_set(struct in6_addr *addr, in ipv6_addr_set()
572 static inline bool ipv6_addr_equal(const struct in6_addr *a1, in ipv6_addr_equal()
573 const struct in6_addr *a2) in ipv6_addr_equal()
598 static inline bool ipv6_prefix_equal(const struct in6_addr *addr1, in ipv6_prefix_equal()
599 const struct in6_addr *addr2, in ipv6_prefix_equal()
613 static inline bool ipv6_prefix_equal(const struct in6_addr *addr1, in ipv6_prefix_equal()
614 const struct in6_addr *addr2, in ipv6_prefix_equal()
635 static inline bool ipv6_addr_any(const struct in6_addr *a) in ipv6_addr_any()
647 static inline u32 ipv6_addr_hash(const struct in6_addr *a) in ipv6_addr_hash()
661 static inline u32 __ipv6_addr_jhash(const struct in6_addr *a, const u32 initval) in __ipv6_addr_jhash()
667 static inline bool ipv6_addr_loopback(const struct in6_addr *a) in ipv6_addr_loopback()
683 static inline bool ipv6_addr_v4mapped(const struct in6_addr *a) in ipv6_addr_v4mapped()
696 const struct in6_addr *addr6, in ipv6_portaddr_hash()
715 static inline bool ipv6_addr_orchid(const struct in6_addr *a) in ipv6_addr_orchid()
720 static inline bool ipv6_addr_is_multicast(const struct in6_addr *addr) in ipv6_addr_is_multicast()
726 struct in6_addr *v4mapped) in ipv6_addr_set_v4mapped()
797 static inline int ipv6_addr_diff(const struct in6_addr *a1, const struct in6_addr *a2) in ipv6_addr_diff()
799 return __ipv6_addr_diff(a1, a2, sizeof(struct in6_addr)); in ipv6_addr_diff()
803 const struct in6_addr *daddr,
804 const struct in6_addr *saddr);
1017 const struct in6_addr *final_dst);
1019 const struct in6_addr *final_dst,
1043 u8 *proto, struct in6_addr **daddr_p,
1044 struct in6_addr *saddr);
1065 struct in6_addr *fl6_update_dst(struct flowi6 *fl6,
1067 struct in6_addr *orig);
1157 const struct in6_addr *addr);
1159 const struct in6_addr *addr, unsigned int mode);
1161 const struct in6_addr *addr);