| /src/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_multicast.c | 62 static void ipoib_mcast_free(struct ipoib_mcast *mcast) in ipoib_mcast_free() argument 64 if_t dev = mcast->priv->dev; in ipoib_mcast_free() 67 ipoib_dbg_mcast(mcast->priv, "deleting multicast group %16D\n", in ipoib_mcast_free() 68 mcast->mcmember.mgid.raw, ":"); in ipoib_mcast_free() 70 if (mcast->ah) in ipoib_mcast_free() 71 ipoib_put_ah(mcast->ah); in ipoib_mcast_free() 73 tx_dropped = mcast->pkt_queue.ifq_len; in ipoib_mcast_free() 74 _IF_DRAIN(&mcast->pkt_queue); /* XXX Locking. */ in ipoib_mcast_free() 78 kfree(mcast); in ipoib_mcast_free() 84 struct ipoib_mcast *mcast; in ipoib_mcast_alloc() local [all …]
|
| /src/contrib/netbsd-tests/net/mcast/ |
| H A D | t_mcast.sh | 36 local mcast="$(atf_get_srcdir)/mcast" 57 atf_check -s exit:0 -o ignore $mcast -d ${opts} 59 atf_check -s exit:0 $mcast ${opts}
|
| /src/contrib/netbsd-tests/ipf/input/ |
| H A D | f25 | 1 [in,hme0]+mcast 31 [in,hme0]+mcast
|
| /src/sys/dev/qlxge/ |
| H A D | qls_hw.c | 1202 if ((ha->mcast[i].addr[0] != 0) || in qls_hw_add_all_mcast() 1203 (ha->mcast[i].addr[1] != 0) || in qls_hw_add_all_mcast() 1204 (ha->mcast[i].addr[2] != 0) || in qls_hw_add_all_mcast() 1205 (ha->mcast[i].addr[3] != 0) || in qls_hw_add_all_mcast() 1206 (ha->mcast[i].addr[4] != 0) || in qls_hw_add_all_mcast() 1207 (ha->mcast[i].addr[5] != 0)) { in qls_hw_add_all_mcast() 1208 if (qls_config_mcast_mac_addr(ha, ha->mcast[i].addr, in qls_hw_add_all_mcast() 1227 if (QL_MAC_CMP(ha->mcast[i].addr, mta) == 0) in qls_hw_add_mcast() 1232 if ((ha->mcast[i].addr[0] == 0) && in qls_hw_add_mcast() 1233 (ha->mcast[i].addr[1] == 0) && in qls_hw_add_mcast() [all …]
|
| H A D | qls_def.h | 323 qla_mcast_t mcast[Q8_MAX_NUM_MULTICAST_ADDRS]; member
|
| /src/sys/dev/qlxgbe/ |
| H A D | ql_hw.c | 3506 uint8_t *mcast; in qla_hw_all_mcast() local 3513 mcast = ha->hw.mac_addr_arr; in qla_hw_all_mcast() 3514 memset(mcast, 0, (Q8_MAX_MAC_ADDRS * ETHER_ADDR_LEN)); in qla_hw_all_mcast() 3517 if ((ha->hw.mcast[i].addr[0] != 0) || in qla_hw_all_mcast() 3518 (ha->hw.mcast[i].addr[1] != 0) || in qla_hw_all_mcast() 3519 (ha->hw.mcast[i].addr[2] != 0) || in qla_hw_all_mcast() 3520 (ha->hw.mcast[i].addr[3] != 0) || in qla_hw_all_mcast() 3521 (ha->hw.mcast[i].addr[4] != 0) || in qla_hw_all_mcast() 3522 (ha->hw.mcast[i].addr[5] != 0)) { in qla_hw_all_mcast() 3523 bcopy(ha->hw.mcast[i].addr, mcast, ETHER_ADDR_LEN); in qla_hw_all_mcast() [all …]
|
| /src/sys/dev/rtwn/ |
| H A D | if_rtwn_beacon.c | 164 int mcast = 0; in rtwn_update_beacon() local 195 mcast = 1; /* XXX */ in rtwn_update_beacon() 206 ieee80211_beacon_update(ni, uvp->bcn_mbuf, mcast); in rtwn_update_beacon()
|
| /src/tools/tools/net80211/w00t/expand/ |
| H A D | expand.c | 64 char mcast[5]; member 204 memcpy(wh->i_addr3, p->mcast, 5); in send_mcast() 348 (memcmp(wh->i_addr1, p->mcast, 5) == 0) && in read_wifi() 429 memcpy(p.mcast, "\x01\x00\x5e\x00\x00", 5); in main()
|
| /src/contrib/netbsd-tests/ipf/expected/ |
| H A D | i9 | 15 pass in from any to any with not ipopts,mbcast,not bcast,mcast,not state 16 block in from any to any with not mbcast,bcast,not mcast,state
|
| H A D | f25 | 27 2 pass in on hme0 proto udp from any to any with mcast keep state
|
| /src/sys/net/ |
| H A D | if_epair.c | 256 bool mcast; in epair_menq() local 269 mcast = (m->m_flags & (M_BCAST | M_MCAST)) != 0; in epair_menq() 287 if (mcast) in epair_menq() 336 bool mcast; in epair_transmit() local 388 mcast = (m->m_flags & (M_BCAST | M_MCAST)) != 0; in epair_transmit() 400 if (mcast) in epair_transmit()
|
| /src/contrib/netbsd-tests/ipf/regress/ |
| H A D | f25 | 1 pass in on hme0 proto udp all with mcast keep state
|
| /src/sys/contrib/ncsw/Peripherals/FM/MAC/ |
| H A D | fman_dtsec.c | 382 void fman_dtsec_set_hash_table(struct dtsec_regs *regs, uint32_t crc, bool mcast, bool ghtx) in fman_dtsec_set_hash_table() argument 390 if (mcast) in fman_dtsec_set_hash_table() 414 void fman_dtsec_reset_filter_table(struct dtsec_regs *regs, bool mcast, bool ucast) in fman_dtsec_reset_filter_table() argument 421 if (ucast || (ghtx && mcast)) { in fman_dtsec_reset_filter_table() 425 if (mcast) { in fman_dtsec_reset_filter_table()
|
| H A D | dtsec.c | 897 bool mcast, ghtx; in DtsecAddHashMacAddress() local 905 mcast = (bool)((ethAddr & MAC_GROUP_ADDRESS) ? TRUE : FALSE); in DtsecAddHashMacAddress() 907 if (ghtx && !mcast) /* Cannot handle unicast mac addr when GHTX is on */ in DtsecAddHashMacAddress() 927 if (mcast) in DtsecAddHashMacAddress() 957 bool mcast, ghtx; in DtsecDelHashMacAddress() local 965 mcast = (bool)((ethAddr & MAC_GROUP_ADDRESS) ? TRUE : FALSE); in DtsecDelHashMacAddress() 967 if (ghtx && !mcast) /* Cannot handle unicast mac addr when GHTX is on */ in DtsecDelHashMacAddress() 977 if (mcast) in DtsecDelHashMacAddress()
|
| /src/sys/netinet6/ |
| H A D | nd6_rtr.c | 361 bool auth, bool mcast) in nd6_ra_opt_pi() argument 409 (void)prelist_update(&pr, dr, auth, mcast); in nd6_ra_opt_pi() 499 bool mcast, auth; in nd6_ra_input() local 553 mcast = false; in nd6_ra_input() 556 mcast = true; in nd6_ra_input() 616 nd6_ra_opt_pi(pt, ifp, nd_ra, dr, auth, mcast); in nd6_ra_input() 1189 in6_ifadd(struct nd_prefixctl *pr, int mcast) in in6_ifadd() argument 1316 if (mcast) in in6_ifadd() 1502 bool auth, int mcast) in prelist_update() argument 1789 if ((ia6 = in6_ifadd(new, mcast)) != NULL) { in prelist_update()
|
| /src/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_uverbs_main.c | 168 struct ib_uverbs_mcast_entry *mcast, *tmp; in ib_uverbs_detach_umcast() local 170 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) { in ib_uverbs_detach_umcast() 171 ib_detach_mcast(qp, &mcast->gid, mcast->lid); in ib_uverbs_detach_umcast() 172 list_del(&mcast->list); in ib_uverbs_detach_umcast() 173 kfree(mcast); in ib_uverbs_detach_umcast()
|
| H A D | ib_uverbs_cmd.c | 2493 struct ib_uverbs_mcast_entry *mcast; in ib_uverbs_attach_mcast() local 2507 list_for_each_entry(mcast, &obj->mcast_list, list) in ib_uverbs_attach_mcast() 2508 if (cmd.mlid == mcast->lid && in ib_uverbs_attach_mcast() 2509 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) { in ib_uverbs_attach_mcast() 2514 mcast = kmalloc(sizeof *mcast, GFP_KERNEL); in ib_uverbs_attach_mcast() 2515 if (!mcast) { in ib_uverbs_attach_mcast() 2520 mcast->lid = cmd.mlid; in ib_uverbs_attach_mcast() 2521 memcpy(mcast->gid.raw, cmd.gid, sizeof mcast->gid.raw); in ib_uverbs_attach_mcast() 2523 ret = ib_attach_mcast(qp, &mcast->gid, cmd.mlid); in ib_uverbs_attach_mcast() 2525 list_add_tail(&mcast->list, &obj->mcast_list); in ib_uverbs_attach_mcast() [all …]
|
| /src/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | sta.c | 2624 bool mcast) in __iwl_mvm_remove_sta_key() argument 2645 if (mcast) in __iwl_mvm_remove_sta_key() 3543 struct ieee80211_key_conf *key, bool mcast, in iwl_mvm_send_sta_key() argument 3621 if (mcast) in iwl_mvm_send_sta_key() 3807 bool mcast) in __iwl_mvm_set_sta_key() argument 3841 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key() 3846 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in __iwl_mvm_set_sta_key() 3856 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); in iwl_mvm_set_sta_key() local 3922 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key() 3936 key_offset, !mcast); in iwl_mvm_set_sta_key() [all …]
|
| /src/sys/contrib/ncsw/inc/flib/ |
| H A D | fsl_fman_dtsec.h | 1018 bool mcast, bool ghtx); 1033 void fman_dtsec_reset_filter_table(struct dtsec_regs *regs, bool mcast,
|
| /src/sys/contrib/xen/io/ |
| H A D | netif.h | 1027 } mcast; member
|
| /src/sys/contrib/dev/iwlwifi/mld/tests/ |
| H A D | agg.c | 503 bool mcast) in alloc_and_setup_skb() argument 521 if (mcast) in alloc_and_setup_skb()
|
| /src/sys/dev/qlnx/qlnxe/ |
| H A D | qlnx_os.c | 2456 struct ecore_filter_mcast mcast; in qlnx_set_multi() local 2465 bzero(&mcast, sizeof(struct ecore_filter_mcast)); in qlnx_set_multi() 2466 mcnt = if_foreach_llmaddr(ifp, qlnx_mcast_bins_from_maddr, mcast.bins); in qlnx_set_multi() 2469 if (memcmp(ha->ecore_mcast_bins, mcast.bins, sizeof(mcast.bins)) == 0) in qlnx_set_multi() 2473 mcast.opcode = ECORE_FILTER_REPLACE; in qlnx_set_multi() 2474 rc = ecore_filter_mcast_cmd(cdev, &mcast, ECORE_SPQ_MODE_CB, NULL); in qlnx_set_multi() 2476 memcpy(ha->ecore_mcast_bins, mcast.bins, sizeof(mcast.bins)); in qlnx_set_multi() 2500 bool mcast, ucast; in _qlnx_set_promisc_allmulti() local 2507 mcast = promisc || allmulti; in _qlnx_set_promisc_allmulti() 2510 if (mcast) in _qlnx_set_promisc_allmulti() [all …]
|
| /src/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76_connac.h | 436 bool beacon, bool mcast);
|
| /src/sys/net80211/ |
| H A D | ieee80211_proto.h | 432 struct mbuf *, int mcast);
|
| H A D | ieee80211_output.c | 126 int mcast; in ieee80211_vap_pkt_send_dest() local 174 mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1: 0; in ieee80211_vap_pkt_send_dest() 218 if ((m->m_flags & M_EAPOL) == 0 && (! mcast)) { in ieee80211_vap_pkt_send_dest() 273 if ((! mcast) && in ieee80211_vap_pkt_send_dest() 284 } else if ((! mcast) && do_ff) { in ieee80211_vap_pkt_send_dest() 3786 ieee80211_beacon_update(struct ieee80211_node *ni, struct mbuf *m, int mcast) in ieee80211_beacon_update() argument 4023 if (mcast && tie->tim_count == 0) in ieee80211_beacon_update()
|