Searched refs:prefix_length (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | tables.c | 125 rthash(struct in6_addr *dst, int prefix_length) in rthash() argument 130 for (i = 0; prefix_length > 0; prefix_length -= 8, i++) in rthash() 140 rtmask_to_bits(uint_t prefix_length, struct in6_addr *prefix) in rtmask_to_bits() argument 146 for (i = 0; prefix_length >= 8; prefix_length -= 8, i++) in rtmask_to_bits() 148 mask = (mask << (8 - prefix_length)); in rtmask_to_bits() 176 rtlookup(struct in6_addr *dst, int prefix_length) in rtlookup() argument 182 if (net_hashes[prefix_length] == NULL) in rtlookup() 185 hash = rthash(dst, prefix_length); in rtlookup() 187 rh = &net_hashes[prefix_length][hash & ROUTEHASHMASK]; in rtlookup() 193 rt->rt_prefix_length == prefix_length) in rtlookup() [all …]
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | implicit.cc | 1191 int prefix_length; in match_found_with_pattern() local 1200 prefix_length = string.text.p - string.buffer.start; in match_found_with_pattern() 1204 prefix_length -= 2; in match_found_with_pattern() 1206 if (!targ_string.equaln(string.buffer.start, prefix_length)) { in match_found_with_pattern() 1210 prefix_length = prefix->hash.length; in match_found_with_pattern() 1211 if (!targ_string.equaln(&pref_string, prefix_length)) { in match_found_with_pattern() 1242 int percent_length = target->hash.length - prefix_length - suffix_length; in match_found_with_pattern() 1256 targ_string.append_to_str(percent, prefix_length, percent_length); in match_found_with_pattern()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 151 uint_t prefix_length, in i_ipadm_rtioctl6() argument 183 if (prefix_length == IPV6_ABITS) { in i_ipadm_rtioctl6() 190 if (plen2mask(prefix_length, AF_INET6, in i_ipadm_rtioctl6()
|