Home
last modified time | relevance | path

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

12345678910>>...36

/linux/net/batman-adv/
H A Dmulticast.c7 #include "multicast.h"
65 * batadv_mcast_start_timer() - schedule the multicast periodic worker
104 * Checks the presence of an IPv4 multicast router on this node.
125 * Checks the presence of an IPv6 multicast router on this node.
155 * Checks the presence of IPv4 and IPv6 multicast routers on this
159 * BATADV_NO_FLAGS: Both an IPv4 and IPv6 multicast router is present
160 * BATADV_MCAST_WANT_NO_RTR4: No IPv4 multicast router is present
161 * BATADV_MCAST_WANT_NO_RTR6: No IPv6 multicast router is present
162 * The former two OR'd: no multicast router is present
186 * Checks the presence of IPv4 and IPv6 multicast routers behind a bridge.
[all …]
H A Dmulticast_forw.c7 #include "multicast.h"
87 * @count: the (estimated) number of originators the multicast packet needs to
225 * this multicast packet through the translation table onto the given skb.
269 * this multicast packet through the want-all flag onto the given skb.
315 * this multicast packet through the want-all-rtr flag onto the given skb.
384 * Remove two padding bytes from the end of the multicast tracker TVLV,
403 * Inserts two padding bytes at the end of the multicast tracker TVLV,
427 * @count: the estimated number of originators the multicast packet needs to
430 * multicast packet's tracker TVLV
433 * Adjusts the padding in the multicast packet's tracker TVLV depending on the
[all …]
/linux/drivers/infiniband/core/
H A 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/tools/testing/selftests/net/forwarding/
H A Drouter_multicast.sh229 check_err $? "Multicast not received on first host"
231 check_err $? "Multicast not received on second host"
239 check_err $? "Multicast received on host although deleted"
241 check_err $? "Multicast received on second host although deleted"
269 check_err $? "Multicast not received on first host"
271 check_err $? "Multicast not received on second host"
279 check_err $? "Multicast received on first host although deleted"
281 check_err $? "Multicast received on second host although deleted"
291 # Add a multicast route from first router port to the other two. Send
295 # test that devices capable of multicast routing offload trap those
[all …]
H A Dtc_flower_l2_miss.sh136 # Unregistered multicast.
140 # Registered multicast.
149 check_err $? "Unregistered multicast filter was not hit before adding MDB entry"
152 check_err $? "Registered multicast filter was hit before adding MDB entry"
160 check_err $? "Unregistered multicast filter was hit after adding MDB entry"
163 check_err $? "Registered multicast filter was not hit after adding MDB entry"
171 check_err $? "Unregistered multicast filter was not hit after deleting MDB entry"
174 check_err $? "Registered multicast filter was hit after deleting MDB entry"
179 log_test "L2 miss - Multicast ($name)"
208 # Configure $swp2 as a multicast router port so that it will forward
[all …]
H A Dbridge_vlan_mcast.sh56 check_err $? "Could not enable global vlan multicast snooping"
57 log_test "Vlan multicast snooping enable"
145 check_err $? "Could not disable multicast snooping in vlan 10"
147 log_test "Vlan 10 multicast snooping control"
158 jq -e ".[].multicast.${type}_queries.tx_v${version}"
285 log_test "Vlan 10 multicast querier enable"
640 check_err 1 "Wrong number of vlan 10 multicast packets flooded"
643 check_err $swp2_tcstats "Vlan 10 multicast packets flooded to non-router port"
644 log_test "Flood unknown vlan multicast packets to router port only"
660 check_fail $? "Vlan filtering is disabled but multicast vla
[all...]
H A 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/tools/testing/selftests/net/
H A Dfou_mcast_encap.sh5 # when packets are delivered via the multicast UDP delivery path.
7 # When a FOU-encapsulated packet arrives with a multicast destination IP,
11 # tunnel with a multicast remote address and sending ping through it.
15 # packets through the multicast delivery function.
59 # Join multicast group on receiver
83 # unidirectional multicast tunnel.
97 # Join multicast group on receiver
121 # unidirectional multicast tunnel.
164 run_ping_test -4 eoudp4 "$TUN4_R" "FOU/GRETAP IPv4 multicast encap resubmit"
167 run_ping_test -6 eoudp6 "$TUN6_R" "FOU/ip6gretap IPv6 multicast encap resubmit"
[all …]
/linux/drivers/infiniband/sw/rxe/
H A 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
50 * rxe_mcast_del - delete multicast address from rxe device
52 * @mgid: multicast address as a gid
118 * @mgid: multicast IP address
157 * @mgid: multicast IP address
175 * @mgid: multicast address as a gid
203 * this is done last after the object is ready and the multicast in __rxe_publish_mcg()
[all …]
/linux/drivers/infiniband/ulp/ipoib/
H A 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()
357 struct ib_sa_multicast *multicast) in ipoib_mcast_join_complete() argument
359 struct ipoib_mcast *mcast = multicast->context; in ipoib_mcast_join_complete()
375 status = ipoib_mcast_join_finish(mcast, &multicast->rec); in ipoib_mcast_join_complete()
383 * deadlock on rtnl_lock here. Requeue our multicast in ipoib_mcast_join_complete()
[all …]
/linux/include/uapi/linux/
H A 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.
H A 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 */
H A 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 …]
H A Dbatadv_packet.h30 * @BATADV_MCAST: multicast packet with multiple destination addresses
109 * enum batadv_mcast_flags - flags for multicast capabilities and settings
112 * @BATADV_MCAST_WANT_ALL_IPV4: we want all IPv4 multicast packets
114 * @BATADV_MCAST_WANT_ALL_IPV6: we want all IPv6 multicast packets
116 * @BATADV_MCAST_WANT_NO_RTR4: we have no IPv4 multicast router and therefore
117 * only need routable IPv4 multicast packets we signed up for explicitly
118 * @BATADV_MCAST_WANT_NO_RTR6: we have no IPv6 multicast router and therefore
119 * only need routable IPv6 multicast packets we signed up for explicitly
121 * batman-adv multicast packets with a multicast tracker TVLV. And all our
181 * @BATADV_TVLV_MCAST: multicast capability tvlv
[all …]
/linux/include/net/
H A Dgenetlink.h19 /* Binding to multicast group requires %CAP_NET_ADMIN */
21 /* Binding to multicast group requires %CAP_SYS_ADMIN */
25 * struct genl_multicast_group - generic netlink multicast group
26 * @name: name of the multicast group, names are per-family
52 * @bind: called when family multicast group is added to a netlink socket
53 * @unbind: called when family multicast group is removed from a netlink socket
55 * @mcgrps: multicast groups used by this family
56 * @n_mcgrps: number of multicast groups
112 /* starting number of multicast group IDs in this family */
471 * genlmsg_multicast_netns_filtered - multicast a netlink message
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A 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/net/ipv6/
H A DKconfig223 tunneling" above). In addition, GRE allows multicast redistribution
258 bool "IPv6: multicast routing"
262 Support for IPv6 multicast forwarding.
266 bool "IPv6: multicast policy routing"
270 Normally, a multicast router runs a userspace daemon and decides
271 what to do with a multicast packet based on the source and
272 destination addresses. If you say Y here, the multicast router
283 Support for IPv6 PIM multicast routing protocol PIM-SMv2.
/linux/Documentation/networking/
H A 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/net/mac80211/tests/
H A Dmfp.c32 .desc = "public action: accept multicast from unknown peer",
49 .desc = "public action: accept multicast without MFP",
68 .desc = "public action: accept multicast with MFP",
87 .desc = "protected dual: drop multicast from unknown peer",
104 .desc = "protected dual: drop multicast without MFP",
123 .desc = "protected dual: drop undecrypted multicast with MFP",
144 .desc = "protected dual: accept multicast with MFP",
/linux/tools/testing/selftests/drivers/net/bonding/
H A 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/drivers/net/ethernet/intel/igbvf/
H A Dvf.c43 /* multicast address update */ in e1000_init_mac_params_vf()
167 * e1000_hash_mc_addr_vf - Generate a multicast hash value
169 * @mc_addr: pointer to a multicast address
171 * Generates a multicast address hash value which is used to determine
172 * the multicast filter table array address and new table value. See
196 * e1000_update_mc_addr_list_vf - Update Multicast addresses
198 * @mc_addr_list: array of multicast addresses to program
199 * @mc_addr_count: number of multicast addresses to program
203 * Updates the Receive Address Registers and Multicast Table Array.
204 * The caller must have a packed mc_addr_list of multicast addresses.
/linux/tools/include/uapi/linux/
H A Din.h62 IPPROTO_MTP = 92, /* Multicast Transport Protocol */
68 IPPROTO_PIM = 103, /* Protocol Independent Multicast */
179 /* Request struct for multicast socket ops */
183 struct in_addr imr_multiaddr; /* IP multicast address of group */
188 struct in_addr imr_multiaddr; /* IP multicast address of group */
229 struct __kernel_sockaddr_storage gf_group_aux; /* multicast address */
236 struct __kernel_sockaddr_storage gf_group; /* multicast address */
325 /* Defines for Multicast INADDR */
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan_fdb_veto.sh69 check_fail $? "multicast MAC not rejected"
73 check_err $? "multicast MAC rejected without extack"
124 check_fail $? "FDB with a multicast IP not rejected"
129 check_err $? "FDB with a multicast IP rejected without extack"
/linux/include/linux/
H A 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/drivers/net/usb/
H A Dcatc.c174 u8 multicast[64]; member
628 * Receive modes. Broadcast, Multicast, Promisc.
631 static void catc_multicast(const unsigned char *addr, u8 *multicast) in catc_multicast() argument
636 multicast[(crc >> 3) & 0x3f] |= 1 << (crc & 7); in catc_multicast()
647 memset(catc->multicast, 0, 64); in catc_set_multicast_list()
649 catc_multicast(broadcast, catc->multicast); in catc_set_multicast_list()
650 catc_multicast(netdev->dev_addr, catc->multicast); in catc_set_multicast_list()
653 memset(catc->multicast, 0xff, 64); in catc_set_multicast_list()
658 memset(catc->multicast, 0xff, 64); in catc_set_multicast_list()
663 catc->multicast[(crc >> 3) & 0x3f] |= 1 << (crc & 7); in catc_set_multicast_list()
[all …]

12345678910>>...36