/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_multicast.c | 62 static void ipoib_mcast_free(struct ipoib_mcast *mcast) argument 64 struct ifnet *dev = mcast->priv->dev; 67 ipoib_dbg_mcast(mcast->priv, "deleting multicast group %16D\n", 68 mcast->mcmember.mgid.raw, ":"); 70 if (mcast->ah) 71 ipoib_put_ah(mcast->ah); 73 tx_dropped = mcast->pkt_queue.ifq_len; 74 _IF_DRAIN(&mcast->pkt_queue); /* XXX Locking. */ 78 kfree(mcast); 84 struct ipoib_mcast *mcast; local 106 struct ipoib_mcast *mcast; local 124 __ipoib_mcast_add(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast) argument 152 ipoib_mcast_join_finish(struct ipoib_mcast *mcast, struct ib_sa_mcmember_rec *mcmember) argument 245 struct ipoib_mcast *mcast = multicast->context; local 271 ipoib_mcast_sendonly_join(struct ipoib_mcast *mcast) argument 341 struct ipoib_mcast *mcast = multicast->context; local 400 ipoib_mcast_join(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast, int create) argument 535 struct ipoib_mcast *mcast = NULL; local 602 ipoib_mcast_leave(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast) argument 627 struct ipoib_mcast *mcast; local 687 struct ipoib_mcast *mcast, *tmcast; local 739 struct ipoib_mcast *mcast, *tmcast; local 874 struct ipoib_mcast *mcast; local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/net/mcast/ |
H A D | t_mcast.sh | 36 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-11-stable/contrib/apr/network_io/unix/ |
H A D | multicast.c | 29 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-11-stable/sys/xen/interface/io/ |
H A D | netif.h | 309 #define XEN_NETIF_EXTRA_TYPE_MCAST_ADD (2) /* u.mcast */ 310 #define XEN_NETIF_EXTRA_TYPE_MCAST_DEL (3) /* u.mcast */ 362 } mcast; member in union:netif_extra_info::__anon13555
|
/freebsd-11-stable/sys/dev/qlxgbe/ |
H A D | ql_hw.c | 3575 uint8_t *mcast; local 3582 mcast = ha->hw.mac_addr_arr; 3583 memset(mcast, 0, (Q8_MAX_MAC_ADDRS * ETHER_ADDR_LEN)); 3586 if ((ha->hw.mcast[i].addr[0] != 0) || 3587 (ha->hw.mcast[i].addr[1] != 0) || 3588 (ha->hw.mcast[i].addr[2] != 0) || 3589 (ha->hw.mcast[i].addr[3] != 0) || 3590 (ha->hw.mcast[i].addr[4] != 0) || 3591 (ha->hw.mcast[i].addr[5] != 0)) { 3593 bcopy(ha->hw.mcast[ 3738 uint8_t *mcast; local [all...] |
/freebsd-11-stable/tools/tools/net80211/w00t/expand/ |
H A D | expand.c | 66 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-11-stable/sys/dev/qlxge/ |
H A D | qls_hw.c | 1216 if ((ha->mcast[i].addr[0] != 0) || 1217 (ha->mcast[i].addr[1] != 0) || 1218 (ha->mcast[i].addr[2] != 0) || 1219 (ha->mcast[i].addr[3] != 0) || 1220 (ha->mcast[i].addr[4] != 0) || 1221 (ha->mcast[i].addr[5] != 0)) { 1223 if (qls_config_mcast_mac_addr(ha, ha->mcast[i].addr, 1243 if (QL_MAC_CMP(ha->mcast[i].addr, mta) == 0) 1249 if ((ha->mcast[i].addr[0] == 0) && 1250 (ha->mcast[ [all...] |
H A D | qls_def.h | 326 qla_mcast_t mcast[Q8_MAX_NUM_MULTICAST_ADDRS]; member in struct:qla_host
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 2542 struct ecore_filter_mcast *mcast; local 2548 mcast = &ha->ecore_mcast; 2549 bzero(mcast, sizeof(struct ecore_filter_mcast)); 2552 mcast->opcode = ECORE_FILTER_ADD; 2554 mcast->opcode = ECORE_FILTER_REMOVE; 2556 mcast->num_mc_addrs = 1; 2557 memcpy(mcast->mac, mac_addr, ETH_ALEN); 2559 rc = ecore_filter_mcast_cmd(cdev, mcast, ECORE_SPQ_MODE_CB, NULL); 2571 if (QL_MAC_CMP(ha->mcast[i].addr, mta) == 0) 2577 if ((ha->mcast[ 7245 struct ecore_filter_mcast *mcast; local [all...] |
H A D | qlnx_def.h | 463 qlnx_mcast_t mcast[QLNX_MAX_NUM_MULTICAST_ADDRS]; member in struct:qlnx_host
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_main.c | 222 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 D | ib_uverbs_cmd.c | 3051 struct ib_uverbs_mcast_entry *mcast; local 3064 list_for_each_entry(mcast, &obj->mcast_list, list) 3065 if (cmd.mlid == mcast->lid && 3066 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { 3071 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); 3072 if (!mcast) { 3077 mcast->lid = cmd.mlid; 3078 memcpy(mcast 3101 struct ib_uverbs_mcast_entry *mcast; local [all...] |
/freebsd-11-stable/sys/netinet6/ |
H A D | nd6_rtr.c | 220 int mcast = 0; local 279 mcast = 1; 377 (void)prelist_update(&pr, dr, m, mcast); 1224 struct mbuf *m, int mcast) 1503 if ((ia6 = in6_ifadd(new, mcast)) != NULL) { 2058 in6_ifadd(struct nd_prefixctl *pr, int mcast) argument 2153 if (mcast) 1223 prelist_update(struct nd_prefixctl *new, struct nd_defrouter *dr, struct mbuf *m, int mcast) argument
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-pip.h | 492 status->mcast_l2_red_packets = stat10.s.mcast; 494 status->mcast_l3_red_packets = stat11.s.mcast;
|
H A D | cvmx-pip-defs.h | 4610 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...] |
H A D | cvmx-sriomaintx-defs.h | 3588 uint32_t mcast : 1; /**< Reserved. */ member in struct:cvmx_sriomaintx_port_0_ctl::cvmx_sriomaintx_port_0_ctl_s 3626 uint32_t mcast : 1;
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_proto.h | 412 struct mbuf *, int mcast);
|
H A D | ieee80211_output.c | 125 int mcast; local 167 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1: 0; 228 if ((! mcast) && ieee80211_amsdu_tx_ok(ni)) { 237 } else if ((! mcast) && IEEE80211_ATH_CAP(vap, ni, 342 eh->ether_dhost, "mcast", "%s", "on DWDS"); 1469 /* mcast */ 1480 case IEEE80211_MESH_AE_01: /* mcast, proxy */ 3164 ieee80211_beacon_update(struct ieee80211_node *ni, struct mbuf *m, int mcast) argument 3355 if (mcast && tie->tim_count == 0)
|
/freebsd-11-stable/sys/net/ |
H A D | if_vxlan.c | 2329 int len, mcast, error; local 2358 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0; 2365 if (mcast != 0) 2386 int len, mcast, error; local 2426 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0; 2433 if (mcast != 0)
|
H A D | if_vlan.c | 1135 int error, len, mcast; local 1148 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0; 1176 if_inc_counter(ifp, IFCOUNTER_OMCASTS, mcast);
|
H A D | if_lagg.c | 1630 int error, len, mcast; local 1634 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0;
|
/freebsd-11-stable/sys/dev/bwn/ |
H A D | if_bwnvar.h | 702 struct bwn_dma_ring *mcast; member in struct:bwn_dma 735 struct bwn_pio_txqueue mcast; member in struct:bwn_pio
|
H A D | if_bwn.c | 2418 bwn_pio_set_txqueue(mac, &pio->mcast, 4); 2629 bwn_dma_setup(dma->mcast); 4596 bwn_dma_ringfree(&dma->mcast); 6740 tq = &pio->mcast; 7028 dma->mcast = bwn_dma_ringsetup(mac, 4, 1, dma->dmatype); 7029 if (!dma->mcast) 7037 fail7: bwn_dma_ringfree(&dma->mcast); 7072 dr = dma->mcast; 7111 bwn_dma_ringstop(&dma->mcast); 7133 bwn_destroy_queue_tx(&pio->mcast); [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_port.c | 1297 promisc = be32_to_cpu(qpn_context->mcast) >> 1299 qpn_context->mcast = cpu_to_be32( 1599 context->mcast = cpu_to_be32(m_promisc << SET_PORT_MC_PROMISC_SHIFT |
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_carp.c | 1055 static struct in6_addr mcast = IN6ADDR_LINKLOCAL_ALLNODES_INIT; local 1064 nd6_na_output(sc->sc_carpdev, &mcast, in6,
|