Home
last modified time | relevance | path

Searched refs:prefix_length (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtables.c127 rthash(struct in6_addr *dst, int prefix_length) in rthash() argument
132 for (i = 0; prefix_length > 0; prefix_length -= 8, i++) in rthash()
142 rtmask_to_bits(uint_t prefix_length, struct in6_addr *prefix) in rtmask_to_bits() argument
148 for (i = 0; prefix_length >= 8; prefix_length -= 8, i++) in rtmask_to_bits()
150 mask = (mask << (8 - prefix_length)); in rtmask_to_bits()
178 rtlookup(struct in6_addr *dst, int prefix_length) in rtlookup() argument
184 if (net_hashes[prefix_length] == NULL) in rtlookup()
187 hash = rthash(dst, prefix_length); in rtlookup()
189 rh = &net_hashes[prefix_length][hash & ROUTEHASHMASK]; in rtlookup()
195 rt->rt_prefix_length == prefix_length) in rtlookup()
[all …]
/titanic_50/usr/src/cmd/make/bin/
H A Dimplicit.cc1188 int prefix_length; in match_found_with_pattern() local
1197 prefix_length = string.text.p - string.buffer.start; in match_found_with_pattern()
1201 prefix_length -= 2; in match_found_with_pattern()
1203 if (!targ_string.equaln(string.buffer.start, prefix_length)) { in match_found_with_pattern()
1207 prefix_length = prefix->hash.length; in match_found_with_pattern()
1208 if (!targ_string.equaln(&pref_string, prefix_length)) { in match_found_with_pattern()
1239 int percent_length = target->hash.length - prefix_length - suffix_length; in match_found_with_pattern()
1253 targ_string.append_to_str(percent, prefix_length, percent_length); in match_found_with_pattern()
/titanic_50/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c150 uint_t prefix_length, in i_ipadm_rtioctl6() argument
182 if (prefix_length == IPV6_ABITS) { in i_ipadm_rtioctl6()
189 if (plen2mask(prefix_length, AF_INET6, in i_ipadm_rtioctl6()