Home
last modified time | relevance | path

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

12345678910>>...44

/Linux-v5.15/net/batman-adv/
Dmulticast.c7 #include "multicast.h"
66 * batadv_mcast_start_timer() - schedule the multicast periodic worker
105 * Checks the presence of an IPv4 multicast router on this node.
126 * Checks the presence of an IPv6 multicast router on this node.
156 * Checks the presence of IPv4 and IPv6 multicast routers on this
160 * BATADV_NO_FLAGS: Both an IPv4 and IPv6 multicast router is present
161 * BATADV_MCAST_WANT_NO_RTR4: No IPv4 multicast router is present
162 * BATADV_MCAST_WANT_NO_RTR6: No IPv6 multicast router is present
163 * The former two OR'd: no multicast router is present
187 * Checks the presence of IPv4 and IPv6 multicast routers behind a bridge.
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/include/rdma/
Dib_sa.h423 struct ib_sa_multicast *multicast);
428 * ib_sa_join_multicast - Initiates a join request to the specified multicast
431 * @device: Device associated with the multicast group.
432 * @port_num: Port on the specified device to associate with the multicast
434 * @rec: SA multicast member record specifying group attributes.
441 * This call initiates a multicast join request with the SA for the specified
442 * multicast group. If the join operation is started successfully, it returns
443 * an ib_sa_multicast structure that is used to track the multicast operation.
452 * -ENETRESET: Indicates that an fatal error has occurred on the multicast
462 *multicast),
[all …]
/Linux-v5.15/drivers/infiniband/sw/rdmavt/
Dmcast.c15 * rvt_driver_mcast_init - init resources for multicast
23 * Anything that needs setup for multicast on a per driver or per rdi in rvt_driver_mcast_init()
59 * rvt_mcast_alloc - allocate the multicast GID structure
60 * @mgid: the multicast GID
95 * rvt_mcast_find - search the global table for the given multicast GID/LID
99 * @mgid: the multicast GID to search for
100 * @lid: the multicast LID portion of the multicast address (host order)
231 * rvt_attach_mcast - attach a qp to a multicast group
233 * @gid: multicast guid
234 * @lid: multicast lid
[all …]
/Linux-v5.15/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()
358 struct ib_sa_multicast *multicast) in ipoib_mcast_join_complete() argument
360 struct ipoib_mcast *mcast = multicast->context; in ipoib_mcast_join_complete()
376 status = ipoib_mcast_join_finish(mcast, &multicast->rec); in ipoib_mcast_join_complete()
384 * deadlock on rtnl_lock here. Requeue our multicast in ipoib_mcast_join_complete()
[all …]
/Linux-v5.15/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 */
228 struct __kernel_sockaddr_storage gf_group_aux; /* multicast address */
235 struct __kernel_sockaddr_storage gf_group; /* multicast address */
324 /* Defines for Multicast INADDR */
/Linux-v5.15/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 …]
/Linux-v5.15/include/net/
Dgenetlink.h12 * struct genl_multicast_group - generic netlink multicast group
13 * @name: name of the multicast group, names are per-family
39 * @mcgrps: multicast groups used by this family
40 * @n_mcgrps: number of multicast groups
41 * @mcgrp_offset: starting number of multicast group IDs in this family
296 * genlmsg_multicast_netns - multicast a netlink message to a specific netns
301 * @group: offset of multicast group in groups array
315 * genlmsg_multicast - multicast a netlink message to the default netns
319 * @group: offset of multicast group in groups array
331 * genlmsg_multicast_allns - multicast a netlink message to all net namespaces
[all …]
/Linux-v5.15/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.
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot.h60 * ENTRYTYPE_MACv4 is not subject to aging. For IPv4 multicast.
61 * ENTRYTYPE_MACv6 is not subject to aging. For IPv6 multicast.
71 * possibilities of egress port masks for L2 multicast traffic.
73 * hardware only has 46 individual PGIDs that it can forward multicast traffic
75 * destinations requested by the user for L2 multicast.
/Linux-v5.15/Documentation/networking/
Dswitchdev.rst179 - VLAN flooding of multicast/broadcast and unknown unicast packets
300 and other IEEE 01:80:c2:xx:xx:xx link-local multicast packets can pass.
309 For a given L2 VLAN domain, the switch device should flood multicast/broadcast
335 The bridge multicast module will notify port netdevs on every multicast group
337 The hardware implementation should be forwarding all registered multicast
430 including multicast, DHCP, IPv4/6, etc. If necessary, it should program the
431 appropriate filters for VLAN, multicast, unicast etc. The underlying device
433 when IGMP snooping is enabled for IP multicast over these switchdev network
434 devices and unsolicited multicast must be filtered as early as possible in
540 - when IGMP snooping is turned off, multicast traffic must be flooded to all
[all …]
/Linux-v5.15/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 …]
Dprestera.rst48 - Traps multicast packets
126 - Drops packets with multicast source MAC address.
129 - Drops packets with illegal SIP/DIP multicast/unicast addresses.
135 - Drops packets with destination MAC being unicast, but destination IP address being multicast.
/Linux-v5.15/net/core/
Ddev_addr_lists.c6 * This file contains functions for working with unicast, multicast and device
296 * __hw_addr_sync_dev - Synchonize device's multicast list
348 * __hw_addr_ref_sync_dev - Synchronize device's multicast address list taking
803 * Multicast list handling functions
807 * dev_mc_add_excl - Add a global secondary multicast address
841 * dev_mc_add - Add a multicast address
845 * Add a multicast address to the device or increase
855 * dev_mc_add_global - Add a global multicast address
859 * Add a global multicast address to the device.
882 * dev_mc_del - Delete a multicast address.
[all …]
/Linux-v5.15/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.
/Linux-v5.15/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;
/Linux-v5.15/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 */
228 struct __kernel_sockaddr_storage gf_group_aux; /* multicast address */
235 struct __kernel_sockaddr_storage gf_group; /* multicast address */
324 /* Defines for Multicast INADDR */
/Linux-v5.15/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"
/Linux-v5.15/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
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dfilter.h16 * struct iwl_mcast_filter_cmd - configure multicast filter.
17 * @filter_own: Set 1 to filter out multicast packets sent by station itself
18 * @port_id: Multicast MAC addresses array specifier. This is a strange way
23 * @pass_all: Set 1 to pass all multicast packets.
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dwmi.h2457 * which peers belong to a given multicast group, so that if
2458 * multicast->unicast conversion is enabled, the target can convert
2459 * multicast tx frames to a series of unicast tx frames, to each
2460 * peer within the multicast group.
2462 * many multicast groups to provide storage for within its multicast
2472 * its multicast group membership table.
2473 * These multicast group membership table elements are shared by the
2474 * multicast groups stored within the table.
2479 * whether/how to do multicast->unicast conversion
2482 * perform multicast --> unicast conversion on transmit, and if so,
[all …]

12345678910>>...44