Home
last modified time | relevance | path

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

123

/Zephyr-latest/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.c1372 ARRAY_FOR_EACH(ipv6->unicast, i) { in net_if_start_dad()
1373 if (!ipv6->unicast[i].is_used || in net_if_start_dad()
1374 ipv6->unicast[i].address.family != AF_INET6 || in net_if_start_dad()
1375 &ipv6->unicast[i] == ifaddr || in net_if_start_dad()
1377 &ipv6->unicast[i].address.in6_addr)) { in net_if_start_dad()
1381 net_if_ipv6_start_dad(iface, &ipv6->unicast[i]); in net_if_start_dad()
1628 ARRAY_FOR_EACH(ipv6->unicast, i) { in rejoin_ipv6_mcast_groups()
1629 if (!ipv6->unicast[i].is_used) { in rejoin_ipv6_mcast_groups()
1633 join_mcast_nodes(iface, &ipv6->unicast[i].address.in6_addr); in rejoin_ipv6_mcast_groups()
1701 ARRAY_FOR_EACH(iface->config.ip.ipv6->unicast, i) { in address_expired()
[all …]
/Zephyr-latest/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.c171 struct net_if_addr *unicast; in iface_cb() local
358 ARRAY_FOR_EACH(ipv6->unicast, i) { in iface_cb()
359 unicast = &ipv6->unicast[i]; in iface_cb()
361 if (!unicast->is_used) { in iface_cb()
366 net_sprint_ipv6_addr(&unicast->address.in6_addr), in iface_cb()
367 addrtype2str(unicast->addr_type), in iface_cb()
368 addrstate2str(unicast->addr_state), in iface_cb()
369 unicast->is_infinite ? " infinite" : "", in iface_cb()
370 unicast->is_mesh_local ? " meshlocal" : "", in iface_cb()
371 unicast->is_temporary ? " temporary" : ""); in iface_cb()
[all …]
Dipv6.c102 ARRAY_FOR_EACH(ipv6->unicast, i) { in address_lifetime_cb()
106 if (!ipv6->unicast[i].is_used || in address_lifetime_cb()
107 ipv6->unicast[i].address.family != AF_INET6) { in address_lifetime_cb()
115 remaining = net_timeout_remaining(&ipv6->unicast[i].lifetime, in address_lifetime_cb()
119 &ipv6->unicast[i].address.in6_addr); in address_lifetime_cb()
124 if (ipv6->unicast[i].is_infinite) { in address_lifetime_cb()
136 addrtype2str(ipv6->unicast[i].addr_type), in address_lifetime_cb()
137 addrstate2str(ipv6->unicast[i].addr_state), in address_lifetime_cb()
138 remaining_str, atomic_get(&ipv6->unicast[i].atomic_ref), in address_lifetime_cb()
139 net_sprint_ipv6_addr(&ipv6->unicast[i].address.in6_addr), in address_lifetime_cb()
[all …]
/Zephyr-latest/samples/net/ipv4_autoconf/src/
Dmain.c46 if (cfg->ip.ipv4->unicast[i].ipv4.addr_type != NET_ADDR_AUTOCONF) { in handler()
52 &cfg->ip.ipv4->unicast[i].ipv4.address.in_addr, in handler()
56 &cfg->ip.ipv4->unicast[i].netmask, in handler()
/Zephyr-latest/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-latest/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-latest/tests/boards/espressif/ethernet/src/
Dmain.c37 (iface->config.ip.ipv4->unicast[0].ipv4.addr_type != NET_ADDR_DHCP)) { in ipv4_event()
44 net_addr_ntop(AF_INET, &iface->config.ip.ipv4->unicast[0].ipv4.address.in_addr, buf, in ipv4_event()
47 net_addr_ntop(AF_INET, &iface->config.ip.ipv4->unicast[0].netmask, buf, in ipv4_event()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread_utils.c183 if (ipv6->unicast[i].is_used && in add_ipv6_addr_to_ot()
184 net_ipv6_addr_cmp(&ipv6->unicast[i].address.in6_addr, in add_ipv6_addr_to_ot()
186 if_addr = &ipv6->unicast[i]; in add_ipv6_addr_to_ot()
199 context, ipv6->unicast[i].address.in6_addr.s6_addr); in add_ipv6_addr_to_ot()
301 zephyr_addr = &ipv6->unicast[i]; in rm_ipv6_addr_from_zephyr()
/Zephyr-latest/samples/bluetooth/cap_acceptor/
DKconfig7 bool "Whether or not to search for CAP acceptors for unicast audio"
23 bool "Whether or not to search for CAP acceptors for unicast audio"
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/
DREADME.rst72 bind 0 1 1000 # bind appkey 1 to LED server on element 0 (unicast 0100)
74 bind 1 1 1001 # bind appkey 1 to button 2 on element 1 (unicast 0101)
79 assigns sequential unicast addresses based on the number of elements
85 root element's unicast address as it is the only one that has a
93 This is done by setting the target to the unicast address of the element
/Zephyr-latest/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-latest/samples/bluetooth/mesh_demo/
DREADME.rst13 values. The local unicast address can be set using a NODE_ADDR build
14 variable (e.g. NODE_ADDR=0x0001 for unicast address 0x0001), or by
24 board's 5x5 LED display. It's generally recommended to use unicast
/Zephyr-latest/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()
541 if (ipv4->unicast[i].ipv4.is_used && in notify_all_ipv4_addr()
542 ipv4->unicast[i].ipv4.address.family == AF_INET && in notify_all_ipv4_addr()
543 ipv4->unicast[i].ipv4.addr_state == NET_ADDR_PREFERRED) { in notify_all_ipv4_addr()
545 &ipv4->unicast[i].ipv4.address.in_addr); in notify_all_ipv4_addr()
/Zephyr-latest/dts/arm/xilinx/
Dzynqmp.dtsi127 unicast-hash;
154 unicast-hash;
181 unicast-hash;
208 unicast-hash;
/Zephyr-latest/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-latest/samples/bluetooth/cap_initiator/
DREADME.rst5 Connect to CAP Acceptors and setup unicast audio streaming or broadcast audio streams.
11 Starts by either scanning for a CAP Acceptor and then connects to and sets up available unicast
/Zephyr-latest/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-latest/drivers/wifi/eswifi/
Deswifi_core.c632 struct net_if_addr *unicast = NULL; in eswifi_mgmt_ap_enable() local
689 if (ipv4->unicast[i].ipv4.is_used) { in eswifi_mgmt_ap_enable()
690 unicast = &ipv4->unicast[i].ipv4; in eswifi_mgmt_ap_enable()
695 if (!unicast) { in eswifi_mgmt_ap_enable()
702 net_sprint_ipv4_addr(&unicast->address.in_addr)); in eswifi_mgmt_ap_enable()
/Zephyr-latest/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
Dcfg_cli.rst18 index and primary unicast address that the target node was provisioned with.
/Zephyr-latest/doc/connectivity/networking/
Deth_bridge_native_sim_setup.rst112 IPv6 unicast addresses (max 3):
125 IPv4 unicast addresses (max 1):
142 IPv6 unicast addresses (max 3):
153 IPv4 unicast addresses (max 1):
/Zephyr-latest/doc/connectivity/networking/api/
Dcapture.rst70 IPv6 unicast addresses (max 4):
73 IPv4 unicast addresses (max 2):
81 IPv6 unicast addresses (max 4):
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c599 if (iface->config.ip.ipv6->unicast[i].is_used) { in ipv6_setup()
603 ifaddr = &iface->config.ip.ipv6->unicast[i]; in ipv6_setup()
2188 ARRAY_FOR_EACH(ipv6->unicast, i) { in is_pe_address_found()
2189 if (!ipv6->unicast[i].is_used || in is_pe_address_found()
2190 ipv6->unicast[i].address.family != AF_INET6 || in is_pe_address_found()
2191 !ipv6->unicast[i].is_temporary) { in is_pe_address_found()
2196 (uint8_t *)&ipv6->unicast[i].address.in6_addr, in is_pe_address_found()
2218 ARRAY_FOR_EACH(ipv6->unicast, i) { in get_pe_addresses()
2219 if (!ipv6->unicast[i].is_used || in get_pe_addresses()
2220 ipv6->unicast[i].address.family != AF_INET6) { in get_pe_addresses()
[all …]

123