Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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_DEBUGFS) += debugfs.o
15 batman-adv-$(CONFIG_BATMAN_ADV_DAT) += distributed-arp-table.o
[all …]
Dsoft-interface.c175 * We do not actually need to set any rx filters for the virtual batman
231 /* drop batman-in-batman packets to prevent loops */ in batadv_interface_tx()
342 /* batman packet type: broadcast */ in batadv_interface_tx()
408 * batadv_interface_rx() - receive ethernet frame on local batman-adv interface
411 * @hdr_size: size of already parsed batman-adv header
412 * @orig_node: originator from which the batman-adv packet was sent
415 * skb->data has still point to the batman-adv header with the size @hdr_size.
420 * ethernet frame is invalid or contains again an batman-adv packet. Also
441 /* clean the netfilter state now that the batman-adv header has been in batadv_interface_rx()
459 /* drop batman-in-batman packets to prevent loops */ in batadv_interface_rx()
[all …]
DKconfig64 Note that interfaces controlled by batman-adv must be manually
80 bool "batman-adv debugfs entries"
101 bool "batman-adv sysfs entries"
104 Say Y here if you want to enable batman-adv device configuration and
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()
614 * batman-adv can send over the wire (without considering the payload in batadv_hardif_min_mtu()
623 * However batman-adv does not support MTUs bigger than ETH_DATA_LEN in batadv_hardif_min_mtu()
[all …]
Dmain.c351 "BATMAN mesh %s disabled - please specify interfaces to enable it\n", in batadv_seq_print_text_primary_if_get()
360 "BATMAN mesh %s disabled - primary interface not active\n", in batadv_seq_print_text_primary_if_get()
457 /* incoming packets with the batman ethertype received on any active hard
519 "Drop packet: incompatible batman version (%i)\n", in batadv_batman_skb_recv()
587 /* batman icmp packet */ in batadv_recv_handler_init()
594 * batadv_recv_handler_register() - Register handler for batman-adv packet type
662 * @header_len: length of the batman header preceding the ethernet header
713 * batadv_throw_uevent() - Send an uevent with batman-adv specific env data
Dsysfs.h27 * struct batadv_attribute - sysfs export helper for batman-adv attributes
41 * in batman-adv attribute
Dmulticast.h28 * a multicast-to-unicast conversion and the BATMAN unicast routing
35 * via the BATMAN unicast routing protocol)
Dhard-interface.h27 * batman-adv soft interface
48 * added as slave interface of a batman-adv soft interface
Dsend.h73 * header via the translation table. Wrap the given skb into a batman-adv
95 * header via the translation table. Wrap the given skb into a batman-adv
Dsend.c246 /* batman packet type: unicast */ in batadv_send_skb_push_fill_unicast()
321 * @packet_type: the batman unicast packet type to use
327 * Wrap the given skb into a batman-adv unicast or unicast-4addr header
391 * @packet_type: the batman unicast packet type to use
398 * header via the translation table. Wrap the given skb into a batman-adv
440 * Look up the currently selected gateway. Wrap the given skb into a batman-adv
517 qname = "batman"; in batadv_forw_packet_alloc()
994 /* claim batman packet list for free() */ in batadv_purge_outstanding_packets()
/kernel/linux/linux-6.6/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 …]
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()
342 /* batman packet type: broadcast */ in batadv_interface_tx()
396 * batadv_interface_rx() - receive ethernet frame on local batman-adv interface
399 * @hdr_size: size of already parsed batman-adv header
400 * @orig_node: originator from which the batman-adv packet was sent
403 * skb->data has still point to the batman-adv header with the size @hdr_size.
408 * ethernet frame is invalid or contains again an batman-adv packet. Also
429 /* clean the netfilter state now that the batman-adv header has been in batadv_interface_rx()
447 /* 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.h20 * @BATADV_FORW_BCAST: forward the packet to all nodes via a batman-adv
27 * or more batman-adv unicast packets
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.c413 /* incoming packets with the batman ethertype received on any active hard
475 "Drop packet: incompatible batman version (%i)\n", in batadv_batman_skb_recv()
543 /* batman icmp packet */ in batadv_recv_handler_init()
550 * batadv_recv_handler_register() - Register handler for batman-adv packet type
618 * @header_len: length of the batman header preceding the ethernet header
669 * batadv_throw_uevent() - Send an uevent with batman-adv specific env data
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/ABI/obsolete/
Dsysfs-class-net-batman-adv4 What: /sys/class/net/<iface>/batman-adv/elp_interval
8 Defines the interval in milliseconds in which batman
11 What: /sys/class/net/<iface>/batman-adv/iface_status
15 Indicates the status of <iface> as it is seen by batman.
17 What: /sys/class/net/<iface>/batman-adv/mesh_iface
21 The /sys/class/net/<iface>/batman-adv/mesh_iface file
22 displays the batman mesh interface this <iface>
25 What: /sys/class/net/<iface>/batman-adv/throughput_override
31 If the value is set to 0 then batman-adv will try to
/kernel/linux/linux-6.6/include/uapi/linux/
Dbatadv_packet.h23 * enum batadv_packettype - types for batman-adv encapsulated packets
199 * @packet_type: batman-adv packet type, part of the general header
200 * @version: batman-adv protocol version, part of the general header
227 * @packet_type: batman-adv packet type, part of the general header
228 * @version: batman-adv protocol version, part of the general header
251 * @packet_type: batman-adv packet type, part of the general header
252 * @version: batman-adv protocol version, part of the general header
269 * @packet_type: batman-adv packet type, part of the general header
270 * @version: batman-adv protocol version, part of the general header
295 * @packet_type: batman-adv packet type, 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 …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dbatadv_packet.h23 * enum batadv_packettype - types for batman-adv encapsulated packets
197 * @packet_type: batman-adv packet type, part of the general header
198 * @version: batman-adv protocol version, part of the general header
225 * @packet_type: batman-adv packet type, part of the general header
226 * @version: batman-adv protocol version, part of the general header
249 * @packet_type: batman-adv packet type, part of the general header
250 * @version: batman-adv protocol version, part of the general header
267 * @packet_type: batman-adv packet type, part of the general header
268 * @version: batman-adv protocol version, part of the general header
293 * @packet_type: batman-adv packet type, 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-manager.txt22 batman@a {
39 sbs,battery-detect-gpios = <&batman 1 1>;
51 sbs,battery-detect-gpios = <&batman 2 1>;
63 sbs,battery-detect-gpios = <&batman 3 1>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-manager.yaml60 batman: battery-manager@a {
77 sbs,battery-detect-gpios = <&batman 1 1>;
89 sbs,battery-detect-gpios = <&batman 2 1>;
101 sbs,battery-detect-gpios = <&batman 3 1>;

123