Home
last modified time | relevance | path

Searched refs:unicast (Results 1 – 25 of 69) sorted by relevance

123

/Zephyr-Core-3.7.0/subsys/net/ip/
Dipv6_pe.c139 ARRAY_FOR_EACH(ipv6->unicast, i) { in ipv6_pe_prefix_already_exists()
140 if (!ipv6->unicast[i].is_used || in ipv6_pe_prefix_already_exists()
141 ipv6->unicast[i].address.family != AF_INET6 || in ipv6_pe_prefix_already_exists()
142 !ipv6->unicast[i].is_temporary || in ipv6_pe_prefix_already_exists()
143 ipv6->unicast[i].addr_state == NET_ADDR_DEPRECATED) { in ipv6_pe_prefix_already_exists()
148 (uint8_t *)&ipv6->unicast[i].address.in6_addr, in ipv6_pe_prefix_already_exists()
163 ARRAY_FOR_EACH(ipv6->unicast, i) { in ipv6_pe_prefix_remove()
164 if (ipv6->unicast[i].is_used && in ipv6_pe_prefix_remove()
165 ipv6->unicast[i].address.family == AF_INET6 && in ipv6_pe_prefix_remove()
166 ipv6->unicast[i].is_temporary && in ipv6_pe_prefix_remove()
[all …]
Dnet_if.c1327 ARRAY_FOR_EACH(ipv6->unicast, i) { in net_if_start_dad()
1328 if (!ipv6->unicast[i].is_used || in net_if_start_dad()
1329 ipv6->unicast[i].address.family != AF_INET6 || in net_if_start_dad()
1330 &ipv6->unicast[i] == ifaddr || in net_if_start_dad()
1332 &ipv6->unicast[i].address.in6_addr)) { in net_if_start_dad()
1336 net_if_ipv6_start_dad(iface, &ipv6->unicast[i]); in net_if_start_dad()
1579 ARRAY_FOR_EACH(ipv6->unicast, i) { in net_if_ipv6_addr_lookup()
1580 if (!ipv6->unicast[i].is_used || in net_if_ipv6_addr_lookup()
1581 ipv6->unicast[i].address.family != AF_INET6) { in net_if_ipv6_addr_lookup()
1587 ipv6->unicast[i].address.in6_addr.s6_addr, in net_if_ipv6_addr_lookup()
[all …]
/Zephyr-Core-3.7.0/subsys/net/lib/shell/
Dipv4.c37 ARRAY_FOR_EACH(ipv4->unicast, i) { in ip_address_lifetime_cb()
38 if (!ipv4->unicast[i].ipv4.is_used || in ip_address_lifetime_cb()
39 ipv4->unicast[i].ipv4.address.family != AF_INET) { in ip_address_lifetime_cb()
44 addrtype2str(ipv4->unicast[i].ipv4.addr_type), in ip_address_lifetime_cb()
45 addrstate2str(ipv4->unicast[i].ipv4.addr_state), in ip_address_lifetime_cb()
46 atomic_get(&ipv4->unicast[i].ipv4.atomic_ref), in ip_address_lifetime_cb()
48 &ipv4->unicast[i].ipv4.address.in_addr), in ip_address_lifetime_cb()
50 &ipv4->unicast[i].netmask)); in ip_address_lifetime_cb()
Diface.c168 struct net_if_addr *unicast; in iface_cb() local
355 ARRAY_FOR_EACH(ipv6->unicast, i) { in iface_cb()
356 unicast = &ipv6->unicast[i]; in iface_cb()
358 if (!unicast->is_used) { in iface_cb()
363 net_sprint_ipv6_addr(&unicast->address.in6_addr), in iface_cb()
364 addrtype2str(unicast->addr_type), in iface_cb()
365 addrstate2str(unicast->addr_state), in iface_cb()
366 unicast->is_infinite ? " infinite" : "", in iface_cb()
367 unicast->is_mesh_local ? " meshlocal" : "", in iface_cb()
368 unicast->is_temporary ? " temporary" : ""); in iface_cb()
[all …]
Dipv6.c101 ARRAY_FOR_EACH(ipv6->unicast, i) { in address_lifetime_cb()
107 if (!ipv6->unicast[i].is_used || in address_lifetime_cb()
108 ipv6->unicast[i].address.family != AF_INET6) { in address_lifetime_cb()
112 remaining = net_timeout_remaining(&ipv6->unicast[i].lifetime, in address_lifetime_cb()
116 &ipv6->unicast[i].address.in6_addr); in address_lifetime_cb()
123 if (ipv6->unicast[i].is_infinite) { in address_lifetime_cb()
132 addrtype2str(ipv6->unicast[i].addr_type), in address_lifetime_cb()
133 addrstate2str(ipv6->unicast[i].addr_state), in address_lifetime_cb()
134 remaining_str, atomic_get(&ipv6->unicast[i].atomic_ref), in address_lifetime_cb()
135 net_sprint_ipv6_addr(&ipv6->unicast[i].address.in6_addr), in address_lifetime_cb()
[all …]
/Zephyr-Core-3.7.0/samples/net/ipv4_autoconf/src/
Dmain.c44 if (cfg->ip.ipv4->unicast[i].ipv4.addr_type != NET_ADDR_AUTOCONF) { in handler()
50 &cfg->ip.ipv4->unicast[i].ipv4.address.in_addr, in handler()
54 &cfg->ip.ipv4->unicast[i].netmask, in handler()
/Zephyr-Core-3.7.0/samples/net/dhcpv4_client/src/
Dmain.c53 if (iface->config.ip.ipv4->unicast[i].ipv4.addr_type != in handler()
60 &iface->config.ip.ipv4->unicast[i].ipv4.address.in_addr, in handler()
64 &iface->config.ip.ipv4->unicast[i].netmask, in handler()
/Zephyr-Core-3.7.0/tests/net/shell/src/
Dmain.c115 if (iface->config.ip.ipv4->unicast[i].ipv4.is_used && in if_get_addr()
116 iface->config.ip.ipv4->unicast[i].ipv4.address.family == in if_get_addr()
118 iface->config.ip.ipv4->unicast[i].ipv4.addr_state == in if_get_addr()
121 &iface->config.ip.ipv4->unicast[i].ipv4.address.in_addr; in if_get_addr()
/Zephyr-Core-3.7.0/subsys/net/l2/openthread/
Dopenthread_utils.c179 if (ipv6->unicast[i].is_used && in add_ipv6_addr_to_ot()
180 net_ipv6_addr_cmp(&ipv6->unicast[i].address.in6_addr, in add_ipv6_addr_to_ot()
182 if_addr = &ipv6->unicast[i]; in add_ipv6_addr_to_ot()
195 context, ipv6->unicast[i].address.in6_addr.s6_addr); in add_ipv6_addr_to_ot()
297 zephyr_addr = &ipv6->unicast[i]; in rm_ipv6_addr_from_zephyr()
/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff-app/
DREADME.rst71 bind 0 1 1000 # bind appkey 1 to LED server on element 0 (unicast 0100)
73 bind 1 1 1001 # bind appkey 1 to button 2 on element 1 (unicast 0101)
78 assigns sequential unicast addresses based on the number of elements
84 root element's unicast address as it is the only one that has a
92 This is done by setting the target to the unicast address of the element
/Zephyr-Core-3.7.0/samples/bluetooth/mesh_demo/
DREADME.rst12 values. The local unicast address can be set using a NODE_ADDR build
13 variable (e.g. NODE_ADDR=0x0001 for unicast address 0x0001), or by
23 board's 5x5 LED display. It's generally recommended to use unicast
/Zephyr-Core-3.7.0/samples/net/cloud/aws_iot_mqtt/src/
Ddhcp.c38 if (iface->config.ip.ipv4->unicast[i].ipv4.addr_type != in handler()
/Zephyr-Core-3.7.0/subsys/net/lib/config/
Dinit.c70 ARRAY_FOR_EACH(iface->config.ip.ipv4->unicast, i) { in print_dhcpv4_info()
72 &iface->config.ip.ipv4->unicast[i].ipv4; in print_dhcpv4_info()
87 &iface->config.ip.ipv4->unicast[i].netmask, in print_dhcpv4_info()
259 if (ipv6->unicast[i].is_used) { in ipv6_event_handler()
261 &ipv6->unicast[i].address.in6_addr, in ipv6_event_handler()
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/
Darp.c236 ARRAY_FOR_EACH(ipv4->unicast, i) { in if_get_addr()
237 if (ipv4->unicast[i].ipv4.is_used && in if_get_addr()
238 ipv4->unicast[i].ipv4.address.family == AF_INET && in if_get_addr()
239 ipv4->unicast[i].ipv4.addr_state == NET_ADDR_PREFERRED && in if_get_addr()
242 &ipv4->unicast[i].ipv4.address.in_addr))) { in if_get_addr()
243 return &ipv4->unicast[i].ipv4.address.in_addr; in if_get_addr()
538 if (ipv4->unicast[i].ipv4.is_used && in notify_all_ipv4_addr()
539 ipv4->unicast[i].ipv4.address.family == AF_INET && in notify_all_ipv4_addr()
540 ipv4->unicast[i].ipv4.addr_state == NET_ADDR_PREFERRED) { in notify_all_ipv4_addr()
542 &ipv4->unicast[i].ipv4.address.in_addr); in notify_all_ipv4_addr()
/Zephyr-Core-3.7.0/dts/arm/xilinx/
Dzynqmp.dtsi127 unicast-hash;
154 unicast-hash;
181 unicast-hash;
208 unicast-hash;
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
DKconfig.ascs21 coupled to a single direction of a unicast Audio Stream.
29 coupled to a single direction of a unicast Audio Stream.
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_client/
DREADME.rst9 Application demonstrating the LE Audio unicast client functionality. Scans for and
10 connects to a LE Audio unicast server and establishes an audio stream.
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_server/
DREADME.rst9 Application demonstrating the LE Audio unicast server functionality.
10 Starts advertising and awaits connection from a LE Audio unicast client.
/Zephyr-Core-3.7.0/samples/bluetooth/cap_initiator/
DREADME.rst5 CAP Initiator sample that connects to CAP Acceptors and setup unicast audio streaming,
12 Starts by either scanning for a CAP Acceptor and then connects to and sets up available unicast
DKconfig7 bool "Whether or not to search for CAP acceptors for unicast audio"
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/
Dtest_heartbeat.c208 TEST_CASE(publish, unicast, "Heartbeat: Publish heartbeat to unicast"),
209 TEST_CASE(subscribe, unicast, "Heartbeat: Subscribe to heartbeat from unicast"),
/Zephyr-Core-3.7.0/drivers/wifi/eswifi/
Deswifi_core.c630 struct net_if_addr *unicast = NULL; in eswifi_mgmt_ap_enable() local
687 if (ipv4->unicast[i].ipv4.is_used) { in eswifi_mgmt_ap_enable()
688 unicast = &ipv4->unicast[i].ipv4; in eswifi_mgmt_ap_enable()
693 if (!unicast) { in eswifi_mgmt_ap_enable()
700 net_sprint_ipv4_addr(&unicast->address.in_addr)); in eswifi_mgmt_ap_enable()
/Zephyr-Core-3.7.0/doc/connectivity/bluetooth/api/mesh/
Dsar_cfg.rst63 * Interval between unicast retransmissions (see the states `SAR Unicast Retransmissions Interval St…
75unicast~retransmissions~interval~step + unicast~retransmissions~interval~increment \times (TTL - 1)
78 If the TTL field value is ``0``, the initial value of the timer is set to the unicast
103 * Two unicast retransmissions counts (see `SAR Unicast Retransmissions Count`_ state and `SAR Unica…
160 of a segmented message to a unicast destination. Use the
168 to a unicast address that will be sent if no acknowledgment was received during the timeout, or if
177 unacknowledged segments of a segmented message to a unicast address. The interval step is measured
192 used for delaying the retransmissions of unacknowledged segments of a segmented message to a unicast
/Zephyr-Core-3.7.0/doc/connectivity/networking/api/
Dcapture.rst70 IPv6 unicast addresses (max 4):
73 IPv4 unicast addresses (max 2):
81 IPv6 unicast addresses (max 4):
/Zephyr-Core-3.7.0/tests/net/ipv6/src/
Dmain.c598 if (iface->config.ip.ipv6->unicast[i].is_used) { in ipv6_setup()
602 ifaddr = &iface->config.ip.ipv6->unicast[i]; in ipv6_setup()
2187 ARRAY_FOR_EACH(ipv6->unicast, i) { in is_pe_address_found()
2188 if (!ipv6->unicast[i].is_used || in is_pe_address_found()
2189 ipv6->unicast[i].address.family != AF_INET6 || in is_pe_address_found()
2190 !ipv6->unicast[i].is_temporary) { in is_pe_address_found()
2195 (uint8_t *)&ipv6->unicast[i].address.in6_addr, in is_pe_address_found()
2217 ARRAY_FOR_EACH(ipv6->unicast, i) { in get_pe_addresses()
2218 if (!ipv6->unicast[i].is_used || in get_pe_addresses()
2219 ipv6->unicast[i].address.family != AF_INET6) { in get_pe_addresses()
[all …]

123