Home
last modified time | relevance | path

Searched defs:bat_priv (Results 1 – 25 of 35) sorted by relevance

12

/linux/net/batman-adv/
H A Dmulticast.c69 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 …]
H A Ddistributed-arp-table.h63 batadv_dat_init_own_addr(struct batadv_priv *bat_priv, in batadv_dat_init_own_addr()
85 static inline void batadv_dat_inc_counter(struct batadv_priv *bat_priv, in batadv_dat_inc_counter()
107 batadv_dat_snoop_outgoing_arp_request(struct batadv_priv *bat_priv, in batadv_dat_snoop_outgoing_arp_request()
114 batadv_dat_snoop_incoming_arp_request(struct batadv_priv *bat_priv, in batadv_dat_snoop_incoming_arp_request()
121 batadv_dat_snoop_outgoing_arp_reply(struct batadv_priv *bat_priv, in batadv_dat_snoop_outgoing_arp_reply()
128 batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv, in batadv_dat_snoop_incoming_arp_reply()
135 batadv_dat_snoop_outgoing_dhcp_ack(struct batadv_priv *bat_priv, in batadv_dat_snoop_outgoing_dhcp_ack()
142 batadv_dat_snoop_incoming_dhcp_ack(struct batadv_priv *bat_priv, in batadv_dat_snoop_incoming_dhcp_ack()
148 batadv_dat_drop_broadcast_packet(struct batadv_priv *bat_priv, in batadv_dat_drop_broadcast_packet()
159 static inline void batadv_dat_init_own_addr(struct batadv_priv *bat_priv, in batadv_dat_init_own_addr()
[all …]
H A 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() local
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 …]
H A 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 …]
H A Dtranslation-table.c171 batadv_tt_local_hash_find(struct batadv_priv *bat_priv, const u8 *addr, in batadv_tt_local_hash_find() argument
196 batadv_tt_global_hash_find(struct batadv_priv *bat_priv, const u8 *addr, in batadv_tt_global_hash_find() argument
269 batadv_tt_global_hash_count(struct batadv_priv * bat_priv,const u8 * addr,unsigned short vid) batadv_tt_global_hash_count() argument
292 batadv_tt_local_size_mod(struct batadv_priv * bat_priv,unsigned short vid,int v) batadv_tt_local_size_mod() argument
312 batadv_tt_local_size_inc(struct batadv_priv * bat_priv,unsigned short vid) batadv_tt_local_size_inc() argument
324 batadv_tt_local_size_dec(struct batadv_priv * bat_priv,unsigned short vid) batadv_tt_local_size_dec() argument
418 batadv_tt_local_event(struct batadv_priv * bat_priv,struct batadv_tt_local_entry * tt_local_entry,u8 event_flags) batadv_tt_local_event() argument
516 batadv_tt_local_table_transmit_size(struct batadv_priv * bat_priv) batadv_tt_local_table_transmit_size() argument
539 batadv_tt_local_init(struct batadv_priv * bat_priv) batadv_tt_local_init() argument
555 batadv_tt_global_free(struct batadv_priv * bat_priv,struct batadv_tt_global_entry * tt_global,const char * message) batadv_tt_global_free() argument
597 struct batadv_priv *bat_priv = netdev_priv(soft_iface); batadv_tt_local_add() local
874 batadv_tt_prepare_tvlv_local_data(struct batadv_priv * bat_priv,struct batadv_tvlv_tt_data ** tt_data,struct batadv_tvlv_tt_change ** tt_change,s32 * tt_len) batadv_tt_prepare_tvlv_local_data() argument
944 batadv_tt_tvlv_container_update(struct batadv_priv * bat_priv) batadv_tt_tvlv_container_update() argument
1028 batadv_tt_local_dump_entry(struct sk_buff * msg,u32 portid,struct netlink_callback * cb,struct batadv_priv * bat_priv,struct batadv_tt_common_entry * common) batadv_tt_local_dump_entry() argument
1089 batadv_tt_local_dump_bucket(struct sk_buff * msg,u32 portid,struct netlink_callback * cb,struct batadv_priv * bat_priv,struct batadv_hashtable * hash,unsigned int bucket,int * idx_s) batadv_tt_local_dump_bucket() argument
1127 struct batadv_priv *bat_priv; batadv_tt_local_dump() local
1177 batadv_tt_local_set_pending(struct batadv_priv * bat_priv,struct batadv_tt_local_entry * tt_local_entry,u16 flags,const char * message) batadv_tt_local_set_pending() argument
1205 batadv_tt_local_remove(struct batadv_priv * bat_priv,const u8 * addr,unsigned short vid,const char * message,bool roaming) batadv_tt_local_remove() argument
1267 batadv_tt_local_purge_list(struct batadv_priv * bat_priv,struct hlist_head * head,int timeout) batadv_tt_local_purge_list() argument
1301 batadv_tt_local_purge(struct batadv_priv * bat_priv,int timeout) batadv_tt_local_purge() argument
1319 batadv_tt_local_table_free(struct batadv_priv * bat_priv) batadv_tt_local_table_free() argument
1356 batadv_tt_global_init(struct batadv_priv * bat_priv) batadv_tt_global_init() argument
1372 batadv_tt_changes_list_free(struct batadv_priv * bat_priv) batadv_tt_changes_list_free() argument
1549 batadv_tt_global_add(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,const unsigned char * tt_addr,unsigned short vid,u16 flags,u8 ttvn) batadv_tt_global_add() argument
1712 batadv_transtable_best_orig(struct batadv_priv * bat_priv,struct batadv_tt_global_entry * tt_global_entry) batadv_transtable_best_orig() argument
1822 batadv_tt_global_dump_entry(struct sk_buff * msg,u32 portid,u32 seq,struct batadv_priv * bat_priv,struct batadv_tt_common_entry * common,int * sub_s) batadv_tt_global_dump_entry() argument
1866 batadv_tt_global_dump_bucket(struct sk_buff * msg,u32 portid,u32 seq,struct batadv_priv * bat_priv,struct hlist_head * head,int * idx_s,int * sub) batadv_tt_global_dump_bucket() argument
1902 struct batadv_priv *bat_priv; batadv_tt_global_dump() local
2010 batadv_tt_global_del_orig_node(struct batadv_priv * bat_priv,struct batadv_tt_global_entry * tt_global_entry,struct batadv_orig_node * orig_node,const char * message) batadv_tt_global_del_orig_node() argument
2042 batadv_tt_global_del_roaming(struct batadv_priv * bat_priv,struct batadv_tt_global_entry * tt_global_entry,struct batadv_orig_node * orig_node,const char * message) batadv_tt_global_del_roaming() argument
2088 batadv_tt_global_del(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,const unsigned char * addr,unsigned short vid,const char * message,bool roaming) batadv_tt_global_del() argument
2151 batadv_tt_global_del_orig(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,s32 match_vid,const char * message) batadv_tt_global_del_orig() argument
2223 batadv_tt_global_purge(struct batadv_priv * bat_priv) batadv_tt_global_purge() argument
2262 batadv_tt_global_table_free(struct batadv_priv * bat_priv) batadv_tt_global_table_free() argument
2328 batadv_transtable_search(struct batadv_priv * bat_priv,const u8 * src,const u8 * addr,unsigned short vid) batadv_transtable_search() argument
2396 batadv_tt_global_crc(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,unsigned short vid) batadv_tt_global_crc() argument
2477 batadv_tt_local_crc(struct batadv_priv * bat_priv,unsigned short vid) batadv_tt_local_crc() argument
2550 batadv_tt_req_list_free(struct batadv_priv * bat_priv) batadv_tt_req_list_free() argument
2565 batadv_tt_save_orig_buffer(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,const void * tt_buff,u16 tt_buff_len) batadv_tt_save_orig_buffer() argument
2586 batadv_tt_req_purge(struct batadv_priv * bat_priv) batadv_tt_req_purge() argument
2611 batadv_tt_req_node_new(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node) batadv_tt_req_node_new() argument
2710 batadv_tt_tvlv_generate(struct batadv_priv * bat_priv,struct batadv_hashtable * hash,void * tvlv_buff,u16 tt_len,bool (* valid_cb)(const void *,const void *,u8 * flags),void * cb_data) batadv_tt_tvlv_generate() argument
2819 batadv_tt_local_update_crc(struct batadv_priv * bat_priv) batadv_tt_local_update_crc() argument
2836 batadv_tt_global_update_crc(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node) batadv_tt_global_update_crc() argument
2870 batadv_send_tt_request(struct batadv_priv * bat_priv,struct batadv_orig_node * dst_orig_node,u8 ttvn,struct batadv_tvlv_tt_vlan_data * tt_vlan,u16 num_vlan,bool full_table) batadv_send_tt_request() argument
2955 batadv_send_other_tt_response(struct batadv_priv * bat_priv,struct batadv_tvlv_tt_data * tt_data,u8 * req_src,u8 * req_dst) batadv_send_other_tt_response() argument
3085 batadv_send_my_tt_response(struct batadv_priv * bat_priv,struct batadv_tvlv_tt_data * tt_data,u8 * req_src) batadv_send_my_tt_response() argument
3201 batadv_send_tt_response(struct batadv_priv * bat_priv,struct batadv_tvlv_tt_data * tt_data,u8 * req_src,u8 * req_dst) batadv_send_tt_response() argument
3211 _batadv_tt_update_changes(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,struct batadv_tvlv_tt_change * tt_change,u16 tt_num_changes,u8 ttvn) _batadv_tt_update_changes() argument
3244 batadv_tt_fill_gtable(struct batadv_priv * bat_priv,struct batadv_tvlv_tt_change * tt_change,u8 ttvn,u8 * resp_src,u16 num_entries) batadv_tt_fill_gtable() argument
3274 batadv_tt_update_changes(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,u16 tt_num_changes,u8 ttvn,struct batadv_tvlv_tt_change * tt_change) batadv_tt_update_changes() argument
3295 batadv_is_my_client(struct batadv_priv * bat_priv,const u8 * addr,unsigned short vid) batadv_is_my_client() argument
3323 batadv_handle_tt_response(struct batadv_priv * bat_priv,struct batadv_tvlv_tt_data * tt_data,u8 * resp_src,u16 num_entries) batadv_handle_tt_response() argument
3378 batadv_tt_roam_list_free(struct batadv_priv * bat_priv) batadv_tt_roam_list_free() argument
3392 batadv_tt_roam_purge(struct batadv_priv * bat_priv) batadv_tt_roam_purge() argument
3419 batadv_tt_check_roam_count(struct batadv_priv * bat_priv,u8 * client) batadv_tt_check_roam_count() argument
3475 batadv_send_roam_adv(struct batadv_priv * bat_priv,u8 * client,unsigned short vid,struct batadv_orig_node * orig_node) batadv_send_roam_adv() argument
3513 struct batadv_priv *bat_priv; batadv_tt_purge() local
3532 batadv_tt_free(struct batadv_priv * bat_priv) batadv_tt_free() argument
3558 batadv_tt_local_set_flags(struct batadv_priv * bat_priv,u16 flags,bool enable,bool count) batadv_tt_local_set_flags() argument
3596 batadv_tt_local_purge_pending_clients(struct batadv_priv * bat_priv) batadv_tt_local_purge_pending_clients() argument
3643 batadv_tt_local_commit_changes_nolock(struct batadv_priv * bat_priv) batadv_tt_local_commit_changes_nolock() argument
3674 batadv_tt_local_commit_changes(struct batadv_priv * bat_priv) batadv_tt_local_commit_changes() argument
3690 batadv_is_ap_isolated(struct batadv_priv * bat_priv,u8 * src,u8 * dst,unsigned short vid) batadv_is_ap_isolated() argument
3735 batadv_tt_update_orig(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,const void * tt_buff,u16 tt_num_vlan,struct batadv_tvlv_tt_change * tt_change,u16 tt_num_changes,u8 ttvn) batadv_tt_update_orig() argument
3819 batadv_tt_global_client_is_roaming(struct batadv_priv * bat_priv,u8 * addr,unsigned short vid) batadv_tt_global_client_is_roaming() argument
3845 batadv_tt_local_client_is_roaming(struct batadv_priv * bat_priv,u8 * addr,unsigned short vid) batadv_tt_local_client_is_roaming() argument
3870 batadv_tt_add_temporary_global_entry(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,const unsigned char * addr,unsigned short vid) batadv_tt_add_temporary_global_entry() argument
3903 struct batadv_priv *bat_priv = netdev_priv(soft_iface); batadv_tt_local_resize_to_mtu() local
3942 batadv_tt_tvlv_ogm_handler_v1(struct batadv_priv * bat_priv,struct batadv_orig_node * orig,u8 flags,void * tvlv_value,u16 tvlv_value_len) batadv_tt_tvlv_ogm_handler_v1() argument
3985 batadv_tt_tvlv_unicast_handler_v1(struct batadv_priv * bat_priv,u8 * src,u8 * dst,void * tvlv_value,u16 tvlv_value_len) batadv_tt_tvlv_unicast_handler_v1() argument
4067 batadv_roam_tvlv_unicast_handler_v1(struct batadv_priv * bat_priv,u8 * src,u8 * dst,void * tvlv_value,u16 tvlv_value_len) batadv_roam_tvlv_unicast_handler_v1() argument
4111 batadv_tt_init(struct batadv_priv * bat_priv) batadv_tt_init() argument
4152 batadv_tt_global_is_isolated(struct batadv_priv * bat_priv,const u8 * addr,unsigned short vid) batadv_tt_global_is_isolated() argument
[all...]
H A Dnetlink.c177 struct batadv_priv *bat_priv) in batadv_netlink_mesh_fill_ap_isolation()
201 struct batadv_priv *bat_priv) in batadv_netlink_set_mesh_ap_isolation()
227 struct batadv_priv *bat_priv, in batadv_netlink_mesh_fill()
378 static int batadv_netlink_notify_mesh(struct batadv_priv *bat_priv) in batadv_netlink_notify_mesh()
410 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_get_mesh() local
439 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_set_mesh() local
646 int batadv_netlink_tpmeter_notify(struct batadv_priv *bat_priv, const u8 *dst, in batadv_netlink_tpmeter_notify()
708 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_tp_meter_start() local
765 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_tp_meter_cancel() local
793 struct batadv_priv *bat_priv, in batadv_netlink_hardif_fill()
[all …]
H A 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()
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 …]
H A Dbat_v_ogm.c55 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() local
242 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_queue_on_if() local
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() local
411 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_ogm_iface_enable() local
438 struct batadv_priv *bat_priv = netdev_priv(primary_iface->soft_iface); in batadv_v_ogm_primary_iface_set() local
475 static u32 batadv_v_forward_penalty(struct batadv_priv *bat_priv, in batadv_v_forward_penalty()
518 static void batadv_v_ogm_forward(struct batadv_priv *bat_priv, in batadv_v_ogm_forward()
[all …]
H A Dbridge_loop_avoidance.h62 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()
82 static inline bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, in batadv_bla_is_backbone_gw_orig()
89 batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv, in batadv_bla_check_bcast_duplist()
96 batadv_bla_update_orig_address(struct batadv_priv *bat_priv, in batadv_bla_update_orig_address()
102 static inline int batadv_bla_init(struct batadv_priv *bat_priv) in batadv_bla_init()
107 static inline void batadv_bla_free(struct batadv_priv *bat_priv) in batadv_bla_free()
124 bool batadv_bla_check_claim(struct batadv_priv *bat_priv, u8 *addr, in batadv_bla_check_claim()
H A Dbridge_loop_avoidance.c218 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() local
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()
795 static void batadv_bla_del_claim(struct batadv_priv *bat_priv, in batadv_bla_del_claim()
[all …]
H A Dnetwork-coding.h52 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()
62 batadv_nc_update_nc_node(struct batadv_priv *bat_priv, in batadv_nc_update_nc_node()
71 batadv_nc_purge_orig(struct batadv_priv *bat_priv, in batadv_nc_purge_orig()
78 static inline void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv) in batadv_nc_init_bat_priv()
93 batadv_nc_skb_store_for_decoding(struct batadv_priv *bat_priv, in batadv_nc_skb_store_for_decoding()
99 batadv_nc_skb_store_sniffed_unicast(struct batadv_priv *bat_priv, in batadv_nc_skb_store_sniffed_unicast()
H A Dsend.c67 struct batadv_priv *bat_priv; in batadv_send_skb_packet() local
180 struct batadv_priv *bat_priv = orig_node->bat_priv; in batadv_send_skb_to_orig() local
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 …]
H A Drouting.c53 static void _batadv_update_route(struct batadv_priv *bat_priv, in _batadv_update_route()
114 void batadv_update_route(struct batadv_priv *bat_priv, in batadv_update_route()
149 bool batadv_window_protected(struct batadv_priv *bat_priv, s32 seq_num_diff, in batadv_window_protected()
216 static int batadv_recv_my_icmp_packet(struct batadv_priv *bat_priv, in batadv_recv_my_icmp_packet()
278 static int batadv_recv_icmp_ttl_exceeded(struct batadv_priv *bat_priv, in batadv_recv_icmp_ttl_exceeded()
341 struct batadv_priv *bat_priv = netdev_priv(recv_if->soft_iface); in batadv_recv_icmp_packet() local
441 static int batadv_check_unicast_packet(struct batadv_priv *bat_priv, in batadv_check_unicast_packet()
522 batadv_find_router(struct batadv_priv *bat_priv, in batadv_find_router()
659 struct batadv_priv *bat_priv = netdev_priv(recv_if->soft_iface); in batadv_route_unicast_packet() local
743 batadv_reroute_unicast_packet(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_reroute_unicast_packet()
[all …]
H A Dbat_v.c46 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_activate() local
100 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_update_mac() local
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 …]
H A Dmulticast.h77 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()
91 static inline int batadv_mcast_init(struct batadv_priv *bat_priv) in batadv_mcast_init()
97 batadv_mcast_mesh_info_put(struct sk_buff *msg, struct batadv_priv *bat_priv) in batadv_mcast_mesh_info_put()
108 static inline void batadv_mcast_free(struct batadv_priv *bat_priv) in batadv_mcast_free()
116 static inline int batadv_mcast_forw_mcsend(struct batadv_priv *bat_priv, in batadv_mcast_forw_mcsend()
H A Dsoft-interface.c99 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() local
127 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_set_mac_addr() local
156 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_change_mtu() local
184 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_tx() local
420 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_rx() local
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() local
[all …]
H A Dtp_meter.c215 const u8 *dst, struct batadv_priv *bat_priv, in batadv_tp_batctl_notify()
246 struct batadv_priv *bat_priv, in batadv_tp_batctl_error_notify()
262 static struct batadv_tp_vars *batadv_tp_list_find(struct batadv_priv *bat_priv, in batadv_tp_list_find()
301 batadv_tp_list_find_session(struct batadv_priv *bat_priv, const u8 *dst, in batadv_tp_list_find_session()
372 static void batadv_tp_sender_cleanup(struct batadv_priv *bat_priv, in batadv_tp_sender_cleanup()
402 static void batadv_tp_sender_end(struct batadv_priv *bat_priv, in batadv_tp_sender_end()
489 struct batadv_priv *bat_priv = tp_vars->bat_priv; in batadv_tp_sender_timeout() local
627 static void batadv_tp_recv_ack(struct batadv_priv *bat_priv, in batadv_tp_recv_ack()
808 struct batadv_priv *bat_priv = tp_vars->bat_priv; in batadv_tp_send() local
904 struct batadv_priv *bat_priv = tp_vars->bat_priv; in batadv_tp_start_kthread() local
[all …]
H A Ddistributed-arp-table.c102 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() local
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()
674 static bool batadv_dat_forward_data(struct batadv_priv *bat_priv, in batadv_dat_forward_data()
[all …]
H A Dbat_iv_ogm.c139 batadv_iv_ogm_orig_get(struct batadv_priv *bat_priv, const u8 *addr) in batadv_iv_ogm_orig_get()
277 batadv_iv_ogm_emit_send_time(const struct batadv_priv *bat_priv) in batadv_iv_ogm_emit_send_time()
294 static u8 batadv_hop_penalty(u8 tq, const struct batadv_priv *bat_priv) in batadv_hop_penalty()
335 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_iv_ogm_send_to_if() local
439 struct batadv_priv *bat_priv, in batadv_iv_ogm_can_aggregate()
543 struct batadv_priv *bat_priv = netdev_priv(if_incoming->soft_iface); in batadv_iv_ogm_aggregate_new() local
618 static void batadv_iv_ogm_queue_add(struct batadv_priv *bat_priv, in batadv_iv_ogm_queue_add()
689 struct batadv_priv *bat_priv = netdev_priv(if_incoming->soft_iface); in batadv_iv_ogm_forward() local
742 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_iv_ogm_slide_own_bcast_window() local
781 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_iv_ogm_schedule_buff() local
[all …]
H A Doriginator.c57 batadv_orig_hash_find(struct batadv_priv * bat_priv,const void * data) batadv_orig_hash_find() argument
195 batadv_originator_init(struct batadv_priv * bat_priv) batadv_originator_init() argument
325 batadv_orig_to_router(struct batadv_priv * bat_priv,u8 * orig_addr,struct batadv_hard_iface * if_outgoing) batadv_orig_to_router() argument
545 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); batadv_hardif_neigh_create() local
735 struct batadv_priv *bat_priv; batadv_hardif_neigh_dump() local
888 batadv_originator_free(struct batadv_priv * bat_priv) batadv_originator_free() argument
930 batadv_orig_node_new(struct batadv_priv * bat_priv,const u8 * addr) batadv_orig_node_new() argument
1007 batadv_purge_neigh_ifinfo(struct batadv_priv * bat_priv,struct batadv_neigh_node * neigh) batadv_purge_neigh_ifinfo() argument
1050 batadv_purge_orig_ifinfo(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node) batadv_purge_orig_ifinfo() argument
1102 batadv_purge_orig_neighbors(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node) batadv_purge_orig_neighbors() argument
1161 batadv_find_best_neighbor(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node,struct batadv_hard_iface * if_outgoing) batadv_find_best_neighbor() argument
1196 batadv_purge_orig_node(struct batadv_priv * bat_priv,struct batadv_orig_node * orig_node) batadv_purge_orig_node() argument
1254 batadv_purge_orig_ref(struct batadv_priv * bat_priv) batadv_purge_orig_ref() argument
1298 struct batadv_priv *bat_priv; batadv_purge_orig() local
1322 struct batadv_priv *bat_priv; batadv_orig_dump() local
[all...]
H A Dmulticast_forw.c149 static bool batadv_mcast_forw_push_dest(struct batadv_priv *bat_priv, in batadv_mcast_forw_push_dest()
190 static int batadv_mcast_forw_push_dests_list(struct batadv_priv *bat_priv, in batadv_mcast_forw_push_dests_list()
230 batadv_mcast_forw_push_tt(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_push_tt()
276 static bool batadv_mcast_forw_push_want_all(struct batadv_priv *bat_priv, in batadv_mcast_forw_push_want_all()
322 static bool batadv_mcast_forw_push_want_rtr(struct batadv_priv *bat_priv, in batadv_mcast_forw_push_want_rtr()
492 batadv_mcast_forw_push_dests(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_push_dests()
584 batadv_mcast_forw_push_tvlvs(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_push_tvlvs()
657 batadv_mcast_forw_scrub_dests(struct batadv_priv *bat_priv, in batadv_mcast_forw_scrub_dests()
925 static int batadv_mcast_forw_packet(struct batadv_priv *bat_priv, in batadv_mcast_forw_packet()
1047 int batadv_mcast_forw_tracker_tvlv_handler(struct batadv_priv *bat_priv, in batadv_mcast_forw_tracker_tvlv_handler()
[all …]
H A Dgateway_common.c25 void batadv_gw_tvlv_container_update(struct batadv_priv *bat_priv) in batadv_gw_tvlv_container_update()
57 static void batadv_gw_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, in batadv_gw_tvlv_ogm_handler_v1()
94 void batadv_gw_init(struct batadv_priv *bat_priv) in batadv_gw_init()
110 void batadv_gw_free(struct batadv_priv *bat_priv) in batadv_gw_free()
H A Dlog.h24 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()
79 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \ argument
103 #define batadv_dbg(type, bat_priv, arg...) \ argument
112 #define batadv_dbg_ratelimited(type, bat_priv, arg...) \ argument
H A Dhard-interface.c462 static void batadv_primary_if_update_addr(struct batadv_priv *bat_priv, in batadv_primary_if_update_addr()
477 static void batadv_primary_if_select(struct batadv_priv *bat_priv, in batadv_primary_if_select()
583 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_hardif_min_mtu() local
634 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_update_min_mtu() local
657 struct batadv_priv *bat_priv; in batadv_hardif_activate_interface() local
712 struct batadv_priv *bat_priv; in batadv_hardif_enable_interface() local
825 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_hardif_disable_interface() local
944 struct batadv_priv *bat_priv; in batadv_hard_if_event_softif() local
962 struct batadv_priv *bat_priv; in batadv_hard_if_event() local
H A Dmain.c153 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_mesh_init() local
261 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_mesh_free() local
305 bool batadv_is_my_mac(struct batadv_priv *bat_priv, const u8 *addr) in batadv_is_my_mac()
431 struct batadv_priv *bat_priv; in batadv_batman_skb_recv() local
654 bool batadv_vlan_ap_isola_get(struct batadv_priv *bat_priv, unsigned short vid) in batadv_vlan_ap_isola_get()
681 int batadv_throw_uevent(struct batadv_priv *bat_priv, enum batadv_uev_type type, in batadv_throw_uevent()

12