Home
last modified time | relevance | path

Searched refs:batadv_hard_iface (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/net/batman-adv/
Drouting.h16 struct batadv_hard_iface *hard_iface,
20 struct batadv_hard_iface *recv_if,
23 struct batadv_hard_iface *recv_if);
25 struct batadv_hard_iface *recv_if);
27 struct batadv_hard_iface *iface);
29 struct batadv_hard_iface *recv_if);
31 struct batadv_hard_iface *recv_if);
33 struct batadv_hard_iface *recv_if);
37 struct batadv_hard_iface *recv_if);
Dhard-interface.h72 bool batadv_is_cfg80211_hardif(struct batadv_hard_iface *hard_iface);
73 bool batadv_is_wifi_hardif(struct batadv_hard_iface *hard_iface);
74 struct batadv_hard_iface*
76 int batadv_hardif_enable_interface(struct batadv_hard_iface *hard_iface,
78 void batadv_hardif_disable_interface(struct batadv_hard_iface *hard_iface);
82 int batadv_hardif_no_broadcast(struct batadv_hard_iface *if_outgoing,
90 static inline void batadv_hardif_put(struct batadv_hard_iface *hard_iface) in batadv_hardif_put()
104 static inline struct batadv_hard_iface *
107 struct batadv_hard_iface *hard_iface; in batadv_primary_if_get_selected()
Dhard-interface.c51 struct batadv_hard_iface *hard_iface; in batadv_hardif_release()
53 hard_iface = container_of(ref, struct batadv_hard_iface, refcount); in batadv_hardif_release()
65 struct batadv_hard_iface *
68 struct batadv_hard_iface *hard_iface; in batadv_hardif_get_by_netdev()
218 struct batadv_hard_iface *hard_iface = NULL; in batadv_get_real_netdevice()
364 bool batadv_is_cfg80211_hardif(struct batadv_hard_iface *hard_iface) in batadv_is_cfg80211_hardif()
380 bool batadv_is_wifi_hardif(struct batadv_hard_iface *hard_iface) in batadv_is_wifi_hardif()
403 int batadv_hardif_no_broadcast(struct batadv_hard_iface *if_outgoing, in batadv_hardif_no_broadcast()
440 static struct batadv_hard_iface *
443 struct batadv_hard_iface *hard_iface; in batadv_hardif_get_active()
[all …]
Dbat_v_elp.h15 int batadv_v_elp_iface_enable(struct batadv_hard_iface *hard_iface);
16 void batadv_v_elp_iface_disable(struct batadv_hard_iface *hard_iface);
17 void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface,
18 struct batadv_hard_iface *hard_iface);
19 void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface);
21 struct batadv_hard_iface *if_incoming);
Doriginator.h28 batadv_hardif_neigh_get(const struct batadv_hard_iface *hard_iface,
33 struct batadv_hard_iface *hard_iface,
38 const struct batadv_hard_iface *if_outgoing);
41 struct batadv_hard_iface *if_outgoing);
44 struct batadv_hard_iface *if_outgoing);
51 struct batadv_hard_iface *if_outgoing);
54 struct batadv_hard_iface *if_outgoing);
Dbat_v_elp.c48 static void batadv_v_elp_start_timer(struct batadv_hard_iface *hard_iface) in batadv_v_elp_start_timer()
68 struct batadv_hard_iface *hard_iface = neigh->if_incoming; in batadv_v_elp_get_throughput()
194 struct batadv_hard_iface *hard_iface = neigh->if_incoming; in batadv_v_elp_wifi_neigh_probe()
252 struct batadv_hard_iface *hard_iface; in batadv_v_elp_periodic_work()
261 hard_iface = container_of(bat_v, struct batadv_hard_iface, bat_v); in batadv_v_elp_periodic_work()
340 int batadv_v_elp_iface_enable(struct batadv_hard_iface *hard_iface) in batadv_v_elp_iface_enable()
388 void batadv_v_elp_iface_disable(struct batadv_hard_iface *hard_iface) in batadv_v_elp_iface_disable()
402 void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface, in batadv_v_elp_iface_activate()
403 struct batadv_hard_iface *hard_iface) in batadv_v_elp_iface_activate()
422 void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface) in batadv_v_elp_primary_iface_set()
[all …]
Dsend.h21 batadv_forw_packet_alloc(struct batadv_hard_iface *if_incoming,
22 struct batadv_hard_iface *if_outgoing,
34 struct batadv_hard_iface *recv_if);
36 struct batadv_hard_iface *hard_iface,
39 struct batadv_hard_iface *hard_iface);
52 const struct batadv_hard_iface *hard_iface);
Dbat_v_ogm.c87 static void batadv_v_ogm_start_queue_timer(struct batadv_hard_iface *hard_iface) in batadv_v_ogm_start_queue_timer()
122 struct batadv_hard_iface *hard_iface) in batadv_v_ogm_send_to_if()
163 struct batadv_hard_iface *hard_iface) in batadv_v_ogm_queue_left()
182 static void batadv_v_ogm_aggr_list_free(struct batadv_hard_iface *hard_iface) in batadv_v_ogm_aggr_list_free()
201 static void batadv_v_ogm_aggr_send(struct batadv_hard_iface *hard_iface) in batadv_v_ogm_aggr_send()
240 struct batadv_hard_iface *hard_iface) in batadv_v_ogm_queue_on_if()
264 struct batadv_hard_iface *hard_iface; in batadv_v_ogm_send_softif()
389 struct batadv_hard_iface *hard_iface; in batadv_v_ogm_aggr_work()
392 hard_iface = container_of(batv, struct batadv_hard_iface, bat_v); in batadv_v_ogm_aggr_work()
409 int batadv_v_ogm_iface_enable(struct batadv_hard_iface *hard_iface) in batadv_v_ogm_iface_enable()
[all …]
Dtypes.h168 struct batadv_hard_iface { struct
253 struct batadv_hard_iface *if_outgoing;
620 struct batadv_hard_iface *if_incoming;
657 struct batadv_hard_iface *if_incoming;
721 struct batadv_hard_iface *if_outgoing;
1690 struct batadv_hard_iface __rcu *primary_if; /* rcu protected pointer */
2109 struct batadv_hard_iface *if_incoming;
2115 struct batadv_hard_iface *if_outgoing;
2129 void (*activate)(struct batadv_hard_iface *hard_iface);
2132 int (*enable)(struct batadv_hard_iface *hard_iface);
[all …]
Dbat_v_ogm.h19 int batadv_v_ogm_iface_enable(struct batadv_hard_iface *hard_iface);
20 void batadv_v_ogm_iface_disable(struct batadv_hard_iface *hard_iface);
23 void batadv_v_ogm_primary_iface_set(struct batadv_hard_iface *primary_iface);
25 struct batadv_hard_iface *if_incoming);
Dbat_v.c44 static void batadv_v_iface_activate(struct batadv_hard_iface *hard_iface) in batadv_v_iface_activate()
47 struct batadv_hard_iface *primary_if; in batadv_v_iface_activate()
64 static int batadv_v_iface_enable(struct batadv_hard_iface *hard_iface) in batadv_v_iface_enable()
79 static void batadv_v_iface_disable(struct batadv_hard_iface *hard_iface) in batadv_v_iface_disable()
85 static void batadv_v_primary_iface_set(struct batadv_hard_iface *hard_iface) in batadv_v_primary_iface_set()
98 static void batadv_v_iface_update_mac(struct batadv_hard_iface *hard_iface) in batadv_v_iface_update_mac()
101 struct batadv_hard_iface *primary_if; in batadv_v_iface_update_mac()
182 struct batadv_hard_iface *hard_iface, in batadv_v_neigh_dump_hardif()
214 struct batadv_hard_iface *single_hardif) in batadv_v_neigh_dump()
216 struct batadv_hard_iface *hard_iface; in batadv_v_neigh_dump()
[all …]
Dbat_iv_ogm.c173 batadv_iv_ogm_neigh_new(struct batadv_hard_iface *hard_iface, in batadv_iv_ogm_neigh_new()
191 static int batadv_iv_ogm_iface_enable(struct batadv_hard_iface *hard_iface) in batadv_iv_ogm_iface_enable()
225 static void batadv_iv_ogm_iface_disable(struct batadv_hard_iface *hard_iface) in batadv_iv_ogm_iface_disable()
235 static void batadv_iv_ogm_iface_update_mac(struct batadv_hard_iface *hard_iface) in batadv_iv_ogm_iface_update_mac()
257 batadv_iv_ogm_primary_iface_set(struct batadv_hard_iface *hard_iface) in batadv_iv_ogm_primary_iface_set()
333 struct batadv_hard_iface *hard_iface) in batadv_iv_ogm_send_to_if()
442 const struct batadv_hard_iface *if_incoming, in batadv_iv_ogm_can_aggregate()
443 const struct batadv_hard_iface *if_outgoing, in batadv_iv_ogm_can_aggregate()
448 struct batadv_hard_iface *primary_if = NULL; in batadv_iv_ogm_can_aggregate()
539 struct batadv_hard_iface *if_incoming, in batadv_iv_ogm_aggregate_new()
[all …]
Dsend.c64 struct batadv_hard_iface *hard_iface, in batadv_send_skb_packet()
125 struct batadv_hard_iface *hard_iface) in batadv_send_broadcast_skb()
178 struct batadv_hard_iface *recv_if) in batadv_send_skb_to_orig()
287 struct batadv_hard_iface *primary_if; in batadv_send_skb_prepare_unicast_4addr()
495 batadv_forw_packet_alloc(struct batadv_hard_iface *if_incoming, in batadv_forw_packet_alloc()
496 struct batadv_hard_iface *if_outgoing, in batadv_forw_packet_alloc()
608 const struct batadv_hard_iface *hard_iface) in batadv_forw_packet_list_steal()
755 struct batadv_hard_iface *if_in, in batadv_forw_bcast_packet_to_list()
756 struct batadv_hard_iface *if_out) in batadv_forw_bcast_packet_to_list()
811 struct batadv_hard_iface *if_in, in batadv_forw_bcast_packet_if()
[all …]
Dbridge_loop_avoidance.h50 struct batadv_hard_iface *primary_if,
51 struct batadv_hard_iface *oldif);
97 struct batadv_hard_iface *primary_if, in batadv_bla_update_orig_address()
98 struct batadv_hard_iface *oldif) in batadv_bla_update_orig_address()
Doriginator.c293 const struct batadv_hard_iface *if_outgoing) in batadv_orig_router_get()
325 struct batadv_hard_iface *if_outgoing) in batadv_orig_ifinfo_get()
359 struct batadv_hard_iface *if_outgoing) in batadv_orig_ifinfo_new()
403 struct batadv_hard_iface *if_outgoing) in batadv_neigh_ifinfo_get()
438 struct batadv_hard_iface *if_outgoing) in batadv_neigh_ifinfo_new()
481 const struct batadv_hard_iface *hard_iface, in batadv_neigh_node_get()
514 batadv_hardif_neigh_create(struct batadv_hard_iface *hard_iface, in batadv_hardif_neigh_create()
561 batadv_hardif_neigh_get_or_create(struct batadv_hard_iface *hard_iface, in batadv_hardif_neigh_get_or_create()
585 batadv_hardif_neigh_get(const struct batadv_hard_iface *hard_iface, in batadv_hardif_neigh_get()
619 struct batadv_hard_iface *hard_iface, in batadv_neigh_node_create()
[all …]
Drouting.c42 struct batadv_hard_iface *recv_if);
55 struct batadv_hard_iface *recv_if, in _batadv_update_route()
116 struct batadv_hard_iface *recv_if, in batadv_update_route()
178 struct batadv_hard_iface *hard_iface, in batadv_check_management_packet()
219 struct batadv_hard_iface *primary_if = NULL; in batadv_recv_my_icmp_packet()
281 struct batadv_hard_iface *primary_if = NULL; in batadv_recv_icmp_ttl_exceeded()
339 struct batadv_hard_iface *recv_if) in batadv_recv_icmp_packet()
524 struct batadv_hard_iface *recv_if) in batadv_find_router()
657 struct batadv_hard_iface *recv_if) in batadv_route_unicast_packet()
748 struct batadv_hard_iface *primary_if = NULL; in batadv_reroute_unicast_packet()
[all …]
Dbridge_loop_avoidance.c345 struct batadv_hard_iface *primary_if; in batadv_bla_send_claim()
566 struct batadv_hard_iface *primary_if, in batadv_bla_update_own_backbone_gw()
591 struct batadv_hard_iface *primary_if, in batadv_bla_answer_request()
896 struct batadv_hard_iface *primary_if, in batadv_handle_request()
929 struct batadv_hard_iface *primary_if, in batadv_handle_unclaim()
967 struct batadv_hard_iface *primary_if, in batadv_handle_claim()
1011 struct batadv_hard_iface *primary_if, in batadv_check_claim_group()
1078 struct batadv_hard_iface *primary_if, in batadv_bla_process_claim()
1273 struct batadv_hard_iface *primary_if, in batadv_bla_purge_claims()
1329 struct batadv_hard_iface *primary_if, in batadv_bla_update_orig_address()
[all …]
Dbat_v.h15 void batadv_v_hardif_init(struct batadv_hard_iface *hardif);
26 static inline void batadv_v_hardif_init(struct batadv_hard_iface *hardif) in batadv_v_hardif_init()
Dmain.c69 struct batadv_hard_iface *recv_if);
306 const struct batadv_hard_iface *hard_iface; in batadv_is_my_mac()
406 struct batadv_hard_iface *recv_if) in batadv_recv_unhandled_packet()
432 struct batadv_hard_iface *hard_iface; in batadv_batman_skb_recv()
435 hard_iface = container_of(ptype, struct batadv_hard_iface, in batadv_batman_skb_recv()
559 struct batadv_hard_iface *)) in batadv_recv_handler_register() argument
562 struct batadv_hard_iface *recv_if); in batadv_recv_handler_register()
Ddistributed-arp-table.h64 struct batadv_hard_iface *primary_if) in batadv_dat_init_own_addr()
160 struct batadv_hard_iface *iface) in batadv_dat_init_own_addr()
Dnetlink.c234 struct batadv_hard_iface *primary_if = NULL; in batadv_netlink_mesh_fill()
796 struct batadv_hard_iface *hard_iface, in batadv_netlink_hardif_fill()
862 struct batadv_hard_iface *hard_iface) in batadv_netlink_notify_hardif()
895 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_get_hardif()
928 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_set_hardif()
971 struct batadv_hard_iface *hard_iface; in batadv_netlink_dump_hardif()
1197 static struct batadv_hard_iface *
1201 struct batadv_hard_iface *hard_iface; in batadv_get_hardif_from_info()
1275 struct batadv_hard_iface *hard_iface; in batadv_pre_doit()
1340 struct batadv_hard_iface *hard_iface; in batadv_post_doit()
Dmain.h82 #define BATADV_IF_DEFAULT ((struct batadv_hard_iface *)NULL)
252 struct batadv_hard_iface *));
Dfragmentation.h21 struct batadv_hard_iface *recv_if,
Dsoft-interface.c185 struct batadv_hard_iface *primary_if = NULL; in batadv_interface_tx()
833 struct batadv_hard_iface *hard_iface; in batadv_softif_slave_add()
857 struct batadv_hard_iface *hard_iface; in batadv_softif_slave_del()
1085 struct batadv_hard_iface *hard_iface; in batadv_softif_destroy_netlink()
Dfragmentation.c350 struct batadv_hard_iface *recv_if, in batadv_frag_skb_fwd()
445 struct batadv_hard_iface *primary_if = NULL; in batadv_frag_send_packet()

12