Searched refs:mcast (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c64 static void ipoib_mcast_free(struct ipoib_mcast *mcast) argument
66 struct ifnet *dev = mcast->priv->dev;
69 ipoib_dbg_mcast(mcast->priv, "deleting multicast group %16D\n",
70 mcast->mcmember.mgid.raw, ":");
72 if (mcast->ah)
73 ipoib_put_ah(mcast->ah);
75 tx_dropped = mcast->pkt_queue.ifq_len;
76 _IF_DRAIN(&mcast->pkt_queue); /* XXX Locking. */
80 kfree(mcast);
86 struct ipoib_mcast *mcast; local
108 struct ipoib_mcast *mcast; local
126 __ipoib_mcast_add(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast) argument
154 ipoib_mcast_join_finish(struct ipoib_mcast *mcast, struct ib_sa_mcmember_rec *mcmember) argument
251 struct ipoib_mcast *mcast = multicast->context; local
277 ipoib_mcast_sendonly_join(struct ipoib_mcast *mcast) argument
347 struct ipoib_mcast *mcast = multicast->context; local
406 ipoib_mcast_join(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast, int create) argument
541 struct ipoib_mcast *mcast = NULL; local
608 ipoib_mcast_leave(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast) argument
633 struct ipoib_mcast *mcast; local
693 struct ipoib_mcast *mcast, *tmcast; local
751 struct ipoib_mcast *mcast; local
815 struct ipoib_mcast *mcast, *tmcast; local
889 struct ipoib_mcast *mcast; local
[all...]
/freebsd-13-stable/contrib/netbsd-tests/net/mcast/
H A Dt_mcast.sh36 local mcast="$(atf_get_srcdir)/mcast"
47 # A route to the mcast address is required to join the mcast group
57 atf_check -s exit:0 -o ignore $mcast -d ${opts}
59 atf_check -s exit:0 $mcast ${opts}
/freebsd-13-stable/contrib/apr/network_io/unix/
H A Dmulticast.c29 static void fill_mip_v4(struct ip_mreq *mip, apr_sockaddr_t *mcast, argument
32 mip->imr_multiaddr = mcast->sa.sin.sin_addr;
79 static void fill_mip_v6(struct ipv6_mreq *mip, const apr_sockaddr_t *mcast, argument
82 memcpy(&mip->ipv6mr_multiaddr, mcast->ipaddr_ptr,
112 apr_sockaddr_t *mcast, apr_sockaddr_t *iface,
147 memcpy(&mip.gsr_group, mcast->ipaddr_ptr, sizeof(mip.gsr_group));
162 fill_mip_v4(&mip4, mcast, iface);
181 fill_mip_v6(&mip6, mcast, iface);
111 do_mcast(int type, apr_socket_t *sock, apr_sockaddr_t *mcast, apr_sockaddr_t *iface, apr_sockaddr_t *source) argument
/freebsd-13-stable/sys/dev/rtwn/
H A Dif_rtwn_beacon.c167 int mcast = 0; local
198 mcast = 1; /* XXX */
209 ieee80211_beacon_update(ni, uvp->bcn_mbuf, mcast);
/freebsd-13-stable/sys/dev/qlxgbe/
H A Dql_hw.c3530 uint8_t *mcast; local
3537 mcast = ha->hw.mac_addr_arr;
3538 memset(mcast, 0, (Q8_MAX_MAC_ADDRS * ETHER_ADDR_LEN));
3541 if ((ha->hw.mcast[i].addr[0] != 0) ||
3542 (ha->hw.mcast[i].addr[1] != 0) ||
3543 (ha->hw.mcast[i].addr[2] != 0) ||
3544 (ha->hw.mcast[i].addr[3] != 0) ||
3545 (ha->hw.mcast[i].addr[4] != 0) ||
3546 (ha->hw.mcast[i].addr[5] != 0)) {
3547 bcopy(ha->hw.mcast[
3688 uint8_t *mcast; local
[all...]
/freebsd-13-stable/tools/tools/net80211/w00t/expand/
H A Dexpand.c66 char mcast[5]; member in struct:params
206 memcpy(wh->i_addr3, p->mcast, 5);
350 (memcmp(wh->i_addr1, p->mcast, 5) == 0) &&
431 memcpy(p.mcast, "\x01\x00\x5e\x00\x00", 5);
/freebsd-13-stable/sys/dev/qlxge/
H A Dqls_hw.c1203 if ((ha->mcast[i].addr[0] != 0) ||
1204 (ha->mcast[i].addr[1] != 0) ||
1205 (ha->mcast[i].addr[2] != 0) ||
1206 (ha->mcast[i].addr[3] != 0) ||
1207 (ha->mcast[i].addr[4] != 0) ||
1208 (ha->mcast[i].addr[5] != 0)) {
1209 if (qls_config_mcast_mac_addr(ha, ha->mcast[i].addr,
1228 if (QL_MAC_CMP(ha->mcast[i].addr, mta) == 0)
1233 if ((ha->mcast[i].addr[0] == 0) &&
1234 (ha->mcast[
[all...]
H A Dqls_def.h325 qla_mcast_t mcast[Q8_MAX_NUM_MULTICAST_ADDRS]; member in struct:qla_host
/freebsd-13-stable/sys/xen/interface/io/
H A Dnetif.h985 #define XEN_NETIF_EXTRA_TYPE_MCAST_ADD (2) /* u.mcast */
986 #define XEN_NETIF_EXTRA_TYPE_MCAST_DEL (3) /* u.mcast */
1015 } mcast; member in union:netif_extra_info::__anon16095
/freebsd-13-stable/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Ddtsec.c897 bool mcast, ghtx; local
905 mcast = (bool)((ethAddr & MAC_GROUP_ADDRESS) ? TRUE : FALSE);
907 if (ghtx && !mcast) /* Cannot handle unicast mac addr when GHTX is on */
926 /* if !ghtx and mcast the bit must be set in gaddr instead of igaddr. */
927 if (mcast)
957 bool mcast, ghtx; local
965 mcast = (bool)((ethAddr & MAC_GROUP_ADDRESS) ? TRUE : FALSE);
967 if (ghtx && !mcast) /* Cannot handle unicast mac addr when GHTX is on */
976 /* if !ghtx and mcast the bit must be set in gaddr instead of igaddr. */
977 if (mcast)
[all...]
H A Dfman_dtsec.c382 void fman_dtsec_set_hash_table(struct dtsec_regs *regs, uint32_t crc, bool mcast, bool ghtx) argument
389 /* if !ghtx and mcast the bit must be set in gaddr instead of igaddr. */
390 if (mcast)
414 void fman_dtsec_reset_filter_table(struct dtsec_regs *regs, bool mcast, bool ucast) argument
421 if (ucast || (ghtx && mcast)) {
425 if (mcast) {
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c2501 struct ecore_filter_mcast *mcast; local
2507 mcast = &ha->ecore_mcast;
2508 bzero(mcast, sizeof(struct ecore_filter_mcast));
2511 mcast->opcode = ECORE_FILTER_ADD;
2513 mcast->opcode = ECORE_FILTER_REMOVE;
2515 mcast->num_mc_addrs = 1;
2516 memcpy(mcast->mac, mac_addr, ETH_ALEN);
2518 rc = ecore_filter_mcast_cmd(cdev, mcast, ECORE_SPQ_MODE_CB, NULL);
2529 if (QL_MAC_CMP(ha->mcast[i].addr, mta) == 0)
2534 if ((ha->mcast[
7105 struct ecore_filter_mcast *mcast; local
[all...]
H A Dqlnx_def.h449 qlnx_mcast_t mcast[QLNX_MAX_NUM_MULTICAST_ADDRS]; member in struct:qlnx_host
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_main.c222 struct ib_uverbs_mcast_entry *mcast, *tmp; local
224 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) {
225 ib_detach_mcast(qp, &mcast->gid, mcast->lid);
226 list_del(&mcast->list);
227 kfree(mcast);
H A Dib_uverbs_cmd.c3048 struct ib_uverbs_mcast_entry *mcast; local
3061 list_for_each_entry(mcast, &obj->mcast_list, list)
3062 if (cmd.mlid == mcast->lid &&
3063 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) {
3068 mcast = kmalloc(sizeof *mcast, GFP_KERNEL);
3069 if (!mcast) {
3074 mcast->lid = cmd.mlid;
3075 memcpy(mcast
3098 struct ib_uverbs_mcast_entry *mcast; local
[all...]
/freebsd-13-stable/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_dtsec.h1012 * @mcast: true is this is a multicast address
1018 bool mcast, bool ghtx);
1023 * @mcast: Reset multicast entries
1033 void fman_dtsec_reset_filter_table(struct dtsec_regs *regs, bool mcast,
/freebsd-13-stable/sys/netinet6/
H A Dnd6_rtr.c363 int mcast; local
415 mcast = 0;
423 mcast = 1;
523 (void)prelist_update(&pr, dr, m, mcast);
1192 in6_ifadd(struct nd_prefixctl *pr, int mcast) argument
1287 if (mcast)
1476 struct mbuf *m, int mcast)
1753 if ((ia6 = in6_ifadd(new, mcast)) != NULL) {
1475 prelist_update(struct nd_prefixctl *new, struct nd_defrouter *dr, struct mbuf *m, int mcast) argument
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-pip.h492 status->mcast_l2_red_packets = stat10.s.mcast;
494 status->mcast_l3_red_packets = stat11.s.mcast;
H A Dcvmx-pip-defs.h4610 uint64_t mcast : 32; /**< Number of packets with L2 Mulitcast DMAC member in struct:cvmx_pip_stat10_x::cvmx_pip_stat10_x_s
4619 uint64_t mcast : 32;
4644 uint64_t mcast : 32; /**< Number of packets with L2 Mulitcast DMAC member in struct:cvmx_pip_stat10_prtx::cvmx_pip_stat10_prtx_s
4653 uint64_t mcast : 32;
4688 uint64_t mcast : 32; /**< Number of packets with L3 Multicast Dest Address member in struct:cvmx_pip_stat11_x::cvmx_pip_stat11_x_s
4700 uint64_t mcast : 32;
4728 uint64_t mcast : 32; /**< Number of packets with L3 Multicast Dest Address member in struct:cvmx_pip_stat11_prtx::cvmx_pip_stat11_prtx_s
4740 uint64_t mcast : 32;
5838 uint64_t mcast : 32; /**< Number of packets with L2 Mulitcast DMAC member in struct:cvmx_pip_xstat10_prtx::cvmx_pip_xstat10_prtx_s
5847 uint64_t mcast
5876 uint64_t mcast : 32; /**< Number of packets with L3 Multicast Dest Address member in struct:cvmx_pip_xstat11_prtx::cvmx_pip_xstat11_prtx_s
[all...]
/freebsd-13-stable/sys/net80211/
H A Dieee80211_proto.h428 struct mbuf *, int mcast);
H A Dieee80211_output.c127 int mcast; local
173 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1: 0;
215 if ((m->m_flags & M_EAPOL) == 0 && (! mcast)) {
268 if ((! mcast) &&
279 } else if ((! mcast) && do_ff) {
381 eh->ether_dhost, "mcast", "%s", "on DWDS");
714 /* XXX pre-setup some default (e.g., mgmt / mcast) rate */
1739 /* mcast */
1750 case IEEE80211_MESH_AE_01: /* mcast, proxy */
3698 ieee80211_beacon_update(struct ieee80211_node *ni, struct mbuf *m, int mcast) argument
[all...]
/freebsd-13-stable/sys/dev/bwn/
H A Dif_bwnvar.h703 struct bwn_dma_ring *mcast; member in struct:bwn_dma
736 struct bwn_pio_txqueue mcast; member in struct:bwn_pio
H A Dif_bwn.c2636 bwn_pio_set_txqueue(mac, &pio->mcast, 4);
2813 bwn_dma_setup(dma->mcast);
4812 bwn_dma_ringfree(&dma->mcast);
6927 tq = &pio->mcast;
7287 dma->mcast = bwn_dma_ringsetup(mac, 4, 1);
7288 if (!dma->mcast)
7296 fail7: bwn_dma_ringfree(&dma->mcast);
7331 dr = dma->mcast;
7370 bwn_dma_ringstop(&dma->mcast);
7392 bwn_destroy_queue_tx(&pio->mcast);
[all...]
/freebsd-13-stable/sys/net/
H A Dif_vlan.c1183 int error, len, mcast; local
1195 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0;
1240 if_inc_counter(ifp, IFCOUNTER_OMCASTS, mcast);
H A Dif_vxlan.c2483 int len, mcast, error; local
2517 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0;
2574 if (mcast != 0)
2595 int len, mcast, error; local
2628 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0;
2692 if (mcast != 0)

Completed in 563 milliseconds

12