Home
last modified time | relevance | path

Searched full:dad (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/samples/net/sockets/echo_server/
Doverlay-nsos.conf8 # IPv6 DAD requires lower level network interface access, below exposed socket-level access
/Zephyr-latest/tests/net/conn_mgr_monitor/
Dtestcase.yaml11 net.conn_mgr.dad:
/Zephyr-latest/tests/net/conn_mgr_monitor/src/
Dtest_ifaces.c32 /* This is needed specifically for IPv6 DAD.
33 * DAD tries to send a packet, and the test will hang if send is not implemented.
Dmain.c32 /* Time to wait for IPv6 DAD-gated events to finish.
33 * Equivalent to EVENT_WAIT_TIME if DAD is dissabled.
77 /* DAD adds the link-local address automatically. Check for it, and remove it if present. */ in reset_test_iface()
347 * Steps which bring ifa or ifb online wait for the DAD delay to allow IPv6 events to finish.
348 * For test builds that have DAD disabled, this is equivalent to the usual event wait time.
373 * Wait for the DAD delay since IPv6 connected events might be delayed by this amount. in cycle_ignored_iface()
1018 /* Make sure that DAD readiness is actually verified by conn_mgr_monitor */
1023 /* This test specifically requires DAD to function */ in ZTEST()
1032 /* After a delay too short for DAD, ensure no events */ in ZTEST()
1036 "No events should be fired before DAD success."); in ZTEST()
[all …]
/Zephyr-latest/subsys/net/ip/
DKconfig.ipv6168 The value depends on your network needs. DAD should normally
278 int "Max amount of failed DAD attempts"
281 The node MUST perform duplicate address detection (DAD) on the
Dipv6.h605 * @brief Check if maximum number of Duplicate Address Detection (DAD) requests
608 * @param count Number of DAD requests done.
610 * @return Return True if DAD can continue, False if max amount of DAD
Dipv6_pe.c306 NET_WARN("Cannot do DAD IPv6 config is not valid."); in net_ipv6_pe_start()
415 NET_DBG("Starting DAD for %s iface %d", net_sprint_ipv6_addr(&addr), in net_ipv6_pe_start()
721 * event immediately because the new IPv6 will need to do DAD in renewal_cb()
743 /* 500ms should be enough for DAD to pass */ in renewal_cb()
Dnet_if.c79 /** Duplicate address detection (DAD) timer */
1237 /* DAD entries are ordered by construction. Stop when in dad_timeout()
1262 NET_DBG("DAD succeeded for %s at interface %d", in dad_timeout()
1313 NET_DBG("Interface %p is down, starting DAD for %s later.", in net_if_ipv6_start_dad()
1328 NET_DBG("Starting DAD for iface %p", iface); in net_if_start_dad()
1333 NET_WARN("Cannot do DAD IPv6 config is not valid."); in net_if_start_dad()
1362 NET_ERR("Cannot add %s address to interface %p, DAD fails", in net_if_start_dad()
1369 /* Start DAD for all the addresses that were added earlier when in net_if_start_dad()
1425 * start new DAD for the new PE address as the amount of address slots in net_if_ipv6_dad_failed()
1999 /* If DAD is not done for point-to-point links, then in net_if_ipv6_addr_add()
[all …]
Dipv6_nbr.c728 NET_ERR("DAD failed, no ll IPv6 address!"); in dad_failed()
1370 /* Do DAD */ in handle_ns_input()
1380 NET_DBG("DROP: DAD failed for %s iface %p/%d", in handle_ns_input()
Dipv6.c519 /* If this is a possible DAD message, let it pass. Extra checks in net_ipv6_input()
/Zephyr-latest/samples/net/mdns_responder/src/
Dvlan.c120 * added to the interface so that IPv6 DAD can work properly. in init_vlan()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dvlan.c116 * added to the interface so that IPv6 DAD can work properly. in init_vlan()
/Zephyr-latest/samples/net/sockets/net_mgmt/src/
Dmain.c141 printk("DAD succeed for interface %d (%s)\n", in listener()
/Zephyr-latest/subsys/net/lib/shell/
Devents.c178 *desc = "IPv6 DAD"; in get_l3_desc()
184 *desc = "IPv6 DAD"; in get_l3_desc()
Dipv6.c172 PR("Duplicate address detection (DAD) support : %s\n", in cmd_net_ipv6()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c590 * network interface in this case as that would trigger DAD which in ipv6_setup()
1010 "Timeout while waiting for DAD NS"); in verify_rs_on_iface_event()
1348 /* Make sure DAD gets some time to run */ in ZTEST()
1479 /* Check we have received three DAD queries */ in ZTEST()
1481 (dad_time[2] != 0U), "Did not get DAD reply"); in ZTEST()
1490 /* Verify that DAD NS is sent after interface state change, for static address
1510 "Timeout while waiting for DAD NS"); in verify_dad_on_static_addr_on_iface_event()
1528 /* Verify that DAD NS is sent after interface state change, for link-local
1551 "Timeout while waiting for DAD NS"); in verify_dad_on_ll_addr_on_iface_event()
1569 /* Verify that in case of DAD conflict, address is not used on the interface. */
[all …]
/Zephyr-latest/subsys/net/l2/ppp/
Dipv6cp.c233 /* As DAD is disabled, we need to mark the address in add_iid_address()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h86 /** Address timeout value. This is only used if DAD needs to be redone
87 * for this address because of earlier DAD failure. This value is in
97 /** Duplicate address detection (DAD) timer */
101 /** How many times we have done DAD */
2170 * @brief Stop IPv6 Duplicate Address Detection (DAD) procedure if
2173 * @param iface Interface where the DAD was running.
2174 * @param addr IPv6 address that failed DAD
/Zephyr-latest/tests/net/mld/src/
Dmain.c621 /* This value should be longer that the one in net_if.c when DAD timeouts */
632 /* Let the DAD succeed so that the multicast address will be there */ in ZTEST()
/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…
Drelease-notes-1.12.rst357 * :github:`4533` - IPv6/DAD: Things should be synchronized around net if up status and ipv6 addr add
Drelease-notes-4.0.rst1034 * Fixed accepting of incoming DAD NS messages.
Drelease-notes-3.5.rst829 * Made sure that ongoing DAD procedure is cancelled when IPv6 address is removed.
Drelease-notes-3.7.rst1486 * Fixed IPv6 DAD and MLDv2 operation when interface goes up.
Drelease-notes-2.5.rst630 * Tweaked IPv6 DAD and RS timeout handling.