/net/batman-adv/ |
D | network-coding.h | 34 int batadv_nc_mesh_init(struct batadv_priv *bat_priv); 35 void batadv_nc_mesh_free(struct batadv_priv *bat_priv); 36 void batadv_nc_update_nc_node(struct batadv_priv *bat_priv, 41 void batadv_nc_purge_orig(struct batadv_priv *bat_priv, 43 bool (*to_purge)(struct batadv_priv *, 45 void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv); 49 void batadv_nc_skb_store_for_decoding(struct batadv_priv *bat_priv, 51 void batadv_nc_skb_store_sniffed_unicast(struct batadv_priv *bat_priv, 54 int batadv_nc_init_debugfs(struct batadv_priv *bat_priv); 67 static inline int batadv_nc_mesh_init(struct batadv_priv *bat_priv) in batadv_nc_mesh_init() [all …]
|
D | distributed-arp-table.h | 39 bool batadv_dat_snoop_outgoing_arp_request(struct batadv_priv *bat_priv, 41 bool batadv_dat_snoop_incoming_arp_request(struct batadv_priv *bat_priv, 43 void batadv_dat_snoop_outgoing_arp_reply(struct batadv_priv *bat_priv, 45 bool batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv, 47 bool batadv_dat_drop_broadcast_packet(struct batadv_priv *bat_priv, 69 batadv_dat_init_own_addr(struct batadv_priv *bat_priv, in batadv_dat_init_own_addr() 80 int batadv_dat_init(struct batadv_priv *bat_priv); 81 void batadv_dat_free(struct batadv_priv *bat_priv); 91 static inline void batadv_dat_inc_counter(struct batadv_priv *bat_priv, in batadv_dat_inc_counter() 113 batadv_dat_snoop_outgoing_arp_request(struct batadv_priv *bat_priv, in batadv_dat_snoop_outgoing_arp_request() [all …]
|
D | bridge_loop_avoidance.h | 49 bool batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb, 51 bool batadv_bla_tx(struct batadv_priv *bat_priv, struct sk_buff *skb, 61 bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, u8 *orig, 63 bool batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv, 65 void batadv_bla_update_orig_address(struct batadv_priv *bat_priv, 69 int batadv_bla_init(struct batadv_priv *bat_priv); 70 void batadv_bla_free(struct batadv_priv *bat_priv); 73 bool batadv_bla_check_claim(struct batadv_priv *bat_priv, u8 *addr, 79 static inline bool batadv_bla_rx(struct batadv_priv *bat_priv, in batadv_bla_rx() 86 static inline bool batadv_bla_tx(struct batadv_priv *bat_priv, in batadv_bla_tx() [all …]
|
D | translation-table.h | 30 int batadv_tt_init(struct batadv_priv *bat_priv); 33 u16 batadv_tt_local_remove(struct batadv_priv *bat_priv, 40 void batadv_tt_global_del_orig(struct batadv_priv *bat_priv, 43 int batadv_tt_global_hash_count(struct batadv_priv *bat_priv, 45 struct batadv_orig_node *batadv_transtable_search(struct batadv_priv *bat_priv, 48 void batadv_tt_free(struct batadv_priv *bat_priv); 49 bool batadv_is_my_client(struct batadv_priv *bat_priv, const u8 *addr, 51 bool batadv_is_ap_isolated(struct batadv_priv *bat_priv, u8 *src, u8 *dst, 53 void batadv_tt_local_commit_changes(struct batadv_priv *bat_priv); 54 bool batadv_tt_global_client_is_roaming(struct batadv_priv *bat_priv, [all …]
|
D | gateway_client.h | 30 void batadv_gw_check_client_stop(struct batadv_priv *bat_priv); 31 void batadv_gw_reselect(struct batadv_priv *bat_priv); 32 void batadv_gw_election(struct batadv_priv *bat_priv); 34 batadv_gw_get_selected_orig(struct batadv_priv *bat_priv); 35 void batadv_gw_check_election(struct batadv_priv *bat_priv, 37 void batadv_gw_node_update(struct batadv_priv *bat_priv, 40 void batadv_gw_node_delete(struct batadv_priv *bat_priv, 42 void batadv_gw_node_free(struct batadv_priv *bat_priv); 45 batadv_gw_get_selected_gw_node(struct batadv_priv *bat_priv); 48 bool batadv_gw_out_of_range(struct batadv_priv *bat_priv, struct sk_buff *skb); [all …]
|
D | tvlv.h | 27 void batadv_tvlv_container_register(struct batadv_priv *bat_priv, 30 u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv, 33 void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv, 36 void batadv_tvlv_container_unregister(struct batadv_priv *bat_priv, 39 void batadv_tvlv_handler_register(struct batadv_priv *bat_priv, 40 void (*optr)(struct batadv_priv *bat_priv, 45 int (*uptr)(struct batadv_priv *bat_priv, 50 void batadv_tvlv_handler_unregister(struct batadv_priv *bat_priv, 52 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv, 57 void batadv_tvlv_unicast_send(struct batadv_priv *bat_priv, u8 *src,
|
D | send.h | 37 struct batadv_priv *bat_priv, 40 void batadv_forw_packet_ogmv1_queue(struct batadv_priv *bat_priv, 55 int batadv_add_bcast_packet_to_list(struct batadv_priv *bat_priv, 60 batadv_purge_outstanding_packets(struct batadv_priv *bat_priv, 62 bool batadv_send_skb_prepare_unicast_4addr(struct batadv_priv *bat_priv, 66 int batadv_send_skb_unicast(struct batadv_priv *bat_priv, 71 int batadv_send_skb_via_tt_generic(struct batadv_priv *bat_priv, 75 int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb, 91 static inline int batadv_send_skb_via_tt(struct batadv_priv *bat_priv, in batadv_send_skb_via_tt() 114 static inline int batadv_send_skb_via_tt_4addr(struct batadv_priv *bat_priv, in batadv_send_skb_via_tt_4addr()
|
D | log.h | 29 int batadv_debug_log_setup(struct batadv_priv *bat_priv); 30 void batadv_debug_log_cleanup(struct batadv_priv *bat_priv); 34 static inline int batadv_debug_log_setup(struct batadv_priv *bat_priv) in batadv_debug_log_setup() 39 static inline void batadv_debug_log_cleanup(struct batadv_priv *bat_priv) in batadv_debug_log_cleanup() 70 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...) 76 struct batadv_priv *__batpriv = (bat_priv); \ 85 struct batadv_priv *bat_priv __always_unused, in _batadv_dbg() 100 struct batadv_priv *_batpriv = netdev_priv(_netdev); \ 107 struct batadv_priv *_batpriv = netdev_priv(_netdev); \
|
D | multicast.c | 71 static void batadv_mcast_start_timer(struct batadv_priv *bat_priv) in batadv_mcast_start_timer() 273 static void batadv_mcast_mla_tt_retract(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_retract() 303 static void batadv_mcast_mla_tt_add(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_add() 335 static bool batadv_mcast_has_bridge(struct batadv_priv *bat_priv) in batadv_mcast_has_bridge() 370 batadv_mcast_querier_log(struct batadv_priv *bat_priv, char *str_proto, in batadv_mcast_querier_log() 417 batadv_mcast_bridge_log(struct batadv_priv *bat_priv, bool bridged, in batadv_mcast_bridge_log() 446 static void batadv_mcast_flags_log(struct batadv_priv *bat_priv, u8 flags) in batadv_mcast_flags_log() 474 static bool batadv_mcast_mla_tvlv_update(struct batadv_priv *bat_priv) in batadv_mcast_mla_tvlv_update() 551 static void __batadv_mcast_mla_update(struct batadv_priv *bat_priv) in __batadv_mcast_mla_update() 589 struct batadv_priv *bat_priv; in batadv_mcast_mla_update() [all …]
|
D | multicast.h | 43 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, 46 void batadv_mcast_init(struct batadv_priv *bat_priv); 50 void batadv_mcast_free(struct batadv_priv *bat_priv); 57 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_mode() 63 static inline int batadv_mcast_init(struct batadv_priv *bat_priv) in batadv_mcast_init() 68 static inline void batadv_mcast_free(struct batadv_priv *bat_priv) in batadv_mcast_free()
|
D | network-coding.c | 87 static void batadv_nc_start_timer(struct batadv_priv *bat_priv) in batadv_nc_start_timer() 98 static void batadv_nc_tvlv_container_update(struct batadv_priv *bat_priv) in batadv_nc_tvlv_container_update() 122 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_nc_status_update() 135 static void batadv_nc_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, in batadv_nc_tvlv_ogm_handler_v1() 152 int batadv_nc_mesh_init(struct batadv_priv *bat_priv) in batadv_nc_mesh_init() 191 void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv) in batadv_nc_init_bat_priv() 284 static bool batadv_nc_to_purge_nc_node(struct batadv_priv *bat_priv, in batadv_nc_to_purge_nc_node() 300 static bool batadv_nc_to_purge_nc_path_coding(struct batadv_priv *bat_priv, in batadv_nc_to_purge_nc_path_coding() 320 static bool batadv_nc_to_purge_nc_path_decoding(struct batadv_priv *bat_priv, in batadv_nc_to_purge_nc_path_decoding() 345 batadv_nc_purge_orig_nc_nodes(struct batadv_priv *bat_priv, in batadv_nc_purge_orig_nc_nodes() [all …]
|
D | tvlv.c | 77 batadv_tvlv_handler_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_handler_get() 136 batadv_tvlv_container_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_container_get() 167 static u16 batadv_tvlv_container_list_size(struct batadv_priv *bat_priv) in batadv_tvlv_container_list_size() 191 static void batadv_tvlv_container_remove(struct batadv_priv *bat_priv, in batadv_tvlv_container_remove() 213 void batadv_tvlv_container_unregister(struct batadv_priv *bat_priv, in batadv_tvlv_container_unregister() 236 void batadv_tvlv_container_register(struct batadv_priv *bat_priv, in batadv_tvlv_container_register() 316 u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv, in batadv_tvlv_container_ogm_append() 370 static int batadv_tvlv_call_handler(struct batadv_priv *bat_priv, in batadv_tvlv_call_handler() 423 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv, in batadv_tvlv_containers_process() 483 void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv, in batadv_tvlv_ogm_receive() [all …]
|
D | types.h | 358 struct batadv_priv *bat_priv; 930 struct batadv_priv *bat_priv; 980 struct batadv_priv *bat_priv; 1061 struct batadv_priv { struct 1144 struct batadv_priv *bat_priv; argument 1183 struct batadv_priv *bat_priv; 1469 void (*print)(struct batadv_priv *priv, struct seq_file *seq); 1472 struct batadv_priv *priv, 1494 void (*print)(struct batadv_priv *priv, struct seq_file *seq, 1498 struct batadv_priv *priv, [all …]
|
D | distributed-arp-table.c | 61 static void batadv_dat_start_timer(struct batadv_priv *bat_priv) in batadv_dat_start_timer() 115 static void __batadv_dat_purge(struct batadv_priv *bat_priv, in __batadv_dat_purge() 156 struct batadv_priv *bat_priv; in batadv_dat_purge() 160 bat_priv = container_of(priv_dat, struct batadv_priv, dat); in batadv_dat_purge() 281 batadv_dat_entry_hash_find(struct batadv_priv *bat_priv, __be32 ip, in batadv_dat_entry_hash_find() 321 static void batadv_dat_entry_add(struct batadv_priv *bat_priv, __be32 ip, in batadv_dat_entry_add() 378 static void batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_dbg_arp() 445 static void batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_dbg_arp() 514 static void batadv_choose_next_candidate(struct batadv_priv *bat_priv, in batadv_choose_next_candidate() 584 batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst, in batadv_dat_select_candidates() [all …]
|
D | translation-table.c | 76 static void batadv_send_roam_adv(struct batadv_priv *bat_priv, u8 *client, 82 static void batadv_tt_global_del(struct batadv_priv *bat_priv, 182 batadv_tt_local_hash_find(struct batadv_priv *bat_priv, const u8 *addr, in batadv_tt_local_hash_find() 207 batadv_tt_global_hash_find(struct batadv_priv *bat_priv, const u8 *addr, in batadv_tt_global_hash_find() 317 int batadv_tt_global_hash_count(struct batadv_priv *bat_priv, in batadv_tt_global_hash_count() 340 static void batadv_tt_local_size_mod(struct batadv_priv *bat_priv, in batadv_tt_local_size_mod() 360 static void batadv_tt_local_size_inc(struct batadv_priv *bat_priv, in batadv_tt_local_size_inc() 372 static void batadv_tt_local_size_dec(struct batadv_priv *bat_priv, in batadv_tt_local_size_dec() 476 static void batadv_tt_local_event(struct batadv_priv *bat_priv, in batadv_tt_local_event() 574 static int batadv_tt_local_table_transmit_size(struct batadv_priv *bat_priv) in batadv_tt_local_table_transmit_size() [all …]
|
D | bat_v.c | 57 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_activate() 110 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_update_mac() 188 static void batadv_v_neigh_print(struct batadv_priv *bat_priv, in batadv_v_neigh_print() 276 struct batadv_priv *bat_priv, in batadv_v_neigh_dump_hardif() 308 struct batadv_priv *bat_priv, in batadv_v_neigh_dump() 356 static void batadv_v_orig_print(struct batadv_priv *bat_priv, in batadv_v_orig_print() 434 struct batadv_priv *bat_priv, in batadv_v_orig_dump_subentry() 501 struct batadv_priv *bat_priv, in batadv_v_orig_dump_entry() 554 struct batadv_priv *bat_priv, in batadv_v_orig_dump_bucket() 589 struct batadv_priv *bat_priv, in batadv_v_orig_dump() [all …]
|
D | bat_v_ogm.c | 64 struct batadv_orig_node *batadv_v_ogm_orig_get(struct batadv_priv *bat_priv, in batadv_v_ogm_orig_get() 96 static void batadv_v_ogm_start_timer(struct batadv_priv *bat_priv) in batadv_v_ogm_start_timer() 119 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_send_to_if() 135 static void batadv_v_ogm_send_softif(struct batadv_priv *bat_priv) in batadv_v_ogm_send_softif() 243 struct batadv_priv *bat_priv; in batadv_v_ogm_send() 246 bat_priv = container_of(bat_v, struct batadv_priv, bat_v); in batadv_v_ogm_send() 263 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_iface_enable() 276 struct batadv_priv *bat_priv = netdev_priv(primary_iface->soft_iface); in batadv_v_ogm_primary_iface_set() 311 static u32 batadv_v_forward_penalty(struct batadv_priv *bat_priv, in batadv_v_forward_penalty() 349 static void batadv_v_ogm_forward(struct batadv_priv *bat_priv, in batadv_v_ogm_forward() [all …]
|
D | bat_v.h | 27 int batadv_v_mesh_init(struct batadv_priv *bat_priv); 28 void batadv_v_mesh_free(struct batadv_priv *bat_priv); 41 static inline int batadv_v_mesh_init(struct batadv_priv *bat_priv) in batadv_v_mesh_init() 46 static inline void batadv_v_mesh_free(struct batadv_priv *bat_priv) in batadv_v_mesh_free()
|
D | gateway_client.c | 96 batadv_gw_get_selected_gw_node(struct batadv_priv *bat_priv) in batadv_gw_get_selected_gw_node() 114 batadv_gw_get_selected_orig(struct batadv_priv *bat_priv) in batadv_gw_get_selected_orig() 139 static void batadv_gw_select(struct batadv_priv *bat_priv, in batadv_gw_select() 169 void batadv_gw_reselect(struct batadv_priv *bat_priv) in batadv_gw_reselect() 182 void batadv_gw_check_client_stop(struct batadv_priv *bat_priv) in batadv_gw_check_client_stop() 206 void batadv_gw_election(struct batadv_priv *bat_priv) in batadv_gw_election() 294 void batadv_gw_check_election(struct batadv_priv *bat_priv, in batadv_gw_check_election() 333 static void batadv_gw_node_add(struct batadv_priv *bat_priv, in batadv_gw_node_add() 377 struct batadv_gw_node *batadv_gw_node_get(struct batadv_priv *bat_priv, in batadv_gw_node_get() 406 void batadv_gw_node_update(struct batadv_priv *bat_priv, in batadv_gw_node_update() [all …]
|
D | sysfs.c | 58 static struct batadv_priv *batadv_kobj_to_batpriv(struct kobject *obj) in batadv_kobj_to_batpriv() 71 static struct batadv_priv *batadv_vlan_kobj_to_batpriv(struct kobject *obj) in batadv_vlan_kobj_to_batpriv() 93 batadv_kobj_to_vlan(struct batadv_priv *bat_priv, struct kobject *obj) in batadv_kobj_to_vlan() 153 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 163 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); \ 185 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 197 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); \ 216 struct batadv_priv *bat_priv = batadv_vlan_kobj_to_batpriv(kobj);\ 231 struct batadv_priv *bat_priv = batadv_vlan_kobj_to_batpriv(kobj);\ 422 struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); in batadv_show_bat_algo() [all …]
|
D | originator.h | 39 int batadv_originator_init(struct batadv_priv *bat_priv); 40 void batadv_originator_free(struct batadv_priv *bat_priv); 41 void batadv_purge_orig_ref(struct batadv_priv *bat_priv); 43 struct batadv_orig_node *batadv_orig_node_new(struct batadv_priv *bat_priv, 104 batadv_orig_hash_find(struct batadv_priv *bat_priv, const void *data) in batadv_orig_hash_find()
|
D | bridge_loop_avoidance.c | 68 batadv_bla_send_announce(struct batadv_priv *bat_priv, 224 batadv_claim_hash_find(struct batadv_priv *bat_priv, in batadv_claim_hash_find() 264 batadv_backbone_hash_find(struct batadv_priv *bat_priv, u8 *addr, in batadv_backbone_hash_find() 346 static void batadv_bla_send_claim(struct batadv_priv *bat_priv, u8 *mac, in batadv_bla_send_claim() 469 struct batadv_priv *bat_priv; in batadv_bla_loopdetect_report() 499 batadv_bla_get_backbone_gw(struct batadv_priv *bat_priv, u8 *orig, in batadv_bla_get_backbone_gw() 572 batadv_bla_update_own_backbone_gw(struct batadv_priv *bat_priv, in batadv_bla_update_own_backbone_gw() 597 static void batadv_bla_answer_request(struct batadv_priv *bat_priv, in batadv_bla_answer_request() 670 static void batadv_bla_send_announce(struct batadv_priv *bat_priv, in batadv_bla_send_announce() 693 static void batadv_bla_add_claim(struct batadv_priv *bat_priv, in batadv_bla_add_claim() [all …]
|
D | soft-interface.c | 105 static u64 batadv_sum_counter(struct batadv_priv *bat_priv, size_t idx) in batadv_sum_counter() 120 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_stats() 133 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_set_mac_addr() 187 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_tx() 417 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_rx() 540 struct batadv_softif_vlan *batadv_softif_vlan_get(struct batadv_priv *bat_priv, in batadv_softif_vlan_get() 568 int batadv_softif_create_vlan(struct batadv_priv *bat_priv, unsigned short vid) in batadv_softif_create_vlan() 629 static void batadv_softif_destroy_vlan(struct batadv_priv *bat_priv, in batadv_softif_destroy_vlan() 656 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_add_vid() 715 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_kill_vid() [all …]
|
D | send.c | 78 struct batadv_priv *bat_priv; in batadv_send_skb_packet() 174 struct batadv_priv *bat_priv = orig_node->bat_priv; in batadv_send_skb_to_orig() 276 bool batadv_send_skb_prepare_unicast_4addr(struct batadv_priv *bat_priv, in batadv_send_skb_prepare_unicast_4addr() 326 int batadv_send_skb_unicast(struct batadv_priv *bat_priv, in batadv_send_skb_unicast() 398 int batadv_send_skb_via_tt_generic(struct batadv_priv *bat_priv, in batadv_send_skb_via_tt_generic() 438 int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_send_skb_via_gw() 497 struct batadv_priv *bat_priv, in batadv_forw_packet_alloc() 706 batadv_forw_packet_bcast_queue(struct batadv_priv *bat_priv, in batadv_forw_packet_bcast_queue() 724 void batadv_forw_packet_ogmv1_queue(struct batadv_priv *bat_priv, in batadv_forw_packet_ogmv1_queue() 747 int batadv_add_bcast_packet_to_list(struct batadv_priv *bat_priv, in batadv_add_bcast_packet_to_list() [all …]
|
D | tp_meter.h | 28 void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst, 30 void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst, 32 void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb);
|