Home
last modified time | relevance | path

Searched refs:NET_ADDR_PREFERRED (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-latest/subsys/net/conn_mgr/
Devents_handler.c80 if (net_if_ipv6_get_global_addr(NET_ADDR_PREFERRED, &iface)) { in conn_mgr_ipv6_events_handler()
87 if (!net_if_ipv6_get_global_addr(NET_ADDR_PREFERRED, &iface)) { in conn_mgr_ipv6_events_handler()
137 if (net_if_ipv4_get_global_addr(iface, NET_ADDR_PREFERRED)) { in conn_mgr_ipv4_events_handler()
145 if (!net_if_ipv4_get_global_addr(iface, NET_ADDR_PREFERRED)) { in conn_mgr_ipv4_events_handler()
Dconn_mgr_monitor.c234 if (net_if_ipv6_get_global_addr(NET_ADDR_PREFERRED, &iface)) { in conn_mgr_mon_initial_state()
241 if (net_if_ipv4_get_global_addr(iface, NET_ADDR_PREFERRED)) { in conn_mgr_mon_initial_state()
/Zephyr-latest/tests/net/promiscuous/src/
Dmain.c232 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
242 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
252 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
262 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
/Zephyr-latest/tests/net/lib/dns_dispatcher/src/
Dmain.c153 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
167 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dmain.c62 ifaddr->addr_state = NET_ADDR_PREFERRED; in join_coap_multicast_group()
/Zephyr-latest/tests/net/tx_timestamp/src/
Dmain.c368 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
378 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
388 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
/Zephyr-latest/tests/net/ip-addr/src/
Dmain.c299 ifaddr2->addr_state = NET_ADDR_PREFERRED; in ZTEST()
301 tmp = net_if_ipv6_get_ll(default_iface, NET_ADDR_PREFERRED); in ZTEST()
308 tmp = net_if_ipv6_get_ll(default_iface, NET_ADDR_PREFERRED); in ZTEST()
318 ifaddr1->addr_state = NET_ADDR_PREFERRED; in ZTEST()
352 ifaddr2->addr_state = NET_ADDR_PREFERRED; in ZTEST()
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c375 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
385 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
395 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
/Zephyr-latest/tests/net/hostname/src/
Dmain.c278 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
288 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_iface_setup()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread_utils.c160 address->mPreferred ? NET_ADDR_PREFERRED : NET_ADDR_DEPRECATED; in add_ipv6_addr_to_zephyr()
202 addr.mPreferred = (if_addr->addr_state == NET_ADDR_PREFERRED); in add_ipv6_addr_to_ot()
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c326 struct in_addr *ip = net_if_ipv4_get_global_addr(port->iface, NET_ADDR_PREFERRED); in ptp_transport_protocol_addr()
333 struct in6_addr *ip = net_if_ipv6_get_global_addr(NET_ADDR_PREFERRED, &port->iface); in ptp_transport_protocol_addr()
/Zephyr-latest/tests/net/lib/dns_resolve/src/
Dmain.c231 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
243 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
257 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c406 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
415 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
426 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
435 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
489 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
/Zephyr-latest/subsys/net/lib/shell/
Dnet_shell.c75 case NET_ADDR_PREFERRED: in addrstate2str()
/Zephyr-latest/tests/net/lib/dns_addremove/src/
Dmain.c184 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
198 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
/Zephyr-latest/tests/net/route/src/
Dmain.c263 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
270 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_init()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c436 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
446 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
456 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
466 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
/Zephyr-latest/tests/net/shell/src/
Dmain.c119 NET_ADDR_PREFERRED) { in if_get_addr()
/Zephyr-latest/tests/net/traffic_class/src/
Dmain.c296 ifaddr->addr_state = NET_ADDR_PREFERRED; in address_setup()
306 ifaddr->addr_state = NET_ADDR_PREFERRED; in address_setup()
316 ifaddr->addr_state = NET_ADDR_PREFERRED; in address_setup()
/Zephyr-latest/tests/net/iface/src/
Dmain.c413 ifaddr->addr_state = NET_ADDR_PREFERRED; in iface_setup()
423 ifaddr->addr_state = NET_ADDR_PREFERRED; in iface_setup()
433 ifaddr->addr_state = NET_ADDR_PREFERRED; in iface_setup()
443 ifaddr->addr_state = NET_ADDR_PREFERRED; in iface_setup()
/Zephyr-latest/subsys/net/ip/
Dnet_if.c1266 ifaddr->addr_state = NET_ADDR_PREFERRED; in dad_timeout()
1448 ifaddr->addr_state = NET_ADDR_PREFERRED; in net_if_ipv6_start_dad()
1776 ifaddr->addr_state = NET_ADDR_PREFERRED; in net_if_ipv6_start_dad()
1894 ifaddr->addr_state = NET_ADDR_PREFERRED; in net_if_ipv6_addr_update_lifetime()
2002 ipv6->unicast[i].addr_state = NET_ADDR_PREFERRED; in net_if_ipv6_addr_add()
3018 if (addr->is_used && addr->addr_state == NET_ADDR_PREFERRED && in is_proper_ipv6_address()
3183 src = net_if_ipv6_get_ll(dst_iface, NET_ADDR_PREFERRED); in net_if_ipv6_select_src_addr_hint()
3187 addr = net_if_ipv6_get_ll(net_if_get_default(), NET_ADDR_PREFERRED); in net_if_ipv6_select_src_addr_hint()
3195 NET_ADDR_PREFERRED); in net_if_ipv6_select_src_addr_hint()
3570 if (addr->is_used && addr->addr_state == NET_ADDR_PREFERRED && in is_proper_ipv4_address()
[all …]
/Zephyr-latest/tests/net/route_mcast/src/
Dmain.c180 ifaddr->addr_state = NET_ADDR_PREFERRED; in net_route_mcast_add_addresses()
185 ifaddr->addr_state = NET_ADDR_PREFERRED; in net_route_mcast_add_addresses()
/Zephyr-latest/tests/net/arp/src/
Dmain.c161 NET_ADDR_PREFERRED) { in if_get_addr()
357 ifaddr->addr_state = NET_ADDR_PREFERRED; in ZTEST()
/Zephyr-latest/tests/net/checksum_offload/src/
Dmain.c565 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
575 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
591 ifaddr->addr_state = NET_ADDR_PREFERRED; in test_address_setup()
/Zephyr-latest/subsys/net/lib/config/
Dinit.c277 ifaddr->addr_state == NET_ADDR_PREFERRED)) { in ipv6_event_handler()

12