CONFIG_NET_ARP_GRATUITOUS

Support gratuitous ARP requests/replies.

Type: bool

Help

Gratuitous in this case means a ARP request or reply that is not
normally needed according to the ARP specification but could be used
in some cases. A gratuitous ARP request is a ARP request packet where
the source and destination IP are both set to the IP of the machine
issuing the packet and the destination MAC is the broadcast address
ff:ff:ff:ff:ff:ff. Ordinarily, no reply packet will occur.
A gratuitous ARP reply is a reply to which no request has been made.

Direct dependencies

NET_ARP && NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/net/l2/ethernet/Kconfig:55

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:81<Zephyr>/subsys/net/l2/Kconfig:71

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Enable ARP

config NET_ARP_GRATUITOUS
    bool "Support gratuitous ARP requests/replies."
    default y
    depends on NET_ARP && NET_L2_ETHERNET && NETWORKING
    help
      Gratuitous in this case means a ARP request or reply that is not
      normally needed according to the ARP specification but could be used
      in some cases. A gratuitous ARP request is a ARP request packet where
      the source and destination IP are both set to the IP of the machine
      issuing the packet and the destination MAC is the broadcast address
      ff:ff:ff:ff:ff:ff. Ordinarily, no reply packet will occur.
      A gratuitous ARP reply is a reply to which no request has been made.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)