Searched refs:fn_bit (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/net/ipv6/
H A Dip6_fib.c130 static __be32 addr_bit_set(const void *token, int fn_bit) addr_bit_set() argument
135 * 1 << ((~fn_bit ^ BITOP_BE32_SWIZZLE) & 0x1f) addr_bit_set()
137 * htonl(1 << ((~fn_bit)&0x1F)) addr_bit_set()
140 return (__force __be32)(1 << ((~fn_bit ^ BITOP_BE32_SWIZZLE) & 0x1f)) & addr_bit_set()
141 addr[fn_bit >> 5]; addr_bit_set()
484 if (plen < fn->fn_bit || fib6_add_1()
485 !ipv6_prefix_equal(&key->addr, addr, fn->fn_bit)) { fib6_add_1()
500 if (plen == fn->fn_bit) { fib6_add_1()
518 dir = addr_bit_set(addr, fn->fn_bit); fib6_add_1()
548 ln->fn_bit = plen; fib6_add_1()
605 in->fn_bit = bit; fib6_add_1()
619 ln->fn_bit = plen; fib6_add_1()
646 ln->fn_bit = plen; fib6_add_1()
1119 dir = addr_bit_set(args->addr, fn->fn_bit); fib6_lookup_1()
1209 if (plen < fn->fn_bit || fib6_locate_1()
1210 !ipv6_prefix_equal(&key->addr, addr, fn->fn_bit)) fib6_locate_1()
1213 if (plen == fn->fn_bit) fib6_locate_1()
1219 if (addr_bit_set(addr, fn->fn_bit)) fib6_locate_1()
1288 RT6_TRACE("fixing tree: plen=%d iter=%d\n", fn->fn_bit, iter); fib6_repair_tree()
/linux-4.4.14/include/net/
H A Dip6_fib.h67 __u16 fn_bit; /* bit key */ member in struct:fib6_node

Completed in 57 milliseconds