/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | igmp.c | 95 static int igmp_v3_create(struct net_pkt *pkt, uint8_t type, struct net_if_mcast_addr mcast[], in igmp_v3_create() argument 117 if (!mcast[i].is_used || !mcast[i].is_joined || in igmp_v3_create() 118 net_ipv4_addr_cmp_raw((uint8_t *)&mcast[i].address.in_addr, in igmp_v3_create() 146 if (!mcast[i].is_used || !mcast[i].is_joined || in igmp_v3_create() 147 net_ipv4_addr_cmp_raw((uint8_t *)&mcast[i].address.in_addr, in igmp_v3_create() 158 group_record->type = mcast[i].record_type; in igmp_v3_create() 160 net_ipaddr_copy(&group_record->address, &mcast[i].address.in_addr); in igmp_v3_create() 161 group_record->sources_len = htons(mcast[i].sources_len); in igmp_v3_create() 167 for (int j = 0; j < mcast[i].sources_len; j++) { in igmp_v3_create() 168 if (net_pkt_write(pkt, &mcast[i].sources[j].in_addr.s_addr, in igmp_v3_create() [all …]
|
D | ipv6_mld.c | 156 struct net_if_mcast_addr *mcasts = info->iface->config.ip.ipv6->mcast; in append_mcast_routes() 295 if (!ipv6->mcast[i].is_used || !ipv6->mcast[i].is_joined) { in send_mld_report() 325 if (!ipv6->mcast[i].is_used || !ipv6->mcast[i].is_joined) { in send_mld_report() 329 ret = mld_create(pkt, &ipv6->mcast[i].address.in6_addr, in send_mld_report()
|
D | net_if.c | 1159 if (!ipv6->mcast[i].is_used || in leave_mcast_all() 1160 !ipv6->mcast[i].is_joined) { in leave_mcast_all() 1164 net_ipv6_mld_leave(iface, &ipv6->mcast[i].address.in6_addr); in leave_mcast_all() 1695 ARRAY_FOR_EACH(ipv6->mcast, i) { in rejoin_ipv6_mcast_groups() 1698 if (!ipv6->mcast[i].is_used || in rejoin_ipv6_mcast_groups() 1699 net_if_ipv4_maddr_is_joined(&ipv6->mcast[i])) { in rejoin_ipv6_mcast_groups() 1703 ret = net_ipv6_mld_join(iface, &ipv6->mcast[i].address.in6_addr); in rejoin_ipv6_mcast_groups() 1706 net_sprint_ipv6_addr(&ipv6->mcast[i].address.in6_addr), in rejoin_ipv6_mcast_groups() 1732 ARRAY_FOR_EACH(ipv6->mcast, i) { in clear_joined_ipv6_mcast_groups() 1733 if (!ipv6->mcast[i].is_used) { in clear_joined_ipv6_mcast_groups() [all …]
|
D | Kconfig.ipv4 | 58 int "Max number of IPv4 sources per mcast address to be included or excluded"
|
/Zephyr-Core-3.7.0/tests/net/route_mcast/src/ |
D | main.c | 135 struct in6_addr mcast; member 216 (memcmp(&active_scenario.mcast, in check_packet_addresses() 469 memcpy(&active_scenario.mcast, &mcast_prefix_site_local, in test_route_mcast_scenario1() 471 active_scenario.mcast.s6_addr[15] = 0x01; in test_route_mcast_scenario1() 474 &active_scenario.mcast, 20015, 20001); in test_route_mcast_scenario1() 497 &active_scenario.mcast, 20015, 20001); in test_route_mcast_scenario1() 531 memcpy(&active_scenario.mcast, &mcast_prefix_admin, in test_route_mcast_scenario2() 533 active_scenario.mcast.s6_addr[15] = 0x01; in test_route_mcast_scenario2() 536 &active_scenario.mcast, 215, 201); in test_route_mcast_scenario2() 556 &active_scenario.mcast, 215, 201); in test_route_mcast_scenario2() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/lib/shell/ |
D | iface.c | 169 struct net_if_mcast_addr *mcast; in iface_cb() local 379 ARRAY_FOR_EACH(ipv6->mcast, i) { in iface_cb() 380 mcast = &ipv6->mcast[i]; in iface_cb() 382 if (!mcast->is_used) { in iface_cb() 386 PR("\t%s%s\n", net_sprint_ipv6_addr(&mcast->address.in6_addr), in iface_cb() 387 net_if_ipv6_maddr_is_joined(mcast) ? "" : " <not joined>"); in iface_cb() 494 ARRAY_FOR_EACH(ipv4->mcast, i) { in iface_cb() 495 mcast = &ipv4->mcast[i]; in iface_cb() 497 if (!mcast->is_used) { in iface_cb() 501 PR("\t%s%s\n", net_sprint_ipv4_addr(&mcast->address.in_addr), in iface_cb() [all …]
|
/Zephyr-Core-3.7.0/tests/net/ip-addr/src/ |
D | main.c | 216 struct in6_addr mcast = { { { 0xff, 0x84, 0, 0, 0, 0, 0, 0, in ZTEST() local 238 zassert_true(net_ipv6_is_addr_mcast(&mcast), in ZTEST() 279 ifmaddr1 = net_if_ipv6_maddr_add(default_iface, &mcast); in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/net/l2/openthread/ |
D | openthread_utils.c | 345 zephyr_addr = &ipv6->mcast[i]; in rm_ipv6_maddr_from_zephyr()
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | net_if.h | 320 struct net_if_mcast_addr mcast[NET_IF_MAX_IPV6_MADDR]; member 452 struct net_if_mcast_addr mcast[NET_IF_MAX_IPV4_MADDR]; member
|
/Zephyr-Core-3.7.0/tests/net/mld/src/ |
D | main.c | 854 ARRAY_FOR_EACH_PTR(iface->config.ip.ipv6->mcast, mcast_addr) { in get_mcast_addr_count()
|
/Zephyr-Core-3.7.0/doc/releases/ |
D | release-notes-1.11.rst | 335 * :github:`5282` - net: IPv6 DAD is incorrect, wouldn't work ("always succeed") on mcast medium lik… 453 * :github:`6050` - IPSP sample failed: Cannot bind IPv6 mcast (-2)
|