Home
last modified time | relevance | path

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

12345678910>>...46

/Linux-v6.1/net/batman-adv/
Dmulticast.c7 #include "multicast.h"
67 * batadv_mcast_start_timer() - schedule the multicast periodic worker
106 * Checks the presence of an IPv4 multicast router on this node.
127 * Checks the presence of an IPv6 multicast router on this node.
157 * Checks the presence of IPv4 and IPv6 multicast routers on this
161 * BATADV_NO_FLAGS: Both an IPv4 and IPv6 multicast router is present
162 * BATADV_MCAST_WANT_NO_RTR4: No IPv4 multicast router is present
163 * BATADV_MCAST_WANT_NO_RTR6: No IPv6 multicast router is present
164 * The former two OR'd: no multicast router is present
188 * Checks the presence of IPv4 and IPv6 multicast routers behind a bridge.
[all …]
/Linux-v6.1/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-v6.1/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 …]
Dlocal_termination.sh170 check_rcv $rcv_if_name "Multicast IPv4 to joined group" \
174 check_rcv $rcv_if_name "Multicast IPv4 to unknown group" \
178 check_rcv $rcv_if_name "Multicast IPv4 to unknown group, promisc" \
182 check_rcv $rcv_if_name "Multicast IPv4 to unknown group, allmulti" \
186 check_rcv $rcv_if_name "Multicast IPv6 to joined group" \
190 check_rcv $rcv_if_name "Multicast IPv6 to unknown group" \
194 check_rcv $rcv_if_name "Multicast IPv6 to unknown group, promisc" \
198 check_rcv $rcv_if_name "Multicast IPv6 to unknown group, allmulti" \
Dno_forwarding.sh135 check_rcv $h2 "$test_name: Multicast non-IP untagged" \
144 check_rcv $h2 "$test_name: Multicast IPv4 untagged" \
150 check_rcv $h2 "$test_name: Multicast IPv6 untagged" \
157 check_rcv $h2 "$test_name: Multicast non-IP VID $vid" \
166 check_rcv $h2 "$test_name: Multicast IPv4 VID $vid" \
172 check_rcv $h2 "$test_name: Multicast IPv6 VID $vid" \
/Linux-v6.1/include/rdma/
Dib_sa.h424 struct ib_sa_multicast *multicast);
429 * ib_sa_join_multicast - Initiates a join request to the specified multicast
432 * @device: Device associated with the multicast group.
433 * @port_num: Port on the specified device to associate with the multicast
435 * @rec: SA multicast member record specifying group attributes.
442 * This call initiates a multicast join request with the SA for the specified
443 * multicast group. If the join operation is started successfully, it returns
444 * an ib_sa_multicast structure that is used to track the multicast operation.
453 * -ENETRESET: Indicates that an fatal error has occurred on the multicast
463 *multicast),
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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.h62 IPPROTO_MTP = 92, /* Multicast Transport Protocol */
68 IPPROTO_PIM = 103, /* Protocol Independent Multicast */
173 /* Request struct for multicast socket ops */
177 struct in_addr imr_multiaddr; /* IP multicast address of group */
182 struct in_addr imr_multiaddr; /* IP multicast address of group */
223 struct __kernel_sockaddr_storage gf_group_aux; /* multicast address */
230 struct __kernel_sockaddr_storage gf_group; /* multicast address */
319 /* Defines for Multicast INADDR */
/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_mcast.c9 * rxe_mcast.c implements driver support for multicast transport.
14 * for the mcg when a multicast packet is received and when another
25 * rxe_mcast_add - add multicast address to rxe device
27 * @mgid: multicast address as a gid
41 * rxe_mcast_del - delete multicast address from rxe device
43 * @mgid: multicast address as a gid
100 * @mgid: multicast IP address
139 * @mgid: multicast IP address
157 * @mgid: multicast address as a gid
184 * @mgid: multicast IP address as a gid
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/dsa/
Dlocal_termination.sh170 check_rcv $rcv_if_name "Multicast IPv4 to joined group" \
174 check_rcv $rcv_if_name "Multicast IPv4 to unknown group" \
178 check_rcv $rcv_if_name "Multicast IPv4 to unknown group, promisc" \
182 check_rcv $rcv_if_name "Multicast IPv4 to unknown group, allmulti" \
186 check_rcv $rcv_if_name "Multicast IPv6 to joined group" \
190 check_rcv $rcv_if_name "Multicast IPv6 to unknown group" \
194 check_rcv $rcv_if_name "Multicast IPv6 to unknown group, promisc" \
198 check_rcv $rcv_if_name "Multicast IPv6 to unknown group, allmulti" \
Dno_forwarding.sh135 check_rcv $h2 "$test_name: Multicast non-IP untagged" \
144 check_rcv $h2 "$test_name: Multicast IPv4 untagged" \
150 check_rcv $h2 "$test_name: Multicast IPv6 untagged" \
157 check_rcv $h2 "$test_name: Multicast non-IP VID $vid" \
166 check_rcv $h2 "$test_name: Multicast IPv4 VID $vid" \
172 check_rcv $h2 "$test_name: Multicast IPv6 VID $vid" \
Dbridge_vlan_mcast.sh56 check_err $? "Could not enable global vlan multicast snooping"
57 log_test "Vlan multicast snooping enable"
142 check_err $? "Could not disable multicast snooping in vlan 10"
144 log_test "Vlan 10 multicast snooping control"
155 jq -e ".[].multicast.${type}_queries.tx_v${version}"
233 log_test "Vlan 10 multicast querier enable"
512 check_err 1 "Wrong number of vlan 10 multicast packets flooded"
515 check_err $swp2_tcstats "Vlan 10 multicast packets flooded to non-router port"
516 log_test "Flood unknown vlan multicast packets to router port only"
532 check_fail $? "Vlan filtering is disabled but multicast vlan snooping is still enabled"
[all …]
/Linux-v6.1/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-v6.1/net/ipv6/
DKconfig227 tunneling" above). In addition, GRE allows multicast redistribution
262 bool "IPv6: multicast routing"
266 Support for IPv6 multicast forwarding.
270 bool "IPv6: multicast policy routing"
274 Normally, a multicast router runs a userspace daemon and decides
275 what to do with a multicast packet based on the source and
276 destination addresses. If you say Y here, the multicast router
287 Support for IPv6 PIM multicast routing protocol PIM-SMv2.
/Linux-v6.1/include/net/
Dgenetlink.h12 * struct genl_multicast_group - generic netlink multicast group
13 * @name: name of the multicast group, names are per-family
41 * @mcgrps: multicast groups used by this family
42 * @n_mcgrps: number of multicast groups
46 * @mcgrp_offset: starting number of multicast group IDs in this family
316 * genlmsg_multicast_netns - multicast a netlink message to a specific netns
321 * @group: offset of multicast group in groups array
335 * genlmsg_multicast - multicast a netlink message to the default netns
339 * @group: offset of multicast group in groups array
351 * genlmsg_multicast_allns - multicast a netlink message to all net namespaces
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/bonding/
Ddev_addr_lists.sh70 check_err $? "LACPDU multicast address not present on slave (1)"
75 check_err $? "LACPDU multicast address still present on slave"
80 check_err $? "LACPDU multicast address not present on slave (2)"
84 log_test "bonding LACPDU multicast address to slave (from bond $init_state)"
/Linux-v6.1/Documentation/networking/
Dswitchdev.rst180 - VLAN flooding of multicast/broadcast and unknown unicast packets
301 and other IEEE 01:80:c2:xx:xx:xx link-local multicast packets can pass.
310 For a given L2 VLAN domain, the switch device should flood multicast/broadcast
336 The bridge multicast module will notify port netdevs on every multicast group
338 The hardware implementation should be forwarding all registered multicast
431 including multicast, DHCP, IPv4/6, etc. If necessary, it should program the
432 appropriate filters for VLAN, multicast, unicast etc. The underlying device
434 when IGMP snooping is enabled for IP multicast over these switchdev network
435 devices and unsolicited multicast must be filtered as early as possible in
541 - when IGMP snooping is turned off, multicast traffic must be flooded to all
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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-v6.1/net/core/
Ddev_addr_lists.c6 * This file contains functions for working with unicast, multicast and device
302 * __hw_addr_sync_dev - Synchonize device's multicast list
354 * __hw_addr_ref_sync_dev - Synchronize device's multicast address list taking
838 * Multicast list handling functions
842 * dev_mc_add_excl - Add a global secondary multicast address
876 * dev_mc_add - Add a multicast address
880 * Add a multicast address to the device or increase
890 * dev_mc_add_global - Add a global multicast address
894 * Add a global multicast address to the device.
917 * dev_mc_del - Delete a multicast address.
[all …]
/Linux-v6.1/tools/include/uapi/linux/
Din.h62 IPPROTO_MTP = 92, /* Multicast Transport Protocol */
68 IPPROTO_PIM = 103, /* Protocol Independent Multicast */
173 /* Request struct for multicast socket ops */
177 struct in_addr imr_multiaddr; /* IP multicast address of group */
182 struct in_addr imr_multiaddr; /* IP multicast address of group */
223 struct __kernel_sockaddr_storage gf_group_aux; /* multicast address */
230 struct __kernel_sockaddr_storage gf_group; /* multicast address */
319 /* Defines for Multicast INADDR */

12345678910>>...46