Lines Matching refs:pow2
10 def feature(name, default, min, max, pow2=None): argument
15 if pow2 == True or (isinstance(pow2, int) and val >= pow2):
31 feature("iface_max_multicast_group_count", default=4, min=1, max=1024, pow2=8)
32 feature("iface_max_sixlowpan_address_context_count", default=4, min=1, max=1024, pow2=8)
33 feature("iface_neighbor_cache_count", default=4, min=1, max=1024, pow2=8)
34 feature("iface_max_route_count", default=2, min=1, max=1024, pow2=8)
35 feature("fragmentation_buffer_size", default=1500, min=256, max=65536, pow2=True)
36 feature("assembler_max_segment_count", default=4, min=1, max=32, pow2=4)
37 feature("reassembly_buffer_size", default=1500, min=256, max=65536, pow2=True)
38 feature("reassembly_buffer_count", default=1, min=1, max=32, pow2=4)
39 feature("dns_max_result_count", default=1, min=1, max=32, pow2=4)
40 feature("dns_max_server_count", default=1, min=1, max=32, pow2=4)
41 feature("dns_max_name_size", default=255, min=64, max=255, pow2=True)