Home
last modified time | relevance | path

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

12

/Zephyr-latest/subsys/net/l2/ethernet/
DKconfig57 bool "ARP"
61 Enable ARP support. This is necessary on hardware that requires it to
65 int "Number of entries in ARP table."
69 Each entry in the ARP table consumes 48 bytes of memory.
72 bool "Support gratuitous ARP requests/replies."
76 Gratuitous in this case means a ARP request or reply that is not
77 normally needed according to the ARP specification but could be used
78 in some cases. A gratuitous ARP request is a ARP request packet where
82 A gratuitous ARP reply is a reply to which no request has been made.
85 bool "Transmit gratuitous ARP requests"
[all …]
Darp.c2 * @brief ARP related functions
21 #include "arp.h"
288 * an ARP request using the data in pending net_pkt. in arp_prepare()
289 * This can happen if there is already a pending ARP in arp_prepare()
382 "send ARP request for %s", in net_arp_prepare()
398 * to send any ARP packet. in net_arp_prepare()
413 /* There is a pending ARP request already, check if this packet is already in net_arp_prepare()
419 NET_DBG("Pending ARP request for %s, queuing pkt %p", in net_arp_prepare()
432 /* We cannot send the packet, the ARP cache is full in net_arp_prepare()
436 NET_DBG("Resending ARP %p", req); in net_arp_prepare()
[all …]
Darp.h20 * @brief Address resolution (ARP) library
21 * @defgroup arp ARP Library
DCMakeLists.txt19 zephyr_library_sources_ifdef(CONFIG_NET_ARP arp.c)
Dethernet.c25 #include "arp.h"
403 NET_DBG("ARP packet from %s received", in ethernet_recv()
482 NET_DBG("Sending arp pkt %p (orig %p) to iface %d (%p)", in ethernet_ll_prepare_on_ipv4()
488 NET_DBG("Found ARP entry, sending pkt %p to iface %d (%p)", in ethernet_ll_prepare_on_ipv4()
719 * by an ARP request packet. in ethernet_send()
760 /* Unknown type: Unqueued pkt is an ARP reply. in ethernet_send()
830 /* Original packet was added to ARP's pending Q, so, to avoid it in ethernet_send()
832 * clear the pending Q in ARP and then it will be freed by net_if. in ethernet_send()
837 NET_DBG("Could not find pending ARP entry"); in ethernet_send()
839 /* Free the ARP request */ in ethernet_send()
/Zephyr-latest/subsys/net/lib/shell/
Darp.c14 #include "ethernet/arp.h"
42 " CONFIG_NET_L2_ETHERNET", "ARP"); in print_arp_error()
57 /* ARP cache content */ in cmd_net_arp()
64 PR("ARP cache is empty.\n"); in cmd_net_arp()
80 PR("Flushing ARP cache.\n"); in cmd_net_arp_flush()
90 SHELL_CMD(flush, NULL, "Remove all entries from ARP cache.",
95 SHELL_SUBCMD_ADD((net), arp, &net_cmd_arp,
96 "Print information about IPv4 ARP cache.",
DCMakeLists.txt10 zephyr_library_sources_ifdef(CONFIG_NET_SHELL_ETHERNET_SUPPORTED arp.c)
/Zephyr-latest/tests/net/arp/
Dtestcase.yaml6 - arp
8 net.arp:
11 net.arp.preempt:
DCMakeLists.txt5 project(arp) project
/Zephyr-latest/tests/net/arp/src/
Dmain.c30 #include "arp.h"
380 /* pkt2 is the ARP packet and pkt is the IPv4 packet and it was in ZTEST()
381 * stored in ARP table. in ZTEST()
386 /* The packets cannot be the same as the ARP cache has in ZTEST()
389 "ARP cache should still have free space"); in ZTEST()
391 zassert_not_null(pkt2, "ARP pkt is empty"); in ZTEST()
393 /* The ARP cache should now have a link to pending net_pkt in ZTEST()
394 * that is to be sent after we have got an ARP reply. in ZTEST()
401 /* pkt2 should contain the arp header, verify it */ in ZTEST()
405 printk("ARP hwtype 0x%x, should be 0x%x\n", in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/posix/net/
Dif_arp.h13 /* See https://www.iana.org/assignments/arp-parameters/arp-parameters.xhtml
14 * for the ARP hardware address type values.
16 /* ARP protocol HARDWARE identifiers. */
33 /* Dummy types for non ARP hardware */
/Zephyr-latest/dts/bindings/ethernet/
Dethernet-controller.yaml18 MAC address in peers' ARP caches and lead to issues and delays in
20 ARP cache.)
/Zephyr-latest/drivers/ethernet/dwc_xgmac/
DKconfig81 bool "ARP Offload"
83 Enable ARP hardware offloading support.
/Zephyr-latest/subsys/net/ip/
Dipv4_acd.c26 #include "../l2/ethernet/arp.h"
265 NET_DBG("Invalid ARP header (len %zu, min %zu bytes)", in net_ipv4_acd_input()
291 * - ARP Request/Reply with Sender IP address match OR, in net_ipv4_acd_input()
292 * - ARP Probe where Target IP address match with different sender HW address, in net_ipv4_acd_input()
294 * ARP Probe has an all-zero sender IP address in net_ipv4_acd_input()
382 /* Address conflict detection is based on ARP, so can only be done on in net_ipv4_acd_start()
406 /* Address conflict detection is based on ARP, so can only be done on in net_ipv4_acd_cancel()
Dipv4_autoconf.c17 #include "../l2/ethernet/arp.h"
DKconfig.ipv4105 The conflict detection is based on ARP probes/announcements.
Dipv4.h457 * @brief Process ARP packet in terms of conflict detection.
460 * @param pkt ARP packet to process.
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_shell.rst20 "net arp", "Print information about IPv4 ARP cache. Only available if
/Zephyr-latest/doc/releases/
Drelease-notes-1.13.rst175 * IPv4, IPv6, ICMPv6, ARP code refactoring and cleanup.
178 * ARP fixes when using VLAN.
179 * Timeout too long lasting ARP requests.
452 * :github:`8866` - Failed test: net.arp.arp (tests/net/arp) on sam_e70_xplained
465 * :github:`8752` - net: ARP is broken after PR #8608
486 * :github:`8668` - net: ARP is broken in master (at least) on STM32
584 * :github:`8019` - ARP: should drop any packet pended when timeout
Drelease-notes-4.1.rst265 * ARP:
Drelease-notes-1.14.rst93 * :github:`15373` - IPv4 link local packets are not sent with ARP ethernet type
291 * :github:`15373` - IPv4 link local packets are not sent with ARP ethernet type
860 * Added support for receiving gratuitous ARP request.
867 * ARP cache update fix.
1770 * :github:`12186` - net: arp: Zephyr does not use MAC address from unicast ARP reply with wrong tar…
1771 * :github:`12179` - net: arp: Zephyr does not use MAC address from unicast ARP reply
1850 * :github:`11579` - net: arp: MAC address not updated if target address is not its own
1853 * :github:`11562` - net: arp: Zephyr does use MAC address from broadcast ARP reply
1861 * :github:`11489` - net: arp: Zephyr replies to localhost address
1886 * :github:`11329` - net: arp: Zephyr replies to multicast address cause of malfored ARP request
/Zephyr-latest/drivers/net/
Dnsos.h81 uint16_t sll_hatype; /**< ARP hardware type */
Dslip.c359 LOG_DBG("ARP enabled"); in slip_init()
/Zephyr-latest/doc/connectivity/networking/
Dnet-stack-architecture.rst65 For example `ARP <https://tools.ietf.org/html/rfc826>`_ for IPv4 is done by
/Zephyr-latest/tests/net/all/
Dprj.conf220 # ARP

12