| /linux/Documentation/networking/ |
| H A D | batman-adv.rst | 4 batman-adv 7 Batman advanced is a new approach to wireless networking which does no longer 8 operate on the IP basis. Unlike the batman daemon, which exchanges information 9 using UDP packets and sets routing tables, batman-advanced operates on ISO/OSI 14 above batman advanced, prominent examples are: IPv4, IPv6, DHCP, IPX. 16 Batman advanced was implemented as a Linux kernel driver to reduce the overhead 25 Load the batman-adv module into your kernel:: 27 $ insmod batman-adv.ko 30 batman-adv can operate. The batman-adv mesh-interface can be created using the 39 Repeat this step for all interfaces you wish to add. Now batman-adv starts [all …]
|
| H A D | index.rst | 13 batman-adv
|
| /linux/include/uapi/linux/ |
| H A D | batman_adv.h | 139 * enum batadv_nl_attrs - batman-adv netlink attributes 148 * @BATADV_ATTR_VERSION: batman-adv version string 158 * @BATADV_ATTR_MESH_IFINDEX: index of the batman-adv interface 163 * @BATADV_ATTR_MESH_IFNAME: name of the batman-adv interface 168 * @BATADV_ATTR_MESH_ADDRESS: mac address of the batman-adv interface 173 * @BATADV_ATTR_HARD_IFINDEX: index of the non-batman-adv interface 178 * @BATADV_ATTR_HARD_IFNAME: name of the non-batman-adv interface 183 * @BATADV_ATTR_HARD_ADDRESS: mac address of the non-batman-adv 350 * @BATADV_ATTR_AGGREGATED_OGMS_ENABLED: whether the batman protocol 459 * which batman sends its protocol messages. [all …]
|
| /linux/net/batman-adv/ |
| H A D | multicast_forw.c | 607 * Pushes a batman-adv multicast packet header onto the given skb and sets 643 * This sorts destination entries into either the original batman-adv 647 * In preparation for the next, to be (unicast) transmitted batman-adv multicast 738 * @skb: the batman-adv multicast packet to compact destinations in 810 * @skb: the batman-adv multicast packet to update headers of 813 * This updates any fields of a batman-adv multicast packet that are affected 819 * The batman-adv multicast packet's total TVLV length field. 821 * Return: The offset in skb's tail direction at which the new batman-adv 862 * @skb: the batman-adv multicast packet to move headers for 865 * Moves the batman-adv multicast packet header, its multicast tracker TVLV and [all …]
|
| H A D | mesh-interface.c | 159 * We do not actually need to set any rx filters for the virtual batman 214 /* drop batman-in-batman packets to prevent loops */ in batadv_interface_tx() 330 /* batman packet type: broadcast */ in batadv_interface_tx() 386 * batadv_interface_rx() - receive ethernet frame on local batman-adv interface 389 * @hdr_size: size of already parsed batman-adv header 390 * @orig_node: originator from which the batman-adv packet was sent 393 * skb->data has still point to the batman-adv header with the size @hdr_size. 398 * ethernet frame is invalid or contains again an batman-adv packet. Also 419 /* clean the netfilter state now that the batman-adv header has been in batadv_interface_rx() 437 /* drop batman-in-batman packets to prevent loops */ in batadv_interface_rx() [all …]
|
| H A D | hard-interface.c | 138 * batadv_is_on_batman_iface() - check if a device is a batman iface descendant 141 * If the user creates any virtual device on top of a batman-adv interface, it 143 * mesh network (this behaviour would lead to a batman-over-batman 145 * device passed as argument looking for a batman-adv mesh interface. 147 * Return: true if the device is descendant of a batman-adv mesh interface (or 148 * if it is a batman-adv interface itself), false otherwise 158 /* check if this is a batman-adv mesh interface */ in batadv_is_on_batman_iface() 199 /* no batman over batman */ in batadv_is_valid_iface() 610 * batman-adv can send over the wire (without considering the payload in batadv_hardif_min_mtu() 752 …"The MTU of interface %s is too small (%i) to handle the transport of batman-adv packets. Packets … in batadv_hardif_enable_interface() [all …]
|
| H A D | multicast.h | 21 * @BATADV_FORW_BCAST: forward the packet to all nodes via a batman-adv 28 * or more batman-adv unicast packets 34 * batman-adv multicast packet
|
| H A D | types.h | 167 * struct batadv_hard_iface - network device known to batman-adv 173 /** @if_status: status of the interface for batman-adv */ 198 * processed by batman-adv for this interface 203 * @mesh_iface: the batman-adv interface which uses this network 274 /** @batman_seqno_reset: time when the batman seqno window was reset */ 854 * @BATADV_CNT_MCAST_TX: transmitted batman-adv multicast packets 860 * @BATADV_CNT_MCAST_TX_BYTES: transmitted batman-adv multicast packets 867 * were locally encapsulated and transmitted as batman-adv multicast 874 * which were locally encapsulated and transmitted as batman-adv 880 * @BATADV_CNT_MCAST_RX: received batman-adv multicast packet counter [all …]
|
| H A D | main.c | 393 /* incoming packets with the batman ethertype received on any active hard 455 "Drop packet: incompatible batman version (%i)\n", in batadv_batman_skb_recv() 525 /* batman icmp packet */ in batadv_recv_handler_init() 532 * batadv_recv_handler_register() - Register handler for batman-adv packet type 567 * @header_len: length of the batman header preceding the ethernet header 625 * batadv_throw_uevent() - Send an uevent with batman-adv specific env data
|
| H A D | multicast.c | 315 * In both cases, we will signalize other batman nodes that in batadv_mcast_mla_flags_get() 750 * forward listener reports to the querier, therefore batman-adv and 1179 * complete batman-adv multicast header. 1185 * would still fit into an 1280 bytes batman-adv multicast packet 1187 * the full batman-adv multicast packet header. 1188 * BATADV_FORW_UCASTS: If the packet cannot be sent in a batman-adv 1189 * multicast packet and the amount of batman-adv unicast packets needed 1295 * via a batman-adv unicast packet for each such destination node. 1343 * batman-adv unicast packet for each such destination node. 1380 * batman-adv unicast packet for each such destination node. [all …]
|
| H A D | send.h | 77 * header via the translation table. Wrap the given skb into a batman-adv 99 * header via the translation table. Wrap the given skb into a batman-adv
|
| H A D | send.c | 232 /* batman packet type: unicast */ in batadv_send_skb_push_fill_unicast() 306 * @packet_type: the batman unicast packet type to use 312 * Wrap the given skb into a batman-adv unicast or unicast-4addr header 376 * @packet_type: the batman unicast packet type to use 383 * header via the translation table. Wrap the given skb into a batman-adv 424 * Look up the currently selected gateway. Wrap the given skb into a batman-adv 498 qname = "batman"; in batadv_forw_packet_alloc() 1112 /* claim batman packet list for free() */ in batadv_purge_outstanding_packets()
|
| H A D | bat_v_elp.c | 92 * batman-adv interface in batadv_v_elp_get_throughput() 249 * enough traffic has been sent to the neighbor, batman-adv can in batadv_v_elp_wifi_neigh_probe() 340 * node is dead and no longer sends packets, batman-adv is still able to in batadv_v_elp_periodic_work()
|
| H A D | hard-interface.h | 25 * batman-adv mesh interface
|
| H A D | bat_v_ogm.c | 115 * batadv_v_ogm_send_to_if() - send a batman ogm using a given interface 233 * batadv_v_ogm_queue_on_if() - queue a batman ogm on a given interface 768 * batadv_v_ogm_process_per_outif() - process a batman v OGM for an outgoing if 842 * batadv_v_ogm_process() - process an incoming batman v OGM
|
| H A D | bat_iv_ogm.c | 324 /* send a batman ogm to a given interface */ 388 /* send a batman ogm packet */ 1211 * batadv_iv_ogm_update_seqnos() - process a batman packet for all interfaces, 1340 * batadv_iv_ogm_process_per_outif() - process a batman iv OGM for an outgoing 1583 * batadv_iv_ogm_process() - process an incoming batman iv OGM 1606 /* Silently drop when the batman packet is actually not a in batadv_iv_ogm_process() 1630 …"Received BATMAN packet via NB: %pM, IF: %s [%pM] (from OG: %pM, via prev OG: %pM, seqno %u, tq %d… in batadv_iv_ogm_process() 2567 /* batman originator packet */ in batadv_iv_init()
|
| H A D | bat_algo.c | 29 * batadv_algo_init() - Initialize batman-adv algorithm management data
|
| H A D | bridge_loop_avoidance.c | 889 * @primary_if: the primary hard interface of this batman mesh interface 922 * @primary_if: the primary hard interface of this batman mesh interface 960 * @primary_if: the primary hard interface of this batman mesh interface 997 * @primary_if: the primary interface of this batman interface 1072 * @primary_if: the primary hard interface of this batman mesh interface 1891 * @packet_type: the batman packet type this frame came in 1934 * delivery use the following two batman packet types. in batadv_bla_rx()
|
| H A D | gateway_client.c | 185 /* if batman-adv is switching the gw client mode off and a gateway was in batadv_gw_check_client_stop() 539 * @header_len: a pointer to the batman-adv header size
|
| H A D | fragmentation.c | 475 * batman-adv fragments were created and submitted to the in batadv_frag_send_packet()
|
| /linux/Documentation/devicetree/bindings/power/supply/ |
| H A D | sbs,sbs-manager.yaml | 66 batman: battery-manager@a { 83 sbs,battery-detect-gpios = <&batman 1 1>; 95 sbs,battery-detect-gpios = <&batman 2 1>; 107 sbs,battery-detect-gpios = <&batman 3 1>;
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | index.rst | 38 * batman-adv
|
| /linux/net/ |
| H A D | Makefile | 61 obj-$(CONFIG_BATMAN_ADV) += batman-adv/
|
| H A D | Kconfig | 274 source "net/batman-adv/Kconfig"
|
| /linux/net/core/ |
| H A D | flow_dissector.c | 775 * __skb_flow_dissect_batadv() - dissect batman-adv header 776 * @skb: sk_buff to with the batman-adv header
|