/openbmc/linux/net/batman-adv/ |
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
H A 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 …]
|
H A D | multicast.h | 38 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, 41 int batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, 44 void batadv_mcast_init(struct batadv_priv *bat_priv); 47 struct batadv_priv *bat_priv); 51 void batadv_mcast_free(struct batadv_priv *bat_priv); 58 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_mode() 65 batadv_mcast_forw_send(struct batadv_priv *bat_priv, struct sk_buff *skb, in batadv_mcast_forw_send() 72 static inline int batadv_mcast_init(struct batadv_priv *bat_priv) in batadv_mcast_init() 78 batadv_mcast_mesh_info_put(struct sk_buff *msg, struct batadv_priv *bat_priv) in batadv_mcast_mesh_info_put() 89 static inline void batadv_mcast_free(struct batadv_priv *bat_priv) in batadv_mcast_free()
|
H 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 …]
|
H 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); \
|
H 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() 1350 batadv_mcast_forw_want_all(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_all() 1453 batadv_mcast_forw_want_rtr(struct batadv_priv *bat_priv, in batadv_mcast_forw_want_rtr() 1818 void batadv_mcast_init(struct batadv_priv *bat_priv) in batadv_mcast_init() 1836 struct batadv_priv *bat_priv) in batadv_mcast_mesh_info_put() 2002 struct batadv_priv *bat_priv; in batadv_mcast_netlink_get_primary() 2046 struct batadv_priv *bat_priv; in batadv_mcast_flags_dump() 2066 void batadv_mcast_free(struct batadv_priv *bat_priv) in batadv_mcast_free() [all …]
|
H 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()
|
H A D | network-coding.c | 105 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_nc_status_update() 135 int batadv_nc_mesh_init(struct batadv_priv *bat_priv) in batadv_nc_mesh_init() 340 bool (*to_purge)(struct batadv_priv *, in batadv_nc_purge_orig_nc_nodes() argument 375 bool (*to_purge)(struct batadv_priv *, in batadv_nc_purge_orig() argument 428 bool (*to_purge)(struct batadv_priv *, in batadv_nc_purge_paths() argument 669 bool (*process_fn)(struct batadv_priv *, in batadv_nc_process_nc_paths() argument 712 struct batadv_priv *bat_priv; in batadv_nc_worker() 837 batadv_nc_get_nc_node(struct batadv_priv *bat_priv, in batadv_nc_get_nc_node() 1257 batadv_nc_path_search(struct batadv_priv *bat_priv, in batadv_nc_path_search() 1412 struct batadv_priv *bat_priv = netdev_priv(netdev); in batadv_nc_skb_dst_search() [all …]
|
H A D | tvlv.c | 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() 535 void batadv_tvlv_handler_register(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() 536 void (*optr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() 541 int (*uptr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() 545 int (*mptr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() [all …]
|
H 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 …]
|
H A D | translation-table.c | 638 struct batadv_priv *bat_priv = netdev_priv(soft_iface); in batadv_tt_local_add() 1069 struct batadv_priv *bat_priv, in batadv_tt_local_dump_entry() 1130 struct batadv_priv *bat_priv, in batadv_tt_local_dump_bucket() 1168 struct batadv_priv *bat_priv; in batadv_tt_local_dump() 1863 struct batadv_priv *bat_priv, in batadv_tt_global_dump_entry() 1907 struct batadv_priv *bat_priv, in batadv_tt_global_dump_bucket() 1943 struct batadv_priv *bat_priv; in batadv_tt_global_dump() 2652 batadv_tt_req_node_new(struct batadv_priv *bat_priv, in batadv_tt_req_node_new() 3554 struct batadv_priv *bat_priv; in batadv_tt_purge() 3573 void batadv_tt_free(struct batadv_priv *bat_priv) in batadv_tt_free() [all …]
|
H A 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);
|
H 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);
|
H A 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);
|
H A 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,
|
H A 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() 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() 399 void batadv_gw_node_update(struct batadv_priv *bat_priv, in batadv_gw_node_update() 465 void batadv_gw_node_delete(struct batadv_priv *bat_priv, in batadv_gw_node_delete() 480 void batadv_gw_node_free(struct batadv_priv *bat_priv) in batadv_gw_node_free() 507 struct batadv_priv *bat_priv; in batadv_gw_dump() [all …]
|
H A D | gateway_common.c | 25 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 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() 674 static bool batadv_dat_forward_data(struct batadv_priv *bat_priv, in batadv_dat_forward_data() 765 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_dat_status_update() 793 static void batadv_dat_hash_free(struct batadv_priv *bat_priv) in batadv_dat_hash_free() 811 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 …]
|
H 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() 563 batadv_v_gw_get_best_gw_node(struct batadv_priv *bat_priv) in batadv_v_gw_get_best_gw_node() 659 struct batadv_priv *bat_priv, in batadv_v_gw_dump_entry() 754 struct batadv_priv *bat_priv) in batadv_v_gw_dump() 835 int batadv_v_mesh_init(struct batadv_priv *bat_priv) in batadv_v_mesh_init() [all …]
|
H A D | bat_v_ogm.c | 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() 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() 782 batadv_v_ogm_process_per_outif(struct batadv_priv *bat_priv, in batadv_v_ogm_process_per_outif() 1043 int batadv_v_ogm_init(struct batadv_priv *bat_priv) in batadv_v_ogm_init() [all …]
|
H A 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() 462 struct batadv_priv *bat_priv; in batadv_bla_loopdetect_report() 1388 batadv_bla_send_loopdetect(struct batadv_priv *bat_priv, in batadv_bla_send_loopdetect() 1403 struct batadv_priv *bat_priv = netdev_priv(net_dev); in batadv_bla_status_update() 1428 struct batadv_priv *bat_priv; in batadv_bla_periodic_work() 1527 int batadv_bla_init(struct batadv_priv *bat_priv) in batadv_bla_init() 1803 void batadv_bla_free(struct batadv_priv *bat_priv) in batadv_bla_free() 2239 struct batadv_priv *bat_priv; in batadv_bla_claim_dump() 2409 struct batadv_priv *bat_priv; in batadv_bla_backbone_dump() [all …]
|