Home
last modified time | relevance | path

Searched full:batman (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.12.1/net/batman-adv/
DMakefile6 obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
7 batman-adv-y += bat_algo.o
8 batman-adv-y += bat_iv_ogm.o
9 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v.o
10 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_elp.o
11 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_ogm.o
12 batman-adv-y += bitarray.o
13 batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o
14 batman-adv-$(CONFIG_BATMAN_ADV_DAT) += distributed-arp-table.o
15 batman-adv-y += fragmentation.o
[all …]
Dmulticast_forw.c607 * 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 …]
Dsoft-interface.c172 * We do not actually need to set any rx filters for the virtual batman
227 /* drop batman-in-batman packets to prevent loops */ in batadv_interface_tx()
343 /* batman packet type: broadcast */ in batadv_interface_tx()
399 * batadv_interface_rx() - receive ethernet frame on local batman-adv interface
402 * @hdr_size: size of already parsed batman-adv header
403 * @orig_node: originator from which the batman-adv packet was sent
406 * skb->data has still point to the batman-adv header with the size @hdr_size.
411 * ethernet frame is invalid or contains again an batman-adv packet. Also
432 /* clean the netfilter state now that the batman-adv header has been in batadv_interface_rx()
450 /* drop batman-in-batman packets to prevent loops */ in batadv_interface_rx()
[all …]
Dhard-interface.c137 * batadv_is_on_batman_iface() - check if a device is a batman iface descendant
140 * If the user creates any virtual device on top of a batman-adv interface, it
142 * mesh network (this behaviour would lead to a batman-over-batman
144 * device passed as argument looking for a batman-adv soft interface.
146 * Return: true if the device is descendant of a batman-adv mesh interface (or
147 * if it is a batman-adv interface itself), false otherwise
157 /* check if this is a batman-adv mesh interface */ in batadv_is_on_batman_iface()
198 /* no batman over batman */ in batadv_is_valid_iface()
613 * batman-adv can send over the wire (without considering the payload in batadv_hardif_min_mtu()
622 * However batman-adv does not support MTUs bigger than ETH_DATA_LEN in batadv_hardif_min_mtu()
[all …]
Dmulticast.h21 * @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
Dtypes.h166 * struct batadv_hard_iface - network device known to batman-adv
172 /** @if_status: status of the interface for batman-adv */
194 * processed by batman-adv for this interface
199 * @soft_iface: the batman-adv interface which uses this network
267 /** @batman_seqno_reset: time when the batman seqno window was reset */
867 * @BATADV_CNT_MCAST_TX: transmitted batman-adv multicast packets
873 * @BATADV_CNT_MCAST_TX_BYTES: transmitted batman-adv multicast packets
880 * were locally encapsulated and transmitted as batman-adv multicast
887 * which were locally encapsulated and transmitted as batman-adv
893 * @BATADV_CNT_MCAST_RX: received batman-adv multicast packet counter
[all …]
Dsend.h77 * 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
Dmain.c414 /* incoming packets with the batman ethertype received on any active hard
476 "Drop packet: incompatible batman version (%i)\n", in batadv_batman_skb_recv()
546 /* batman icmp packet */ in batadv_recv_handler_init()
553 * batadv_recv_handler_register() - Register handler for batman-adv packet type
621 * @header_len: length of the batman header preceding the ethernet header
672 * batadv_throw_uevent() - Send an uevent with batman-adv specific env data
Dmulticast.c318 * In both cases, we will signalize other batman nodes that in batadv_mcast_mla_flags_get()
753 * forward listener reports to the querier, therefore batman-adv and
1182 * complete batman-adv multicast header.
1188 * would still fit into an 1280 bytes batman-adv multicast packet
1190 * the full batman-adv multicast packet header.
1191 * BATADV_FORW_UCASTS: If the packet cannot be sent in a batman-adv
1192 * multicast packet and the amount of batman-adv unicast packets needed
1298 * via a batman-adv unicast packet for each such destination node.
1346 * batman-adv unicast packet for each such destination node.
1383 * batman-adv unicast packet for each such destination node.
[all …]
Dsend.c245 /* batman packet type: unicast */ in batadv_send_skb_push_fill_unicast()
319 * @packet_type: the batman unicast packet type to use
325 * Wrap the given skb into a batman-adv unicast or unicast-4addr header
389 * @packet_type: the batman unicast packet type to use
396 * header via the translation table. Wrap the given skb into a batman-adv
437 * Look up the currently selected gateway. Wrap the given skb into a batman-adv
511 qname = "batman"; in batadv_forw_packet_alloc()
1127 /* claim batman packet list for free() */ in batadv_purge_outstanding_packets()
Dhard-interface.h26 * batman-adv soft interface
DKconfig63 Note that interfaces controlled by batman-adv must be manually
Dmain.h13 #define BATADV_DRIVER_DEVICE "batman-adv"
202 /* Append 'batman-adv: ' before kernel messages */
Dbat_v_ogm.c117 * batadv_v_ogm_send_to_if() - send a batman ogm using a given interface
235 * batadv_v_ogm_queue_on_if() - queue a batman ogm on a given interface
772 * batadv_v_ogm_process_per_outif() - process a batman v OGM for an outgoing if
847 * batadv_v_ogm_process() - process an incoming batman v OGM
Dbat_iv_ogm.c331 /* send a batman ogm to a given interface */
396 /* send a batman ogm packet */
1195 * batadv_iv_ogm_update_seqnos() - process a batman packet for all interfaces,
1298 * batadv_iv_ogm_process_per_outif() - process a batman iv OGM for an outgoing
1544 * batadv_iv_ogm_process() - process an incoming batman iv OGM
1566 /* Silently drop when the batman packet is actually not a in batadv_iv_ogm_process()
1590 …"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()
2535 /* batman originator packet */ in batadv_iv_init()
Dbat_algo.c28 * batadv_algo_init() - Initialize batman-adv algorithm management data
Dbat_v_elp.c208 * enough traffic has been sent to the neighbor, batman-adv can in batadv_v_elp_wifi_neigh_probe()
295 * node is dead and no longer sends packets, batman-adv is still able to in batadv_v_elp_periodic_work()
Dbridge_loop_avoidance.c888 * @primary_if: the primary hard interface of this batman soft interface
921 * @primary_if: the primary hard interface of this batman soft interface
959 * @primary_if: the primary hard interface of this batman soft interface
996 * @primary_if: the primary interface of this batman interface
1071 * @primary_if: the primary hard interface of this batman soft interface
1883 * @packet_type: the batman packet type this frame came in
1926 * delivery use the following two batman packet types. in batadv_bla_rx()
Dgateway_client.c186 /* if batman-adv is switching the gw client mode off and a gateway was in batadv_gw_check_client_stop()
549 * @header_len: a pointer to the batman-adv header size
/linux-6.12.1/Documentation/networking/
Dbatman-adv.rst4 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 soft-interface can be created using the
39 Repeat this step for all interfaces you wish to add. Now batman-adv starts
[all …]
Dindex.rst13 batman-adv
/linux-6.12.1/include/uapi/linux/
Dbatadv_packet.h23 * enum batadv_packettype - types for batman-adv encapsulated packets
120 * batman-adv multicast packets with a multicast tracker TVLV. And all our
205 * @packet_type: batman-adv packet type, part of the general header
206 * @version: batman-adv protocol version, part of the general header
233 * @packet_type: batman-adv packet type, part of the general header
234 * @version: batman-adv protocol version, part of the general header
257 * @packet_type: batman-adv packet type, part of the general header
258 * @version: batman-adv protocol version, part of the general header
275 * @packet_type: batman-adv packet type, part of the general header
276 * @version: batman-adv protocol version, part of the general header
[all …]
Dbatman_adv.h139 * 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-6.12.1/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-manager.yaml66 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-6.12.1/net/
DMakefile65 obj-$(CONFIG_BATMAN_ADV) += batman-adv/

12