/* * Copyright (c) 2018-2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #ifdef __cplusplus extern "C" { #endif #include #include struct arpreq { struct sockaddr arp_pa; /* protocol address */ struct sockaddr arp_ha; /* hardware address */ struct sockaddr arp_netmask; /* netmask of protocol address */ int arp_flags; /* flags */ char arp_dev[16]; }; #ifdef __cplusplus } #endif