/linux/net/batman-adv/ |
A D | distributed-arp-table.h | 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); 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() 164 static inline int batadv_dat_init(struct batadv_priv *bat_priv) in batadv_dat_init() [all …]
|
A 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, 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() 73 bool (*to_purge)(struct batadv_priv *, in batadv_nc_purge_orig() argument [all …]
|
A D | bridge_loop_avoidance.h | 36 bool batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb, 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); 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() 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() [all …]
|
A 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, 38 void batadv_tt_free(struct batadv_priv *bat_priv); 39 bool batadv_is_my_client(struct batadv_priv *bat_priv, const u8 *addr, 43 void batadv_tt_local_commit_changes(struct batadv_priv *bat_priv); 44 bool batadv_tt_global_client_is_roaming(struct batadv_priv *bat_priv, 46 bool batadv_tt_local_client_is_roaming(struct batadv_priv *bat_priv, [all …]
|
A D | multicast.h | 45 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 …]
|
A 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 …]
|
A D | tvlv.h | 15 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,
|
A 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 …]
|
A 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); \
|
A D | multicast.c | 246 batadv_mcast_mla_flags_get(struct batadv_priv *bat_priv) in batadv_mcast_mla_flags_get() 775 batadv_mcast_bridge_log(struct batadv_priv *bat_priv, in batadv_mcast_bridge_log() 909 struct batadv_priv *bat_priv; in batadv_mcast_mla_update() 1570 batadv_mcast_forw_want_all(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all() 1673 batadv_mcast_forw_want_rtr(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_rtr() 2038 void batadv_mcast_init(struct batadv_priv *bat_priv) in batadv_mcast_init() 2056 struct batadv_priv *bat_priv) in batadv_mcast_mesh_info_put() 2222 struct batadv_priv *bat_priv; in batadv_mcast_netlink_get_primary() 2266 struct batadv_priv *bat_priv; in batadv_mcast_flags_dump() 2286 void batadv_mcast_free(struct batadv_priv *bat_priv) in batadv_mcast_free() [all …]
|
A D | network-coding.c | 109 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_nc_status_update() 139 int batadv_nc_mesh_init(struct batadv_priv *bat_priv) in batadv_nc_mesh_init() 344 bool (*to_purge)(struct batadv_priv *, in batadv_nc_purge_orig_nc_nodes() argument 379 bool (*to_purge)(struct batadv_priv *, in batadv_nc_purge_orig() argument 432 bool (*to_purge)(struct batadv_priv *, in batadv_nc_purge_paths() argument 673 bool (*process_fn)(struct batadv_priv *, in batadv_nc_process_nc_paths() argument 716 struct batadv_priv *bat_priv; in batadv_nc_worker() 841 batadv_nc_get_nc_node(struct batadv_priv *bat_priv, in batadv_nc_get_nc_node() 1261 batadv_nc_path_search(struct batadv_priv *bat_priv, in batadv_nc_path_search() 1416 struct batadv_priv *bat_priv = netdev_priv(netdev); in batadv_nc_skb_dst_search() [all …]
|
A D | tvlv.c | 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() 511 void batadv_tvlv_handler_register(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() 512 void (*optr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() 517 int (*uptr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() [all …]
|
A D | translation-table.c | 638 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_tt_local_add() 1070 struct batadv_priv *bat_priv, in batadv_tt_local_dump_entry() 1131 struct batadv_priv *bat_priv, in batadv_tt_local_dump_bucket() 1169 struct batadv_priv *bat_priv; in batadv_tt_local_dump() 1864 struct batadv_priv *bat_priv, in batadv_tt_global_dump_entry() 1908 struct batadv_priv *bat_priv, in batadv_tt_global_dump_bucket() 1944 struct batadv_priv *bat_priv; in batadv_tt_global_dump() 2653 batadv_tt_req_node_new(struct batadv_priv *bat_priv, in batadv_tt_req_node_new() 3555 struct batadv_priv *bat_priv; in batadv_tt_purge() 3574 void batadv_tt_free(struct batadv_priv *bat_priv) in batadv_tt_free() [all …]
|
A 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() 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() 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() 972 int batadv_forw_bcast_packet(struct batadv_priv *bat_priv, in batadv_forw_bcast_packet() 993 void batadv_send_bcast_packet(struct batadv_priv *bat_priv, in batadv_send_bcast_packet() 1056 struct batadv_priv *bat_priv; in batadv_send_outstanding_bcast_packet() [all …]
|
A 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()
|
A D | netlink.h | 20 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,
|
A D | bat_v.c | 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() 582 batadv_v_gw_get_best_gw_node(struct batadv_priv *bat_priv) in batadv_v_gw_get_best_gw_node() 678 struct batadv_priv *bat_priv, in batadv_v_gw_dump_entry() 773 struct batadv_priv *bat_priv) in batadv_v_gw_dump() 854 int batadv_v_mesh_init(struct batadv_priv *bat_priv) in batadv_v_mesh_init() [all …]
|
A D | distributed-arp-table.c | 102 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() 675 static bool batadv_dat_forward_data(struct batadv_priv *bat_priv, in batadv_dat_forward_data() 766 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_dat_status_update() 794 static void batadv_dat_hash_free(struct batadv_priv *bat_priv) in batadv_dat_hash_free() 812 int batadv_dat_init(struct batadv_priv *bat_priv) in batadv_dat_init() 835 void batadv_dat_free(struct batadv_priv *bat_priv) in batadv_dat_free() 944 struct batadv_priv *bat_priv; in batadv_dat_cache_dump() [all …]
|
A D | gateway_client.c | 79 batadv_gw_get_selected_gw_node(struct batadv_priv *bat_priv) in batadv_gw_get_selected_gw_node() 103 batadv_gw_get_selected_orig(struct batadv_priv *bat_priv) in batadv_gw_get_selected_orig() 127 static void batadv_gw_select(struct batadv_priv *bat_priv, in batadv_gw_select() 156 void batadv_gw_reselect(struct batadv_priv *bat_priv) in batadv_gw_reselect() 197 void batadv_gw_election(struct batadv_priv *bat_priv) in batadv_gw_election() 286 void batadv_gw_check_election(struct batadv_priv *bat_priv, in batadv_gw_check_election() 398 void batadv_gw_node_update(struct batadv_priv *bat_priv, in batadv_gw_node_update() 464 void batadv_gw_node_delete(struct batadv_priv *bat_priv, in batadv_gw_node_delete() 479 void batadv_gw_node_free(struct batadv_priv *bat_priv) in batadv_gw_node_free() 506 struct batadv_priv *bat_priv; in batadv_gw_dump() [all …]
|
A D | bridge_loop_avoidance.c | 55 batadv_bla_send_announce(struct batadv_priv *bat_priv, 217 batadv_claim_hash_find(struct batadv_priv *bat_priv, in batadv_claim_hash_find() 461 struct batadv_priv *bat_priv; in batadv_bla_loopdetect_report() 1387 batadv_bla_send_loopdetect(struct batadv_priv *bat_priv, in batadv_bla_send_loopdetect() 1402 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_bla_status_update() 1427 struct batadv_priv *bat_priv; in batadv_bla_periodic_work() 1526 int batadv_bla_init(struct batadv_priv *bat_priv) in batadv_bla_init() 1802 void batadv_bla_free(struct batadv_priv *bat_priv) in batadv_bla_free() 2238 struct batadv_priv *bat_priv; in batadv_bla_claim_dump() 2408 struct batadv_priv *bat_priv; in batadv_bla_backbone_dump() [all …]
|
A D | bat_v_ogm.c | 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() 474 static u32 batadv_v_forward_penalty(struct batadv_priv *bat_priv, in batadv_v_forward_penalty() 517 static void batadv_v_ogm_forward(struct batadv_priv *bat_priv, in batadv_v_ogm_forward() 781 batadv_v_ogm_process_per_outif(struct batadv_priv *bat_priv, in batadv_v_ogm_process_per_outif() 1041 int batadv_v_ogm_init(struct batadv_priv *bat_priv) in batadv_v_ogm_init() [all …]
|
A D | types.h | 491 struct batadv_priv *bat_priv; 1382 struct batadv_priv *bat_priv; 1493 struct batadv_priv *bat_priv; 1539 struct batadv_priv { struct 1765 struct batadv_priv *bat_priv; 1801 struct batadv_priv *bat_priv; 2211 struct batadv_priv *priv, 2221 struct batadv_priv *priv, 2243 (struct batadv_priv *bat_priv); 2249 bool (*is_eligible)(struct batadv_priv *bat_priv, [all …]
|
A 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, 83 batadv_orig_hash_find(struct batadv_priv *bat_priv, const void *data);
|
A D | soft-interface.c | 115 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_stats() 128 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_set_mac_addr() 182 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_tx() 416 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_interface_rx() 627 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_add_vid() 674 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_interface_kill_vid() 733 struct batadv_priv *bat_priv; in batadv_softif_init_late() 957 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_get_ethtool_stats() 1060 struct batadv_priv *bat_priv = netdev_priv(dev); in batadv_softif_newlink() 1083 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_softif_destroy_netlink() [all …]
|
A D | netlink.c | 179 struct batadv_priv *bat_priv) in batadv_netlink_mesh_fill_ap_isolation() 203 struct batadv_priv *bat_priv) in batadv_netlink_set_mesh_ap_isolation() 229 struct batadv_priv *bat_priv, in batadv_netlink_mesh_fill() 412 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_get_mesh() 441 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_set_mesh() 710 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_tp_meter_start() 795 struct batadv_priv *bat_priv, in batadv_netlink_hardif_fill() 972 struct batadv_priv *bat_priv; in batadv_netlink_dump_hardif() 1035 struct batadv_priv *bat_priv, in batadv_netlink_vlan_fill() 1275 struct batadv_priv *bat_priv = NULL; in batadv_pre_doit() [all …]
|