Home
last modified time | relevance | path

Searched refs:mld (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/net/ipv6/
Dmcast_snoop.c76 struct mld_msg *mld; in ipv6_mc_check_mld_query() local
94 mld = (struct mld_msg *)skb_transport_header(skb); in ipv6_mc_check_mld_query()
99 if (ipv6_addr_any(&mld->mld_mca) && in ipv6_mc_check_mld_query()
109 struct mld_msg *mld; in ipv6_mc_check_mld_msg() local
114 mld = (struct mld_msg *)skb_transport_header(skb); in ipv6_mc_check_mld_msg()
116 switch (mld->mld_type) { in ipv6_mc_check_mld_msg()
Dmcast.c1314 static int mld_process_v1(struct inet6_dev *idev, struct mld_msg *mld, in mld_process_v1() argument
1323 mldv1_md = ntohs(mld->mld_maxdelay); in mld_process_v1()
1360 static void mld_process_v2(struct inet6_dev *idev, struct mld2_query *mld, in mld_process_v2() argument
1363 *max_delay = max(msecs_to_jiffies(mldv2_mrc(mld)), 1UL); in mld_process_v2()
1365 mld_update_qrv(idev, mld); in mld_process_v2()
1366 mld_update_qi(idev, mld); in mld_process_v2()
1367 mld_update_qri(idev, mld); in mld_process_v2()
1401 struct mld_msg *mld; in __mld_query_work() local
1430 mld = (struct mld_msg *)icmp6_hdr(skb); in __mld_query_work()
1431 group = &mld->mld_mca; in __mld_query_work()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
DMakefile11 iwlmvm-y += mld-key.o mld-mac.o link.o mld-sta.o mld-mac80211.o
Dsta.c4330 bool mld = iwl_mvm_has_mld_api(mvm->fw); in iwl_mvm_add_pasn_sta() local
4331 u32 type = mld ? STATION_TYPE_PEER : IWL_STA_LINK; in iwl_mvm_add_pasn_sta()
4338 if (mld) in iwl_mvm_add_pasn_sta()
4357 if (mld) { in iwl_mvm_add_pasn_sta()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmcu.c1744 struct sta_rec_mld *mld; in mt7925_mcu_sta_mld_tlv() local
1748 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_MLD, sizeof(*mld)); in mt7925_mcu_sta_mld_tlv()
1749 mld = (struct sta_rec_mld *)tlv; in mt7925_mcu_sta_mld_tlv()
1750 memcpy(mld->mac_addr, sta->addr, ETH_ALEN); in mt7925_mcu_sta_mld_tlv()
1751 mld->primary_id = cpu_to_le16(msta->deflink.wcid.idx); in mt7925_mcu_sta_mld_tlv()
1752 mld->wlan_id = cpu_to_le16(msta->deflink.wcid.idx); in mt7925_mcu_sta_mld_tlv()
1753 mld->link_num = min_t(u8, hweight16(mvif->valid_links), 2); in mt7925_mcu_sta_mld_tlv()
1756 if (cnt == mld->link_num) in mt7925_mcu_sta_mld_tlv()
1761 mld->link[cnt].wlan_id = cpu_to_le16(mlink->wcid.idx); in mt7925_mcu_sta_mld_tlv()
1762 mld->link[cnt++].bss_idx = mconf->mt76.idx; in mt7925_mcu_sta_mld_tlv()
[all …]
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dbridge_vlan_mcast.sh245 vlmc_check_query mld 1 $swp1 1 1
285 vlmc_check_query mld 2 $swp1 1 1
/linux-6.12.1/drivers/net/
Damt.c1177 struct mld_msg *mld; in amt_dev_xmit() local
1217 mld = (struct mld_msg *)skb_transport_header(skb); in amt_dev_xmit()
1218 switch (mld->mld_type) { in amt_dev_xmit()
2101 struct mld_msg *mld = (struct mld_msg *)icmp6_hdr(skb); in amt_mldv1_report_handler() local
2106 memcpy(&group.ip6, &mld->mld_mca, sizeof(struct in6_addr)); in amt_mldv1_report_handler()
2138 struct mld_msg *mld = (struct mld_msg *)icmp6_hdr(skb); in amt_mldv1_leave_handler() local
2143 memcpy(&group.ip6, &mld->mld_mca, sizeof(struct in6_addr)); in amt_mldv1_leave_handler()
2228 struct mld_msg *mld = (struct mld_msg *)icmp6_hdr(skb); in amt_mld_report_handler() local
2230 switch (mld->mld_type) { in amt_mld_report_handler()
/linux-6.12.1/net/bridge/
Dbr_multicast.c3508 struct mld_msg *mld; in br_ip6_multicast_query() local
3525 if (transport_len == sizeof(*mld)) { in br_ip6_multicast_query()
3526 if (!pskb_may_pull(skb, offset + sizeof(*mld))) { in br_ip6_multicast_query()
3530 mld = (struct mld_msg *) icmp6_hdr(skb); in br_ip6_multicast_query()
3531 max_delay = msecs_to_jiffies(ntohs(mld->mld_maxdelay)); in br_ip6_multicast_query()
3533 group = &mld->mld_mca; in br_ip6_multicast_query()
3885 struct mld_msg *mld; in br_multicast_ipv6_rcv() local
3903 mld = (struct mld_msg *)skb_transport_header(skb); in br_multicast_ipv6_rcv()
3904 BR_INPUT_SKB_CB(skb)->igmp = mld->mld_type; in br_multicast_ipv6_rcv()
3906 switch (mld->mld_type) { in br_multicast_ipv6_rcv()
[all …]
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/
Dmcu.c876 struct bss_mld_tlv *mld; in mt7996_mcu_bss_mld_tlv() local
879 tlv = mt7996_mcu_add_uni_tlv(skb, UNI_BSS_INFO_MLD, sizeof(*mld)); in mt7996_mcu_bss_mld_tlv()
881 mld = (struct bss_mld_tlv *)tlv; in mt7996_mcu_bss_mld_tlv()
882 mld->group_mld_id = 0xff; in mt7996_mcu_bss_mld_tlv()
883 mld->own_mld_id = mvif->mt76.idx; in mt7996_mcu_bss_mld_tlv()
884 mld->remap_idx = 0xff; in mt7996_mcu_bss_mld_tlv()