Home
last modified time | relevance | path

Searched full:multicast (Results 1 – 25 of 1078) sorted by relevance

12345678910>>...44

/kernel/linux/linux-5.10/net/batman-adv/
Dmulticast.c7 #include "multicast.h"
67 * batadv_mcast_start_timer() - schedule the multicast periodic worker
107 * Checks the presence of an IPv4 multicast router on this node.
128 * Checks the presence of an IPv6 multicast router on this node.
158 * Checks the presence of IPv4 and IPv6 multicast routers on this
162 * BATADV_NO_FLAGS: Both an IPv4 and IPv6 multicast router is present
163 * BATADV_MCAST_WANT_NO_RTR4: No IPv4 multicast router is present
164 * BATADV_MCAST_WANT_NO_RTR6: No IPv6 multicast router is present
165 * The former two OR'd: no multicast router is present
189 * Checks the presence of IPv4 and IPv6 multicast routers behind a bridge.
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dmulticast.c115 struct ib_sa_multicast multicast; member
222 * A multicast group has four types of members: full member, non member,
238 * If a multicast group has zero members left for a particular join state, but
338 &member->multicast.rec, in send_join()
339 member->multicast.comp_mask, in send_join()
371 member->multicast.rec = group->rec; in join_group()
372 member->multicast.rec.join_state = join_state; in join_group()
382 return member->multicast.callback(status, &member->multicast); in fail_join()
406 adjust_membership(group, member->multicast.rec.join_state, -1); in process_group_error()
410 ret = member->multicast.callback(-ENETRESET, in process_group_error()
[all …]
/kernel/linux/linux-5.10/include/rdma/
Dib_sa.h447 struct ib_sa_multicast *multicast);
452 * ib_sa_join_multicast - Initiates a join request to the specified multicast
455 * @device: Device associated with the multicast group.
456 * @port_num: Port on the specified device to associate with the multicast
458 * @rec: SA multicast member record specifying group attributes.
465 * This call initiates a multicast join request with the SA for the specified
466 * multicast group. If the join operation is started successfully, it returns
467 * an ib_sa_multicast structure that is used to track the multicast operation.
476 * -ENETRESET: Indicates that an fatal error has occurred on the multicast
485 *multicast),
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dmroute6.h16 * Protocol Independent Multicast (PIM) data structures included
26 #define MRT6_ADD_MFC (MRT6_BASE+4) /* Add a multicast forwarding entry */
27 #define MRT6_DEL_MFC (MRT6_BASE+5) /* Delete a multicast forwarding entry */
28 #define MRT6_VERSION (MRT6_BASE+6) /* Get the kernel multicast version */
42 #define MRT6_FLUSH_MFC 1 /* Flush multicast entries */
43 #define MRT6_FLUSH_MFC_STATIC 2 /* Flush static multicast entries */
44 #define MRT6_FLUSH_MIFS 4 /* Flushing multicast vifs */
45 #define MRT6_FLUSH_MIFS_STATIC 8 /* Flush static multicast vifs */
126 * Structure used to communicate from kernel to multicast router.
Dmroute.h14 * Protocol Independent Multicast (PIM) data structures included
23 #define MRT_ADD_MFC (MRT_BASE+4) /* Add a multicast forwarding entry */
24 #define MRT_DEL_MFC (MRT_BASE+5) /* Delete a multicast forwarding entry */
25 #define MRT_VERSION (MRT_BASE+6) /* Get the kernel multicast version */
39 #define MRT_FLUSH_MFC 1 /* Flush multicast entries */
40 #define MRT_FLUSH_MFC_STATIC 2 /* Flush static multicast entries */
41 #define MRT_FLUSH_VIFS 4 /* Flush multicast vifs */
42 #define MRT_FLUSH_VIFS_STATIC 8 /* Flush static multicast vifs */
Dbatman_adv.h78 * enum batadv_mcast_flags_priv - Private, own multicast flags
80 * These are internal, multicast related flags. Currently they describe certain
81 * multicast related attributes of the segment this originator bridges into the
84 * Those attributes are used to determine the public multicast flags this
111 * exists, whether it is potentially shadowing multicast listeners
118 * exists, whether it is potentially shadowing multicast listeners
335 * @BATADV_ATTR_MCAST_FLAGS: Per originator multicast flags
340 * @BATADV_ATTR_MCAST_FLAGS_PRIV: Private, own multicast flags
442 * @BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED: whether multicast
444 * of multicast packets. If set to non-zero then all nodes in the mesh
[all …]
Din.h61 IPPROTO_MTP = 92, /* Multicast Transport Protocol */
67 IPPROTO_PIM = 103, /* Protocol Independent Multicast */
170 /* Request struct for multicast socket ops */
174 struct in_addr imr_multiaddr; /* IP multicast address of group */
179 struct in_addr imr_multiaddr; /* IP multicast address of group */
215 struct __kernel_sockaddr_storage gf_group; /* multicast address */
302 /* Defines for Multicast INADDR */
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c55 "Enable multicast debug tracing if > 0");
104 * allocate the broadcast multicast group, wait in __ipoib_mcast_schedule_join_thread()
117 ipoib_dbg_mcast(ipoib_priv(dev), "deleting multicast group %pI6\n", in ipoib_mcast_free()
224 /* Set the multicast MTU and cached Q_Key before we attach if it's in ipoib_mcast_join_finish()
258 ipoib_warn(priv, "multicast group %pI6 already attached\n", in ipoib_mcast_join_finish()
268 ipoib_warn(priv, "couldn't attach QP to multicast group %pI6\n", in ipoib_mcast_join_finish()
367 struct ib_sa_multicast *multicast) in ipoib_mcast_join_complete() argument
369 struct ipoib_mcast *mcast = multicast->context; in ipoib_mcast_join_complete()
385 status = ipoib_mcast_join_finish(mcast, &multicast->rec); in ipoib_mcast_join_complete()
393 * deadlock on rtnl_lock here. Requeue our multicast in ipoib_mcast_join_complete()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Drouter_multicast.sh252 check_err $? "Multicast not received on first host"
254 check_err $? "Multicast not received on second host"
262 check_err $? "Multicast received on host although deleted"
264 check_err $? "Multicast received on second host although deleted"
292 check_err $? "Multicast not received on first host"
294 check_err $? "Multicast not received on second host"
302 check_err $? "Multicast received on first host although deleted"
304 check_err $? "Multicast received on second host although deleted"
314 # Add a multicast route from first router port to the other two. Send
318 # test that devices capable of multicast routing offload trap those
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmcast.c57 * rvt_driver_mcast - init resources for multicast
65 * Anything that needs setup for multicast on a per driver or per rdi in rvt_driver_mcast_init()
101 * mcast_alloc - allocate the multicast GID structure
102 * @mgid: the multicast GID
137 * rvt_mcast_find - search the global table for the given multicast GID/LID
141 * @mgid: the multicast GID to search for
142 * @lid: the multicast LID portion of the multicast address (host order)
273 * rvt_attach_mcast - attach a qp to a multicast group
275 * @gid: multicast guid
276 * @lid: multicast lid
[all …]
/kernel/linux/linux-5.10/include/net/
Dgenetlink.h12 * struct genl_multicast_group - generic netlink multicast group
13 * @name: name of the multicast group, names are per-family
38 * @mcgrps: multicast groups used by this family
39 * @n_mcgrps: number of multicast groups
40 * @mcgrp_offset: starting number of multicast group IDs in this family
295 * genlmsg_multicast_netns - multicast a netlink message to a specific netns
300 * @group: offset of multicast group in groups array
314 * genlmsg_multicast - multicast a netlink message to the default netns
318 * @group: offset of multicast group in groups array
330 * genlmsg_multicast_allns - multicast a netlink message to all net namespaces
[all …]
/kernel/linux/linux-5.10/net/ipv6/
DKconfig226 tunneling" above). In addition, GRE allows multicast redistribution
261 bool "IPv6: multicast routing"
265 Support for IPv6 multicast forwarding.
269 bool "IPv6: multicast policy routing"
273 Normally, a multicast router runs a userspace daemon and decides
274 what to do with a multicast packet based on the source and
275 destination addresses. If you say Y here, the multicast router
286 Support for IPv6 PIM multicast routing protocol PIM-SMv2.
/kernel/linux/linux-5.10/net/core/
Ddev_addr_lists.c6 * This file contains functions for working with unicast, multicast and device
225 * __hw_addr_sync_dev - Synchonize device's multicast list
277 * __hw_addr_ref_sync_dev - Synchronize device's multicast address list taking
738 * Multicast list handling functions
742 * dev_mc_add_excl - Add a global secondary multicast address
783 * dev_mc_add - Add a multicast address
787 * Add a multicast address to the device or increase
797 * dev_mc_add_global - Add a global multicast address
801 * Add a global multicast address to the device.
824 * dev_mc_del - Delete a multicast address.
[all …]
/kernel/linux/linux-5.10/Documentation/networking/devlink/
Ddevlink-trap.rst14 For example, a device acting as a multicast-aware bridge must be able to send
137 multicast source MAC
154 flooded (e.g., unknown unicast, unregistered multicast) and there are
180 routed and they have a unicast destination IP and a multicast destination
190 routed and their source IP is multicast (i.e., 224.0.0.0/8 and ff::/8)
207 be routed and their IPv6 multicast destination IP has a reserved scope
212 be routed and their IPv6 multicast destination IP has an interface-local scope
223 - Traps multicast IP packets that failed reverse-path forwarding (RPF)
224 check during multicast routing
248 source MAC is multicast
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
Dvf.c41 /* multicast address update */ in e1000_init_mac_params_vf()
160 * e1000_hash_mc_addr_vf - Generate a multicast hash value
162 * @mc_addr: pointer to a multicast address
164 * Generates a multicast address hash value which is used to determine
165 * the multicast filter table array address and new table value. See
189 * e1000_update_mc_addr_list_vf - Update Multicast addresses
191 * @mc_addr_list: array of multicast addresses to program
192 * @mc_addr_count: number of multicast addresses to program
196 * Updates the Receive Address Registers and Multicast Table Array.
197 * The caller must have a packed mc_addr_list of multicast addresses.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Daltera_tse.txt31 - altr,has-hash-multicast-filter:
32 If present, TSE supports a hash based multicast filter.
33 Otherwise, hash-based multicast filtering is not supported.
73 altr,has-hash-multicast-filter;
111 altr,has-hash-multicast-filter;
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan_fdb_veto.sh54 check_fail $? "multicast MAC not rejected"
58 check_err $? "multicast MAC rejected without extack"
109 check_fail $? "FDB with a multicast IP not rejected"
114 check_err $? "FDB with a multicast IP rejected without extack"
Ddevlink_trap_control.sh275 # MLD Multicast Listener Query (Type 130)
276 devlink_trap_stats_test "MLD Multicast Listener Query" "mld_query" \
283 # MLD Version 1 Multicast Listener Report (Type 131)
284 devlink_trap_stats_test "MLD Version 1 Multicast Listener Report" \
291 # MLD Version 2 Multicast Listener Report (Type 143)
292 devlink_trap_stats_test "MLD Version 2 Multicast Listener Report" \
299 # MLD Version 1 Multicast Listener Done (Type 132)
300 devlink_trap_stats_test "MLD Version 1 Multicast Listener Done" \
395 devlink_trap_stats_test "IPv4 OSPF - Multicast" "ipv4_ospf" \
406 devlink_trap_stats_test "IPv6 OSPF - Multicast" "ipv6_ospf" \
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpim.h21 * 0 = Hello Multicast to ALL-PIM-ROUTERS
25 * 3 = Join/Prune Multicast to ALL-PIM-ROUTERS
26 * 4 = Bootstrap Multicast to ALL-PIM-ROUTERS
27 * 5 = Assert Multicast to ALL-PIM-ROUTERS
Dmroute.h67 * struct mfc_cache - multicast routing entries
68 * @_c: Common multicast routing information; has to be first [for casting]
69 * @mfc_mcastgrp: destination multicast group address
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Ddpsw.h48 * Disable Multicast
149 * @max_fdb_mc_groups: Number of multicast groups in each FDB table;
332 * @DPSW_CNT_ING_MCAST_FRAME: Counts ingress multicast frames
333 * @DPSW_CNT_ING_MCAST_BYTE: Counts ingress multicast bytes
474 * @type: bit0 - DINAMIC(1)/STATIC(0), bit1 - UNICAST(1)/MULTICAST(0)
475 * @if_info: unicast - egress interface, multicast - number of egress interfaces
476 * @if_mask: multicast - egress interface mask
567 * @num_fdb_mc_groups: Current number of multicast groups
568 * @max_fdb_mc_groups: Maximum number of multicast groups
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Din.h61 IPPROTO_MTP = 92, /* Multicast Transport Protocol */
67 IPPROTO_PIM = 103, /* Protocol Independent Multicast */
170 /* Request struct for multicast socket ops */
174 struct in_addr imr_multiaddr; /* IP multicast address of group */
179 struct in_addr imr_multiaddr; /* IP multicast address of group */
215 struct __kernel_sockaddr_storage gf_group; /* multicast address */
302 /* Defines for Multicast INADDR */
/kernel/linux/linux-5.10/drivers/net/usb/
Dcatc.c170 u8 multicast[64]; member
615 * Receive modes. Broadcast, Multicast, Promisc.
618 static void catc_multicast(unsigned char *addr, u8 *multicast) in catc_multicast() argument
623 multicast[(crc >> 3) & 0x3f] |= 1 << (crc & 7); in catc_multicast()
634 memset(catc->multicast, 0, 64); in catc_set_multicast_list()
636 catc_multicast(broadcast, catc->multicast); in catc_set_multicast_list()
637 catc_multicast(netdev->dev_addr, catc->multicast); in catc_set_multicast_list()
640 memset(catc->multicast, 0xff, 64); in catc_set_multicast_list()
645 memset(catc->multicast, 0xff, 64); in catc_set_multicast_list()
650 catc->multicast[(crc >> 3) & 0x3f] |= 1 << (crc & 7); in catc_set_multicast_list()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dwmi.h2460 * which peers belong to a given multicast group, so that if
2461 * multicast->unicast conversion is enabled, the target can convert
2462 * multicast tx frames to a series of unicast tx frames, to each
2463 * peer within the multicast group.
2465 * many multicast groups to provide storage for within its multicast
2475 * its multicast group membership table.
2476 * These multicast group membership table elements are shared by the
2477 * multicast groups stored within the table.
2482 * whether/how to do multicast->unicast conversion
2485 * perform multicast --> unicast conversion on transmit, and if so,
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.h126 * @u_mcast_dlid: unknown multicast dlid
169 * @pcp_to_sc_mc: sc by pcp index for multicast ethernet packets
170 * @pcp_to_vl_mc: vl by pcp index for multicast ethernet packets
173 * @non_vlan_sc_mc: sc for non-vlan multicast ethernet packets
174 * @non_vlan_vl_mc: vl for non-vlan multicast ethernet packets
177 * @mc_macs_gen_count: generation count for multicast macs list
285 * @tx_mcastbcast: multicast/broadcast packets transmitted
296 * @rx_mcastbcast: multicast/broadcast packets received

12345678910>>...44