Lines Matching refs:dst
125 rthash(struct in6_addr *dst, int prefix_length) in rthash() argument
131 val ^= dst->s6_addr[i]; in rthash()
154 rtcreate_prefix(struct in6_addr *p1, struct in6_addr *dst, int bits) in rtcreate_prefix() argument
160 dst->s6_addr[j] = p1->s6_addr[j]; in rtcreate_prefix()
164 dst->s6_addr[j] = p1->s6_addr[j] & mask; in rtcreate_prefix()
169 dst->s6_addr[j] = 0; in rtcreate_prefix()
176 rtlookup(struct in6_addr *dst, int prefix_length) in rtlookup() argument
185 hash = rthash(dst, prefix_length); in rtlookup()
192 if (IN6_ARE_ADDR_EQUAL(&rt->rt_dst, dst) && in rtlookup()
206 rtcmd(uchar_t type, struct in6_addr *dst, struct in6_addr *gateway, in rtcmd() argument
215 rta_dst->sin6_addr = *dst; in rtcmd()
232 rtadd(struct in6_addr *dst, struct in6_addr *gate, int prefix_length, in rtadd() argument
255 rtcreate_prefix(dst, &pdst, prefix_length); in rtadd()