Home
last modified time | relevance | path

Searched refs:batadv_priv (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.1.9/net/batman-adv/
Ddistributed-arp-table.h27 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 …]
Dnetwork-coding.h21 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 …]
Dbridge_loop_avoidance.h36 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 …]
Dtranslation-table.h18 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 …]
Dmulticast.h45 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb,
49 int batadv_mcast_forw_send_orig(struct batadv_priv *bat_priv,
54 int batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb,
57 void batadv_mcast_init(struct batadv_priv *bat_priv);
60 struct batadv_priv *bat_priv);
64 void batadv_mcast_free(struct batadv_priv *bat_priv);
71 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_mode()
79 batadv_mcast_forw_send_orig(struct batadv_priv *bat_priv, in batadv_mcast_forw_send_orig()
89 batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_send()
96 static inline int batadv_mcast_init(struct batadv_priv *bat_priv) in batadv_mcast_init()
[all …]
Dgateway_client.h18 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 …]
Dtvlv.h15 void batadv_tvlv_container_register(struct batadv_priv *bat_priv,
18 u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv,
21 void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv,
24 void batadv_tvlv_container_unregister(struct batadv_priv *bat_priv,
27 void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
28 void (*optr)(struct batadv_priv *bat_priv,
33 int (*uptr)(struct batadv_priv *bat_priv,
38 void batadv_tvlv_handler_unregister(struct batadv_priv *bat_priv,
40 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv,
45 void batadv_tvlv_unicast_send(struct batadv_priv *bat_priv, const u8 *src,
Dsend.h24 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 …]
Dlog.h19 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); \
Dmulticast.c70 static void batadv_mcast_start_timer(struct batadv_priv *bat_priv) in batadv_mcast_start_timer()
166 static u8 batadv_mcast_mla_rtr_flags_softif_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_softif_get()
196 static u8 batadv_mcast_mla_rtr_flags_bridge_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_bridge_get()
228 static u8 batadv_mcast_mla_rtr_flags_get(struct batadv_priv *bat_priv, in batadv_mcast_mla_rtr_flags_get()
247 batadv_mcast_mla_flags_get(struct batadv_priv *bat_priv) in batadv_mcast_mla_flags_get()
653 static void batadv_mcast_mla_tt_retract(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_retract()
683 static void batadv_mcast_mla_tt_add(struct batadv_priv *bat_priv, in batadv_mcast_mla_tt_add()
730 batadv_mcast_querier_log(struct batadv_priv *bat_priv, char *str_proto, in batadv_mcast_querier_log()
776 batadv_mcast_bridge_log(struct batadv_priv *bat_priv, in batadv_mcast_bridge_log()
806 static void batadv_mcast_flags_log(struct batadv_priv *bat_priv, u8 flags) in batadv_mcast_flags_log()
[all …]
Dnetwork-coding.c70 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 …]
Dbat_v.h16 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()
Dtvlv.c69 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()
365 static int batadv_tvlv_call_handler(struct batadv_priv *bat_priv, in batadv_tvlv_call_handler()
418 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv, in batadv_tvlv_containers_process()
477 void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv, in batadv_tvlv_ogm_receive()
[all …]
Dnetlink.h20 int batadv_netlink_tpmeter_notify(struct batadv_priv *bat_priv, const u8 *dst,
24 int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv);
25 int batadv_netlink_notify_hardif(struct batadv_priv *bat_priv,
27 int batadv_netlink_notify_vlan(struct batadv_priv *bat_priv,
Dtranslation-table.c65 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 …]
Dsend.c67 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 …]
Doriginator.h21 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,
83 batadv_orig_hash_find(struct batadv_priv *bat_priv, const void *data);
Dbat_v.c46 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()
515 static ssize_t batadv_v_store_sel_class(struct batadv_priv *bat_priv, in batadv_v_store_sel_class()
[all …]
Dgateway_client.c80 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 …]
Ddistributed-arp-table.c102 static void batadv_dat_start_timer(struct batadv_priv *bat_priv) in batadv_dat_start_timer()
159 static void __batadv_dat_purge(struct batadv_priv *bat_priv, in __batadv_dat_purge()
200 struct batadv_priv *bat_priv; in batadv_dat_purge()
204 bat_priv = container_of(priv_dat, struct batadv_priv, dat); in batadv_dat_purge()
327 batadv_dat_entry_hash_find(struct batadv_priv *bat_priv, __be32 ip, in batadv_dat_entry_hash_find()
367 static void batadv_dat_entry_add(struct batadv_priv *bat_priv, __be32 ip, in batadv_dat_entry_add()
424 static void batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_dbg_arp()
491 static void batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_dbg_arp()
560 static void batadv_choose_next_candidate(struct batadv_priv *bat_priv, in batadv_choose_next_candidate()
629 batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst, in batadv_dat_select_candidates()
[all …]
Dtp_meter.h16 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);
Dgateway_common.h32 void batadv_gw_tvlv_container_update(struct batadv_priv *bat_priv);
33 void batadv_gw_init(struct batadv_priv *bat_priv);
34 void batadv_gw_free(struct batadv_priv *bat_priv);
Dbat_v_ogm.h16 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,
Dbat_v_ogm.c56 struct batadv_orig_node *batadv_v_ogm_orig_get(struct batadv_priv *bat_priv, in batadv_v_ogm_orig_get()
102 static void batadv_v_ogm_start_timer(struct batadv_priv *bat_priv) in batadv_v_ogm_start_timer()
125 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_send_to_if()
241 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_queue_on_if()
261 static void batadv_v_ogm_send_softif(struct batadv_priv *bat_priv) in batadv_v_ogm_send_softif()
369 struct batadv_priv *bat_priv; in batadv_v_ogm_send()
372 bat_priv = container_of(bat_v, struct batadv_priv, bat_v); in batadv_v_ogm_send()
410 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_iface_enable()
437 struct batadv_priv *bat_priv = netdev_priv(primary_iface->soft_iface); in batadv_v_ogm_primary_iface_set()
474 static u32 batadv_v_forward_penalty(struct batadv_priv *bat_priv, in batadv_v_forward_penalty()
[all …]
Dbridge_loop_avoidance.c56 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 …]

12