Lines Matching refs:b
19 BatmanAdvanced *b; in batadv_init() local
21 b = BATADV(n); in batadv_init()
24 b->aggregation = true; in batadv_init()
25 b->gateway_bandwidth_down = 10000; in batadv_init()
26 b->gateway_bandwidth_up = 2000; in batadv_init()
27 b->bridge_loop_avoidance = true; in batadv_init()
28 b->distributed_arp_table = true; in batadv_init()
29 b->fragmentation = true; in batadv_init()
30 b->hop_penalty = 15; in batadv_init()
31 b->originator_interval = 1000; in batadv_init()
32 b->routing_algorithm = BATADV_ROUTING_ALGORITHM_BATMAN_V; in batadv_init()
118 BatmanAdvanced *b; in netdev_batadv_post_create_message() local
121 assert_se(b = BATADV(netdev)); in netdev_batadv_post_create_message()
127 r = sd_netlink_message_append_u8(message, BATADV_ATTR_GW_MODE, b->gateway_mode); in netdev_batadv_post_create_message()
131 … r = sd_netlink_message_append_u8(message, BATADV_ATTR_AGGREGATED_OGMS_ENABLED, b->aggregation); in netdev_batadv_post_create_message()
135 …r = sd_netlink_message_append_u8(message, BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED, b->bridge_loo… in netdev_batadv_post_create_message()
139 …r = sd_netlink_message_append_u8(message, BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED, b->distribute… in netdev_batadv_post_create_message()
143 … r = sd_netlink_message_append_u8(message, BATADV_ATTR_FRAGMENTATION_ENABLED, b->fragmentation); in netdev_batadv_post_create_message()
147 r = sd_netlink_message_append_u8(message, BATADV_ATTR_HOP_PENALTY, b->hop_penalty); in netdev_batadv_post_create_message()
151 …r = sd_netlink_message_append_u32(message, BATADV_ATTR_ORIG_INTERVAL, DIV_ROUND_UP(b->originator_i… in netdev_batadv_post_create_message()
155 …r = sd_netlink_message_append_u32(message, BATADV_ATTR_GW_BANDWIDTH_DOWN, b->gateway_bandwidth_dow… in netdev_batadv_post_create_message()
159 … r = sd_netlink_message_append_u32(message, BATADV_ATTR_GW_BANDWIDTH_UP, b->gateway_bandwidth_up); in netdev_batadv_post_create_message()
191 BatmanAdvanced *b; in netdev_batadv_fill_message_create() local
197 b = BATADV(netdev); in netdev_batadv_fill_message_create()
198 assert(b); in netdev_batadv_fill_message_create()
200 …_string(m, IFLA_BATADV_ALGO_NAME, batadv_routing_algorithm_kernel_to_string(b->routing_algorithm)); in netdev_batadv_fill_message_create()