Home
last modified time | relevance | path

Searched refs:mcast (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c62 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 …]
/freebsd/contrib/netbsd-tests/net/mcast/
H A Dt_mcast.sh36 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}
/freebsd/contrib/netbsd-tests/ipf/input/
H A Df251 [in,hme0]+mcast
31 [in,hme0]+mcast
/freebsd/sys/dev/qlxge/
H A Dqls_hw.c1202 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 Dqls_def.h323 qla_mcast_t mcast[Q8_MAX_NUM_MULTICAST_ADDRS]; member
/freebsd/sys/dev/qlxgbe/
H A Dql_hw.c3506 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 …]
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_beacon.c164 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()
/freebsd/tools/tools/net80211/w00t/expand/
H A Dexpand.c64 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()
/freebsd/sys/net/
H A Dif_epair.c250 bool mcast; in epair_menq() local
263 mcast = (m->m_flags & (M_BCAST | M_MCAST)) != 0; in epair_menq()
281 if (mcast) in epair_menq()
330 bool mcast; in epair_transmit() local
382 mcast = (m->m_flags & (M_BCAST | M_MCAST)) != 0; in epair_transmit()
394 if (mcast) in epair_transmit()
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Di915 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 Df2527 2 pass in on hme0 proto udp from any to any with mcast keep state
/freebsd/contrib/netbsd-tests/ipf/regress/
H A Df251 pass in on hme0 proto udp all with mcast keep state
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_dtsec.c382 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 Ddtsec.c897 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()
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c2448 struct ecore_filter_mcast *mcast; in qlnx_config_mcast_mac_addr() local
2454 mcast = &ha->ecore_mcast; in qlnx_config_mcast_mac_addr()
2455 bzero(mcast, sizeof(struct ecore_filter_mcast)); in qlnx_config_mcast_mac_addr()
2458 mcast->opcode = ECORE_FILTER_ADD; in qlnx_config_mcast_mac_addr()
2460 mcast->opcode = ECORE_FILTER_REMOVE; in qlnx_config_mcast_mac_addr()
2462 mcast->num_mc_addrs = 1; in qlnx_config_mcast_mac_addr()
2463 memcpy(mcast->mac, mac_addr, ETH_ALEN); in qlnx_config_mcast_mac_addr()
2465 rc = ecore_filter_mcast_cmd(cdev, mcast, ECORE_SPQ_MODE_CB, NULL); in qlnx_config_mcast_mac_addr()
2476 if (QL_MAC_CMP(ha->mcast[i].addr, mta) == 0) in qlnx_hw_add_mcast()
2481 if ((ha->mcast[i].addr[0] == 0) && in qlnx_hw_add_mcast()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_main.c168 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 Dib_uverbs_cmd.c2493 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 …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.c2642 bool mcast) in __iwl_mvm_remove_sta_key()
2663 if (mcast)
3561 struct ieee80211_key_conf *key, bool mcast, in iwl_mvm_send_sta_key()
3639 if (mcast) in iwl_mvm_send_sta_key()
3825 bool mcast) in __iwl_mvm_set_sta_key()
3859 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in iwl_mvm_set_sta_key()
3864 return iwl_mvm_send_sta_key(mvm, sta_id, keyconf, mcast, in iwl_mvm_set_sta_key()
3874 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); in iwl_mvm_set_sta_key()
3940 ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); in iwl_mvm_set_sta_key()
3954 key_offset, !mcast); in iwl_mvm_set_sta_key()
2613 __iwl_mvm_remove_sta_key(struct iwl_mvm * mvm,u8 sta_id,struct ieee80211_key_conf * keyconf,bool mcast) __iwl_mvm_remove_sta_key() argument
3550 iwl_mvm_send_sta_key(struct iwl_mvm * mvm,u32 sta_id,struct ieee80211_key_conf * key,bool mcast,u32 tkip_iv32,u16 * tkip_p1k,u32 cmd_flags,u8 key_offset,bool mfp) iwl_mvm_send_sta_key() argument
3811 __iwl_mvm_set_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u8 key_offset,bool mcast) __iwl_mvm_set_sta_key() argument
3860 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); iwl_mvm_set_sta_key() local
3961 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); iwl_mvm_remove_sta_key() local
4021 bool mcast = !(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE); iwl_mvm_update_tkip_key() local
[all...]
/freebsd/sys/netinet6/
H A Dnd6_rtr.c366 int mcast; in nd6_ra_input() local
418 mcast = 0; in nd6_ra_input()
426 mcast = 1; in nd6_ra_input()
527 (void)prelist_update(&pr, dr, m, mcast); in nd6_ra_input()
1182 in6_ifadd(struct nd_prefixctl *pr, int mcast) in in6_ifadd() argument
1277 if (mcast) in in6_ifadd()
1466 struct mbuf *m, int mcast) in prelist_update() argument
1743 if ((ia6 = in6_ifadd(new, mcast)) != NULL) { in prelist_update()
/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_dtsec.h1018 bool mcast, bool ghtx);
1033 void fman_dtsec_reset_filter_table(struct dtsec_regs *regs, bool mcast,
/freebsd/sys/contrib/xen/io/
H A Dnetif.h1027 } mcast; member
/freebsd/sys/net80211/
H A Dieee80211_output.c126 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()
3776 ieee80211_beacon_update(struct ieee80211_node *ni, struct mbuf *m, int mcast) in ieee80211_beacon_update() argument
4018 if (mcast && tie->tim_count == 0) in ieee80211_beacon_update()
H A Dieee80211_proto.h428 struct mbuf *, int mcast);
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac.h408 bool beacon, bool mcast);
/freebsd/sys/dev/bwn/
H A Dif_bwnvar.h701 struct bwn_dma_ring *mcast; member
734 struct bwn_pio_txqueue mcast; member

12