Lines Matching refs:bits
1206 unsigned int bits; member
1318 unsigned int bits = list[idx].bits; in match_prefix() local
1322 while (bits >= 8) in match_prefix()
1329 bits -= 8; in match_prefix()
1332 if (bits < 8) in match_prefix()
1334 if ((*mask & (0xff00 >> bits)) == (*val & (0xff00 >> bits))) in match_prefix()
1743 if (e1->bits < e2->bits) in prefixcmp()
1745 if (e1->bits == e2->bits) in prefixcmp()
1848 unsigned long int bits; in gaiconf_init() local
1857 bits = 128; in gaiconf_init()
1864 || (bits = strtoul (cp, &endp, 10)) != ULONG_MAX in gaiconf_init()
1867 && bits <= 128 in gaiconf_init()
1882 newp->entry.bits = bits; in gaiconf_init()
1887 *nullbitsp |= bits == 0; in gaiconf_init()
1905 unsigned long int bits; in gaiconf_init() local
1909 bits = 32; in gaiconf_init()
1916 bits = 128; in gaiconf_init()
1919 || (bits = strtoul (cp, &endp, 10)) != ULONG_MAX in gaiconf_init()
1922 && bits >= 96 in gaiconf_init()
1923 && bits <= 128 in gaiconf_init()
1939 newp->entry.netmask = htonl (bits != 96 in gaiconf_init()
1941 << (128 - bits)) in gaiconf_init()
1949 scopelist_nullbits |= bits == 96; in gaiconf_init()
1954 || (bits = strtoul (cp, &endp, 10)) != ULONG_MAX in gaiconf_init()
1957 && bits <= 32 in gaiconf_init()
1963 bits += 96; in gaiconf_init()
2000 new_labels[i].bits = 0; in gaiconf_init()
2039 new_precedence[i].bits = 0; in gaiconf_init()