Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/ip/
Digmp.c92 static int igmp_v3_create(struct net_pkt *pkt, uint8_t type, struct net_if_mcast_addr mcast[], in igmp_v3_create() argument
114 if (!mcast[i].is_used || !mcast[i].is_joined || in igmp_v3_create()
115 net_ipv4_addr_cmp_raw((uint8_t *)&mcast[i].address.in_addr, in igmp_v3_create()
143 if (!mcast[i].is_used || !mcast[i].is_joined || in igmp_v3_create()
144 net_ipv4_addr_cmp_raw((uint8_t *)&mcast[i].address.in_addr, in igmp_v3_create()
155 group_record->type = mcast[i].record_type; in igmp_v3_create()
157 net_ipaddr_copy(&group_record->address, &mcast[i].address.in_addr); in igmp_v3_create()
158 group_record->sources_len = htons(mcast[i].sources_len); in igmp_v3_create()
164 for (int j = 0; j < mcast[i].sources_len; j++) { in igmp_v3_create()
165 if (net_pkt_write(pkt, &mcast[i].sources[j].in_addr.s_addr, in igmp_v3_create()
[all …]
Dipv6_mld.c157 struct net_if_mcast_addr *mcasts = info->iface->config.ip.ipv6->mcast; in append_mcast_routes()
296 if (!ipv6->mcast[i].is_used || !ipv6->mcast[i].is_joined) { in send_mld_report()
326 if (!ipv6->mcast[i].is_used || !ipv6->mcast[i].is_joined) { in send_mld_report()
330 ret = mld_create(pkt, &ipv6->mcast[i].address.in6_addr, in send_mld_report()
Dnet_if.c1186 if (!ipv6->mcast[i].is_used || in leave_mcast_all()
1187 !ipv6->mcast[i].is_joined) { in leave_mcast_all()
1191 net_ipv6_mld_leave(iface, &ipv6->mcast[i].address.in6_addr); in leave_mcast_all()
1637 ARRAY_FOR_EACH(ipv6->mcast, i) { in rejoin_ipv6_mcast_groups()
1640 if (!ipv6->mcast[i].is_used || in rejoin_ipv6_mcast_groups()
1641 net_if_ipv6_maddr_is_joined(&ipv6->mcast[i])) { in rejoin_ipv6_mcast_groups()
1645 ret = net_ipv6_mld_join(iface, &ipv6->mcast[i].address.in6_addr); in rejoin_ipv6_mcast_groups()
1648 net_sprint_ipv6_addr(&ipv6->mcast[i].address.in6_addr), in rejoin_ipv6_mcast_groups()
1652 net_sprint_ipv6_addr(&ipv6->mcast[i].address.in6_addr), in rejoin_ipv6_mcast_groups()
1678 ARRAY_FOR_EACH(ipv6->mcast, i) { in clear_joined_ipv6_mcast_groups()
[all …]
DKconfig.ipv469 int "Max number of IPv4 sources per mcast address to be included or excluded"
/Zephyr-latest/tests/net/route_mcast/src/
Dmain.c135 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-latest/subsys/net/lib/shell/
Diface.c172 struct net_if_mcast_addr *mcast; in iface_cb() local
382 ARRAY_FOR_EACH(ipv6->mcast, i) { in iface_cb()
383 mcast = &ipv6->mcast[i]; in iface_cb()
385 if (!mcast->is_used) { in iface_cb()
389 PR("\t%s%s\n", net_sprint_ipv6_addr(&mcast->address.in6_addr), in iface_cb()
390 net_if_ipv6_maddr_is_joined(mcast) ? "" : " <not joined>"); in iface_cb()
522 ARRAY_FOR_EACH(ipv4->mcast, i) { in iface_cb()
523 mcast = &ipv4->mcast[i]; in iface_cb()
525 if (!mcast->is_used) { in iface_cb()
529 PR("\t%s%s\n", net_sprint_ipv4_addr(&mcast->address.in_addr), in iface_cb()
[all …]
/Zephyr-latest/tests/net/ip-addr/src/
Dmain.c217 struct in6_addr mcast = { { { 0xff, 0x84, 0, 0, 0, 0, 0, 0, in ZTEST() local
239 zassert_true(net_ipv6_is_addr_mcast(&mcast), in ZTEST()
280 ifmaddr1 = net_if_ipv6_maddr_add(default_iface, &mcast); in ZTEST()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread_utils.c349 zephyr_addr = &ipv6->mcast[i]; in rm_ipv6_maddr_from_zephyr()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h322 struct net_if_mcast_addr mcast[NET_IF_MAX_IPV6_MADDR]; member
464 struct net_if_mcast_addr mcast[NET_IF_MAX_IPV4_MADDR]; member
/Zephyr-latest/tests/net/mld/src/
Dmain.c855 ARRAY_FOR_EACH_PTR(iface->config.ip.ipv6->mcast, mcast_addr) { in get_mcast_addr_count()
/Zephyr-latest/doc/releases/
Drelease-notes-1.11.rst335 * :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)