Home
last modified time | relevance | path

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

12

/openbmc/linux/net/batman-adv/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dmulticast.h20 * @BATADV_FORW_BCAST: forward the packet to all nodes via a batman-adv
27 * or more batman-adv unicast packets
H A 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
H A 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
H A 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()
H A Dmulticast.c286 * In both cases, we will signalize other batman nodes that in batadv_mcast_mla_flags_get()
721 * forward listener reports to the querier, therefore batman-adv and
1221 * via a batman-adv unicast packet for each such destination node.
1269 * batman-adv unicast packet for each such destination node.
1306 * batman-adv unicast packet for each such destination node.
1343 * transmission is performed via a batman-adv unicast packet for each such
1372 * batman-adv unicast packet for each such destination node.
1409 * batman-adv unicast packet for each such destination node.
1446 * transmission is performed via a batman-adv unicast packet for each such
1476 * want-all flags. A transmission is performed via a batman-adv unicast packet
H A Dhard-interface.h26 * batman-adv soft interface
H A 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 */
1334 * hard-interface; and 3) skbs forwarded by batman-adv.
1749 * struct batadv_bla_backbone_gw - batman-adv gateway bridged into the LAN
2052 * relevant to batman-adv in the skb->cb buffer in skbs.
2245 * struct batadv_dat_entry - it is a single entry of batman-adv ARP backend. It
H A Dbat_v_elp.c93 * batman-adv interface in batadv_v_elp_get_throughput()
242 * enough traffic has been sent to the neighbor, batman-adv can in batadv_v_elp_wifi_neigh_probe()
333 * node is dead and no longer sends packets, batman-adv is still able to in batadv_v_elp_periodic_work()
H A DKconfig63 Note that interfaces controlled by batman-adv must be manually
H A Dmain.h13 #define BATADV_DRIVER_DEVICE "batman-adv"
202 /* Append 'batman-adv: ' before kernel messages */
H A 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
H A 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()
H A Dbat_algo.c28 * batadv_algo_init() - Initialize batman-adv algorithm management data
H A 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()
H A 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
/openbmc/linux/Documentation/networking/
H A 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 …]
H A Dindex.rst13 batman-adv
/openbmc/linux/include/uapi/linux/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A 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>;
/openbmc/linux/net/
H A DMakefile66 obj-$(CONFIG_BATMAN_ADV) += batman-adv/
H A DKconfig259 source "net/batman-adv/Kconfig"

12