Home
last modified time | relevance | path

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

12345678910>>...73

/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-4.19/net/batman-adv/
Dmulticast.c19 #include "multicast.h"
76 * batadv_mcast_start_timer() - schedule the multicast periodic worker
112 * batadv_mcast_addr_is_ipv4() - check if multicast MAC is IPv4
115 * Return: True, if MAC address is one reserved for IPv4 multicast, false
126 * batadv_mcast_addr_is_ipv6() - check if multicast MAC is IPv6
129 * Return: True, if MAC address is one reserved for IPv6 multicast, false
140 * batadv_mcast_mla_softif_get() - get softif multicast listeners
142 * @dev: the device to collect multicast addresses from
145 * Collects multicast addresses of multicast listeners residing
147 * the given mcast_list. In general, multicast listeners provided by
[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-4.19/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-4.19/include/rdma/
Dib_sa.h479 struct ib_sa_multicast *multicast);
484 * ib_sa_join_multicast - Initiates a join request to the specified multicast
487 * @device: Device associated with the multicast group.
488 * @port_num: Port on the specified device to associate with the multicast
490 * @rec: SA multicast member record specifying group attributes.
497 * This call initiates a multicast join request with the SA for the specified
498 * multicast group. If the join operation is started successfully, it returns
499 * an ib_sa_multicast structure that is used to track the multicast operation.
508 * -ENETRESET: Indicates that an fatal error has occurred on the multicast
517 *multicast),
[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 …]
/kernel/linux/linux-4.19/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()
259 ipoib_warn(priv, "multicast group %pI6 already attached\n", in ipoib_mcast_join_finish()
269 ipoib_warn(priv, "couldn't attach QP to multicast group %pI6\n", in ipoib_mcast_join_finish()
368 struct ib_sa_multicast *multicast) in ipoib_mcast_join_complete() argument
370 struct ipoib_mcast *mcast = multicast->context; in ipoib_mcast_join_complete()
386 status = ipoib_mcast_join_finish(mcast, &multicast->rec); in ipoib_mcast_join_complete()
394 * deadlock on rtnl_lock here. Requeue our multicast in ipoib_mcast_join_complete()
[all …]
/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-4.19/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/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-4.19/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
233 * genlmsg_multicast_netns - multicast a netlink message to a specific netns
238 * @group: offset of multicast group in groups array
252 * genlmsg_multicast - multicast a netlink message to the default netns
256 * @group: offset of multicast group in groups array
268 * genlmsg_multicast_allns - multicast a netlink message to all net namespaces
[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-4.19/net/ipv6/
DKconfig244 tunneling" above). In addition, GRE allows multicast redistribution
279 bool "IPv6: multicast routing"
283 Support for IPv6 multicast forwarding.
287 bool "IPv6: multicast policy routing"
291 Normally, a multicast router runs a userspace daemon and decides
292 what to do with a multicast packet based on the source and
293 destination addresses. If you say Y here, the multicast router
304 Support for IPv6 PIM multicast routing protocol PIM-SMv2.
/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-4.19/net/core/
Ddev_addr_lists.c5 * This file contains functions for working with unicast, multicast and device
229 * __hw_addr_sync_dev - Synchonize device's multicast list
633 * Multicast list handling functions
637 * dev_mc_add_excl - Add a global secondary multicast address
678 * dev_mc_add - Add a multicast address
682 * Add a multicast address to the device or increase
692 * dev_mc_add_global - Add a global multicast address
696 * Add a global multicast address to the device.
719 * dev_mc_del - Delete a multicast address.
723 * Release reference to a multicast address and remove it
[all …]
/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-4.19/include/uapi/linux/
Dbatman_adv.h95 * enum batadv_mcast_flags_priv - Private, own multicast flags
97 * These are internal, multicast related flags. Currently they describe certain
98 * multicast related attributes of the segment this originator bridges into the
101 * Those attributes are used to determine the public multicast flags this
128 * exists, whether it is potentially shadowing multicast listeners
135 * exists, whether it is potentially shadowing multicast listeners
338 * @BATADV_ATTR_MCAST_FLAGS: Per originator multicast flags
343 * @BATADV_ATTR_MCAST_FLAGS_PRIV: Private, own multicast flags
442 * @BATADV_CMD_GET_MCAST_FLAGS: Query list of multicast flags
/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-4.19/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/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-4.19/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.
74 altr,has-hash-multicast-filter;
112 altr,has-hash-multicast-filter;

12345678910>>...73