/linux-6.12.1/net/batman-adv/ |
D | distributed-arp-table.h | 27 bool batadv_dat_snoop_outgoing_arp_request(struct batadv_priv *bat_priv, 29 bool batadv_dat_snoop_incoming_arp_request(struct batadv_priv *bat_priv, 31 void batadv_dat_snoop_outgoing_arp_reply(struct batadv_priv *bat_priv, 33 bool batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv, 35 void batadv_dat_snoop_outgoing_dhcp_ack(struct batadv_priv *bat_priv, 39 void batadv_dat_snoop_incoming_dhcp_ack(struct batadv_priv *bat_priv, 41 bool batadv_dat_drop_broadcast_packet(struct batadv_priv *bat_priv, 63 batadv_dat_init_own_addr(struct batadv_priv *bat_priv, in batadv_dat_init_own_addr() 74 int batadv_dat_init(struct batadv_priv *bat_priv); 75 void batadv_dat_free(struct batadv_priv *bat_priv); [all …]
|
D | network-coding.h | 21 int batadv_nc_mesh_init(struct batadv_priv *bat_priv); 22 void batadv_nc_mesh_free(struct batadv_priv *bat_priv); 23 void batadv_nc_update_nc_node(struct batadv_priv *bat_priv, 28 void batadv_nc_purge_orig(struct batadv_priv *bat_priv, 30 bool (*to_purge)(struct batadv_priv *, 32 void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv); 36 void batadv_nc_skb_store_for_decoding(struct batadv_priv *bat_priv, 38 void batadv_nc_skb_store_sniffed_unicast(struct batadv_priv *bat_priv, 52 static inline int batadv_nc_mesh_init(struct batadv_priv *bat_priv) in batadv_nc_mesh_init() 57 static inline void batadv_nc_mesh_free(struct batadv_priv *bat_priv) in batadv_nc_mesh_free() [all …]
|
D | bridge_loop_avoidance.h | 36 bool batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb, 38 bool batadv_bla_tx(struct batadv_priv *bat_priv, struct sk_buff *skb, 45 bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, u8 *orig, 47 bool batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv, 49 void batadv_bla_update_orig_address(struct batadv_priv *bat_priv, 53 int batadv_bla_init(struct batadv_priv *bat_priv); 54 void batadv_bla_free(struct batadv_priv *bat_priv); 56 bool batadv_bla_check_claim(struct batadv_priv *bat_priv, u8 *addr, 62 static inline bool batadv_bla_rx(struct batadv_priv *bat_priv, in batadv_bla_rx() 69 static inline bool batadv_bla_tx(struct batadv_priv *bat_priv, in batadv_bla_tx() [all …]
|
D | multicast.h | 45 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, 48 int batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, 51 void batadv_mcast_init(struct batadv_priv *bat_priv); 54 struct batadv_priv *bat_priv); 58 void batadv_mcast_free(struct batadv_priv *bat_priv); 64 int batadv_mcast_forw_tracker_tvlv_handler(struct batadv_priv *bat_priv, 69 bool batadv_mcast_forw_push(struct batadv_priv *bat_priv, struct sk_buff *skb, 72 int batadv_mcast_forw_mcsend(struct batadv_priv *bat_priv, struct sk_buff *skb); 77 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_mode() 84 batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_send() [all …]
|
D | translation-table.h | 18 int batadv_tt_init(struct batadv_priv *bat_priv); 21 u16 batadv_tt_local_remove(struct batadv_priv *bat_priv, 26 void batadv_tt_global_del_orig(struct batadv_priv *bat_priv, 30 batadv_tt_global_hash_find(struct batadv_priv *bat_priv, const u8 *addr, 33 int batadv_tt_global_hash_count(struct batadv_priv *bat_priv, 35 struct batadv_orig_node *batadv_transtable_search(struct batadv_priv *bat_priv, 38 void batadv_tt_free(struct batadv_priv *bat_priv); 39 bool batadv_is_my_client(struct batadv_priv *bat_priv, const u8 *addr, 41 bool batadv_is_ap_isolated(struct batadv_priv *bat_priv, u8 *src, u8 *dst, 43 void batadv_tt_local_commit_changes(struct batadv_priv *bat_priv); [all …]
|
D | gateway_client.h | 18 void batadv_gw_check_client_stop(struct batadv_priv *bat_priv); 19 void batadv_gw_reselect(struct batadv_priv *bat_priv); 20 void batadv_gw_election(struct batadv_priv *bat_priv); 22 batadv_gw_get_selected_orig(struct batadv_priv *bat_priv); 23 void batadv_gw_check_election(struct batadv_priv *bat_priv, 25 void batadv_gw_node_update(struct batadv_priv *bat_priv, 28 void batadv_gw_node_delete(struct batadv_priv *bat_priv, 30 void batadv_gw_node_free(struct batadv_priv *bat_priv); 33 batadv_gw_get_selected_gw_node(struct batadv_priv *bat_priv); 35 bool batadv_gw_out_of_range(struct batadv_priv *bat_priv, struct sk_buff *skb); [all …]
|
D | tvlv.h | 16 void batadv_tvlv_container_register(struct batadv_priv *bat_priv, 19 u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv, 22 void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv, 25 void batadv_tvlv_container_unregister(struct batadv_priv *bat_priv, 28 void batadv_tvlv_handler_register(struct batadv_priv *bat_priv, 29 void (*optr)(struct batadv_priv *bat_priv, 34 int (*uptr)(struct batadv_priv *bat_priv, 38 int (*mptr)(struct batadv_priv *bat_priv, 41 void batadv_tvlv_handler_unregister(struct batadv_priv *bat_priv, 43 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv, [all …]
|
D | send.h | 24 struct batadv_priv *bat_priv, 27 void batadv_forw_packet_ogmv1_queue(struct batadv_priv *bat_priv, 42 int batadv_forw_bcast_packet(struct batadv_priv *bat_priv, 46 void batadv_send_bcast_packet(struct batadv_priv *bat_priv, 51 batadv_purge_outstanding_packets(struct batadv_priv *bat_priv, 53 bool batadv_send_skb_prepare_unicast_4addr(struct batadv_priv *bat_priv, 57 int batadv_send_skb_unicast(struct batadv_priv *bat_priv, 62 int batadv_send_skb_via_tt_generic(struct batadv_priv *bat_priv, 66 int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb, 82 static inline int batadv_send_skb_via_tt(struct batadv_priv *bat_priv, in batadv_send_skb_via_tt() [all …]
|
D | log.h | 19 int batadv_debug_log_setup(struct batadv_priv *bat_priv); 20 void batadv_debug_log_cleanup(struct batadv_priv *bat_priv); 24 static inline int batadv_debug_log_setup(struct batadv_priv *bat_priv) in batadv_debug_log_setup() 29 static inline void batadv_debug_log_cleanup(struct batadv_priv *bat_priv) in batadv_debug_log_cleanup() 68 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...) 81 struct batadv_priv *__batpriv = (bat_priv); \ 90 struct batadv_priv *bat_priv __always_unused, in _batadv_dbg() 124 struct batadv_priv *_batpriv = netdev_priv(_netdev); \ 138 struct batadv_priv *_batpriv = netdev_priv(_netdev); \
|
D | multicast.c | 69 static void batadv_mcast_start_timer(struct batadv_priv *bat_priv) in batadv_mcast_start_timer() 165 static u8 batadv_mcast_mla_rtr_flags_softif_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_softif_get() 195 static u8 batadv_mcast_mla_rtr_flags_bridge_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_bridge_get() 227 static u8 batadv_mcast_mla_rtr_flags_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_get() 247 static u8 batadv_mcast_mla_forw_flags_get(struct batadv_priv *bat_priv) in batadv_mcast_mla_forw_flags_get() 277 batadv_mcast_mla_flags_get(struct batadv_priv *bat_priv) in batadv_mcast_mla_flags_get() 684 static void batadv_mcast_mla_tt_retract(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_retract() 714 static void batadv_mcast_mla_tt_add(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_add() 761 batadv_mcast_querier_log(struct batadv_priv *bat_priv, char *str_proto, in batadv_mcast_querier_log() 807 batadv_mcast_bridge_log(struct batadv_priv *bat_priv, in batadv_mcast_bridge_log() [all …]
|
D | network-coding.c | 70 static void batadv_nc_start_timer(struct batadv_priv *bat_priv) in batadv_nc_start_timer() 81 static void batadv_nc_tvlv_container_update(struct batadv_priv *bat_priv) in batadv_nc_tvlv_container_update() 105 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_nc_status_update() 118 static void batadv_nc_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, in batadv_nc_tvlv_ogm_handler_v1() 135 int batadv_nc_mesh_init(struct batadv_priv *bat_priv) in batadv_nc_mesh_init() 176 void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv) in batadv_nc_init_bat_priv() 275 static bool batadv_nc_to_purge_nc_node(struct batadv_priv *bat_priv, in batadv_nc_to_purge_nc_node() 291 static bool batadv_nc_to_purge_nc_path_coding(struct batadv_priv *bat_priv, in batadv_nc_to_purge_nc_path_coding() 312 static bool batadv_nc_to_purge_nc_path_decoding(struct batadv_priv *bat_priv, in batadv_nc_to_purge_nc_path_decoding() 337 batadv_nc_purge_orig_nc_nodes(struct batadv_priv *bat_priv, in batadv_nc_purge_orig_nc_nodes() [all …]
|
D | tvlv.c | 69 batadv_tvlv_handler_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_handler_get() 131 batadv_tvlv_container_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_container_get() 162 static u16 batadv_tvlv_container_list_size(struct batadv_priv *bat_priv) in batadv_tvlv_container_list_size() 186 static void batadv_tvlv_container_remove(struct batadv_priv *bat_priv, in batadv_tvlv_container_remove() 208 void batadv_tvlv_container_unregister(struct batadv_priv *bat_priv, in batadv_tvlv_container_unregister() 231 void batadv_tvlv_container_register(struct batadv_priv *bat_priv, in batadv_tvlv_container_register() 311 u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv, in batadv_tvlv_container_ogm_append() 364 static int batadv_tvlv_call_handler(struct batadv_priv *bat_priv, in batadv_tvlv_call_handler() 434 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv, in batadv_tvlv_containers_process() 497 void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv, in batadv_tvlv_ogm_receive() [all …]
|
D | bat_v.h | 16 int batadv_v_mesh_init(struct batadv_priv *bat_priv); 17 void batadv_v_mesh_free(struct batadv_priv *bat_priv); 30 static inline int batadv_v_mesh_init(struct batadv_priv *bat_priv) in batadv_v_mesh_init() 35 static inline void batadv_v_mesh_free(struct batadv_priv *bat_priv) in batadv_v_mesh_free()
|
D | originator.h | 21 int batadv_originator_init(struct batadv_priv *bat_priv); 22 void batadv_originator_free(struct batadv_priv *bat_priv); 23 void batadv_purge_orig_ref(struct batadv_priv *bat_priv); 25 struct batadv_orig_node *batadv_orig_node_new(struct batadv_priv *bat_priv, 40 batadv_orig_to_router(struct batadv_priv *bat_priv, u8 *orig_addr, 86 batadv_orig_hash_find(struct batadv_priv *bat_priv, const void *data);
|
D | translation-table.c | 65 static void batadv_send_roam_adv(struct batadv_priv *bat_priv, u8 *client, 71 static void batadv_tt_global_del(struct batadv_priv *bat_priv, 171 batadv_tt_local_hash_find(struct batadv_priv *bat_priv, const u8 *addr, in batadv_tt_local_hash_find() 196 batadv_tt_global_hash_find(struct batadv_priv *bat_priv, const u8 *addr, in batadv_tt_global_hash_find() 297 int batadv_tt_global_hash_count(struct batadv_priv *bat_priv, in batadv_tt_global_hash_count() 320 static void batadv_tt_local_size_mod(struct batadv_priv *bat_priv, in batadv_tt_local_size_mod() 340 static void batadv_tt_local_size_inc(struct batadv_priv *bat_priv, in batadv_tt_local_size_inc() 352 static void batadv_tt_local_size_dec(struct batadv_priv *bat_priv, in batadv_tt_local_size_dec() 459 static void batadv_tt_local_event(struct batadv_priv *bat_priv, in batadv_tt_local_event() 557 static int batadv_tt_local_table_transmit_size(struct batadv_priv *bat_priv) in batadv_tt_local_table_transmit_size() [all …]
|
D | send.c | 67 struct batadv_priv *bat_priv; in batadv_send_skb_packet() 180 struct batadv_priv *bat_priv = orig_node->bat_priv; in batadv_send_skb_to_orig() 282 bool batadv_send_skb_prepare_unicast_4addr(struct batadv_priv *bat_priv, in batadv_send_skb_prepare_unicast_4addr() 331 int batadv_send_skb_unicast(struct batadv_priv *bat_priv, in batadv_send_skb_unicast() 403 int batadv_send_skb_via_tt_generic(struct batadv_priv *bat_priv, in batadv_send_skb_via_tt_generic() 442 int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_send_skb_via_gw() 498 struct batadv_priv *bat_priv, in batadv_forw_packet_alloc() 707 batadv_forw_packet_bcast_queue(struct batadv_priv *bat_priv, in batadv_forw_packet_bcast_queue() 725 void batadv_forw_packet_ogmv1_queue(struct batadv_priv *bat_priv, in batadv_forw_packet_ogmv1_queue() 751 static int batadv_forw_bcast_packet_to_list(struct batadv_priv *bat_priv, in batadv_forw_bcast_packet_to_list() [all …]
|
D | distributed-arp-table.c | 102 static void batadv_dat_start_timer(struct batadv_priv *bat_priv) in batadv_dat_start_timer() 158 static void __batadv_dat_purge(struct batadv_priv *bat_priv, in __batadv_dat_purge() 199 struct batadv_priv *bat_priv; in batadv_dat_purge() 203 bat_priv = container_of(priv_dat, struct batadv_priv, dat); in batadv_dat_purge() 326 batadv_dat_entry_hash_find(struct batadv_priv *bat_priv, __be32 ip, in batadv_dat_entry_hash_find() 366 static void batadv_dat_entry_add(struct batadv_priv *bat_priv, __be32 ip, in batadv_dat_entry_add() 423 static void batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_dbg_arp() 490 static void batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_dbg_arp() 559 static void batadv_choose_next_candidate(struct batadv_priv *bat_priv, in batadv_choose_next_candidate() 628 batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst, in batadv_dat_select_candidates() [all …]
|
D | gateway_client.c | 80 batadv_gw_get_selected_gw_node(struct batadv_priv *bat_priv) in batadv_gw_get_selected_gw_node() 104 batadv_gw_get_selected_orig(struct batadv_priv *bat_priv) in batadv_gw_get_selected_orig() 128 static void batadv_gw_select(struct batadv_priv *bat_priv, in batadv_gw_select() 157 void batadv_gw_reselect(struct batadv_priv *bat_priv) in batadv_gw_reselect() 170 void batadv_gw_check_client_stop(struct batadv_priv *bat_priv) in batadv_gw_check_client_stop() 198 void batadv_gw_election(struct batadv_priv *bat_priv) in batadv_gw_election() 287 void batadv_gw_check_election(struct batadv_priv *bat_priv, in batadv_gw_check_election() 325 static void batadv_gw_node_add(struct batadv_priv *bat_priv, in batadv_gw_node_add() 370 struct batadv_gw_node *batadv_gw_node_get(struct batadv_priv *bat_priv, in batadv_gw_node_get() 399 void batadv_gw_node_update(struct batadv_priv *bat_priv, in batadv_gw_node_update() [all …]
|
D | gateway_common.h | 27 void batadv_gw_tvlv_container_update(struct batadv_priv *bat_priv); 28 void batadv_gw_init(struct batadv_priv *bat_priv); 29 void batadv_gw_free(struct batadv_priv *bat_priv);
|
D | bridge_loop_avoidance.c | 56 batadv_bla_send_announce(struct batadv_priv *bat_priv, 218 batadv_claim_hash_find(struct batadv_priv *bat_priv, in batadv_claim_hash_find() 258 batadv_backbone_hash_find(struct batadv_priv *bat_priv, const u8 *addr, in batadv_backbone_hash_find() 340 static void batadv_bla_send_claim(struct batadv_priv *bat_priv, const u8 *mac, in batadv_bla_send_claim() 462 struct batadv_priv *bat_priv; in batadv_bla_loopdetect_report() 492 batadv_bla_get_backbone_gw(struct batadv_priv *bat_priv, const u8 *orig, in batadv_bla_get_backbone_gw() 565 batadv_bla_update_own_backbone_gw(struct batadv_priv *bat_priv, in batadv_bla_update_own_backbone_gw() 590 static void batadv_bla_answer_request(struct batadv_priv *bat_priv, in batadv_bla_answer_request() 663 static void batadv_bla_send_announce(struct batadv_priv *bat_priv, in batadv_bla_send_announce() 686 static void batadv_bla_add_claim(struct batadv_priv *bat_priv, in batadv_bla_add_claim() [all …]
|
D | bat_v_ogm.c | 55 struct batadv_orig_node *batadv_v_ogm_orig_get(struct batadv_priv *bat_priv, in batadv_v_ogm_orig_get() 101 static void batadv_v_ogm_start_timer(struct batadv_priv *bat_priv) in batadv_v_ogm_start_timer() 124 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_send_to_if() 242 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_queue_on_if() 262 static void batadv_v_ogm_send_softif(struct batadv_priv *bat_priv) in batadv_v_ogm_send_softif() 370 struct batadv_priv *bat_priv; in batadv_v_ogm_send() 373 bat_priv = container_of(bat_v, struct batadv_priv, bat_v); in batadv_v_ogm_send() 411 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_iface_enable() 438 struct batadv_priv *bat_priv = netdev_priv(primary_iface->soft_iface); in batadv_v_ogm_primary_iface_set() 475 static u32 batadv_v_forward_penalty(struct batadv_priv *bat_priv, in batadv_v_forward_penalty() [all …]
|
D | bat_v.c | 46 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_activate() 100 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_update_mac() 181 struct batadv_priv *bat_priv, in batadv_v_neigh_dump_hardif() 213 struct batadv_priv *bat_priv, in batadv_v_neigh_dump() 269 struct batadv_priv *bat_priv, in batadv_v_orig_dump_subentry() 338 struct batadv_priv *bat_priv, in batadv_v_orig_dump_entry() 389 struct batadv_priv *bat_priv, in batadv_v_orig_dump_bucket() 424 struct batadv_priv *bat_priv, in batadv_v_orig_dump() 509 static void batadv_v_init_sel_class(struct batadv_priv *bat_priv) in batadv_v_init_sel_class() 563 batadv_v_gw_get_best_gw_node(struct batadv_priv *bat_priv) in batadv_v_gw_get_best_gw_node() [all …]
|
D | tp_meter.h | 16 void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst, 18 void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst, 20 void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb);
|
D | soft-interface.c | 99 static u64 batadv_sum_counter(struct batadv_priv *bat_priv, size_t idx) in batadv_sum_counter() 114 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_stats() 127 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_set_mac_addr() 156 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_change_mtu() 184 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_tx() 420 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_rx() 530 struct batadv_softif_vlan *batadv_softif_vlan_get(struct batadv_priv *bat_priv, in batadv_softif_vlan_get() 558 int batadv_softif_create_vlan(struct batadv_priv *bat_priv, unsigned short vid) in batadv_softif_create_vlan() 605 static void batadv_softif_destroy_vlan(struct batadv_priv *bat_priv, in batadv_softif_destroy_vlan() 631 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_add_vid() [all …]
|
D | bat_v_ogm.h | 16 int batadv_v_ogm_init(struct batadv_priv *bat_priv); 17 void batadv_v_ogm_free(struct batadv_priv *bat_priv); 21 struct batadv_orig_node *batadv_v_ogm_orig_get(struct batadv_priv *bat_priv,
|