/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_multicast.c | 59 static void ipoib_mcast_free(struct ipoib_mcast *mcast) argument 61 struct ifnet *dev = mcast->priv->dev; 64 ipoib_dbg_mcast(mcast->priv, "deleting multicast group %16D\n", 65 mcast->mcmember.mgid.raw, ":"); 67 if (mcast->ah) 68 ipoib_put_ah(mcast->ah); 70 tx_dropped = mcast->pkt_queue.ifq_len; 71 _IF_DRAIN(&mcast->pkt_queue); /* XXX Locking. */ 75 kfree(mcast); 81 struct ipoib_mcast *mcast; local 103 struct ipoib_mcast *mcast; local 121 __ipoib_mcast_add(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast) argument 149 ipoib_mcast_join_finish(struct ipoib_mcast *mcast, struct ib_sa_mcmember_rec *mcmember) argument 242 struct ipoib_mcast *mcast = multicast->context; local 268 ipoib_mcast_sendonly_join(struct ipoib_mcast *mcast) argument 338 struct ipoib_mcast *mcast = multicast->context; local 397 ipoib_mcast_join(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast, int create) argument 524 struct ipoib_mcast *mcast = NULL; local 590 ipoib_mcast_leave(struct ipoib_dev_priv *priv, struct ipoib_mcast *mcast) argument 615 struct ipoib_mcast *mcast; local 675 struct ipoib_mcast *mcast, *tmcast; local 727 struct ipoib_mcast *mcast, *tmcast; local 862 struct ipoib_mcast *mcast; local [all...] |
/freebsd-10-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-10-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-10-stable/sys/xen/interface/io/ |
H A D | netif.h | 82 #define XEN_NETIF_EXTRA_TYPE_MCAST_ADD (2) /* u.mcast */ 83 #define XEN_NETIF_EXTRA_TYPE_MCAST_DEL (3) /* u.mcast */ 141 } mcast; member in union:netif_extra_info::__anon11713
|
/freebsd-10-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-10-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-10-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-10-stable/sys/ofed/drivers/infiniband/core/ |
H A D | addr.c | 241 goto mcast; 268 goto mcast; 323 mcast:
|
H A D | uverbs_main.c | 185 struct ib_uverbs_mcast_entry *mcast, *tmp; local 187 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) { 188 ib_detach_mcast(qp, &mcast->gid, mcast->lid); 189 list_del(&mcast->list); 190 kfree(mcast);
|
H A D | uverbs_cmd.c | 1905 struct ib_uverbs_mcast_entry *mcast; local 1917 list_for_each_entry(mcast, &obj->mcast_list, list) 1918 if (cmd.mlid == mcast->lid && 1919 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { 1924 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); 1925 if (!mcast) { 1930 mcast->lid = cmd.mlid; 1931 memcpy(mcast 1952 struct ib_uverbs_mcast_entry *mcast; local [all...] |
/freebsd-10-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-10-stable/sys/netinet6/ |
H A D | nd6_rtr.c | 217 int mcast = 0; local 272 mcast = 1; 370 (void)prelist_update(&pr, dr, m, mcast); 1077 struct mbuf *m, int mcast) 1355 if ((ia6 = in6_ifadd(new, mcast)) != NULL) { 1895 in6_ifadd(struct nd_prefixctl *pr, int mcast) argument 2009 if (mcast) 1076 prelist_update(struct nd_prefixctl *new, struct nd_defrouter *dr, struct mbuf *m, int mcast) argument
|
/freebsd-10-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-10-stable/sys/net80211/ |
H A D | ieee80211_proto.h | 400 struct ieee80211_beacon_offsets *, struct mbuf *, int mcast);
|
H A D | ieee80211_output.c | 134 int error, len, mcast; local 174 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1: 0; 258 if_inc_counter(ifp, IFCOUNTER_OMCASTS, mcast); 320 eh->ether_dhost, "mcast", "%s", "on DWDS"); 1397 /* mcast */ 1408 case IEEE80211_MESH_AE_01: /* mcast, proxy */ 3068 struct ieee80211_beacon_offsets *bo, struct mbuf *m, int mcast) 3258 if (mcast && tie->tim_count == 0) 3067 ieee80211_beacon_update(struct ieee80211_node *ni, struct ieee80211_beacon_offsets *bo, struct mbuf *m, int mcast) argument
|
/freebsd-10-stable/sys/net/ |
H A D | if_vxlan.c | 2283 int len, mcast, error; local 2312 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0; 2319 if (mcast != 0) 2340 int len, mcast, error; local 2380 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0; 2387 if (mcast != 0)
|
H A D | if_vlan.c | 1029 int error, len, mcast; local 1034 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0; 1102 ifp->if_omcasts += mcast;
|
H A D | if_lagg.c | 1467 int error, len, mcast; local 1471 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0; 1490 ifp->if_omcasts += mcast;
|
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/ |
H A D | port.c | 586 promisc = be32_to_cpu(qpn_context->mcast) >> 588 qpn_context->mcast = cpu_to_be32( 856 context->mcast = cpu_to_be32(m_promisc << SET_PORT_MC_PROMISC_SHIFT |
|
/freebsd-10-stable/sys/dev/bwn/ |
H A D | if_bwnvar.h | 633 struct bwn_dma_ring *mcast; member in struct:bwn_dma 667 struct bwn_pio_txqueue mcast; member in struct:bwn_pio
|
/freebsd-10-stable/sys/netinet/ |
H A D | ip_carp.c | 1038 static struct in6_addr mcast = IN6ADDR_LINKLOCAL_ALLNODES_INIT; local 1047 nd6_na_output(sc->sc_carpdev, &mcast, in6,
|