2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2014-02-28 16:10:20 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/***
|
2018-06-12 17:15:23 +02:00
|
|
|
Copyright © 2014 Axis Communications AB. All rights reserved.
|
2014-02-28 16:10:20 +01:00
|
|
|
***/
|
|
|
|
|
2019-04-11 07:36:18 +02:00
|
|
|
#include <net/ethernet.h>
|
2014-02-28 16:10:20 +01:00
|
|
|
|
|
|
|
#include "socket-util.h"
|
2015-11-18 22:46:33 +01:00
|
|
|
#include "sparse-endian.h"
|
2014-02-28 16:10:20 +01:00
|
|
|
|
2015-08-18 15:37:43 +02:00
|
|
|
int arp_network_bind_raw_socket(int index, be32_t address, const struct ether_addr *eth_mac);
|
2014-02-28 16:10:20 +01:00
|
|
|
|
2015-08-18 15:37:43 +02:00
|
|
|
int arp_send_probe(int fd, int ifindex,
|
|
|
|
be32_t pa, const struct ether_addr *ha);
|
|
|
|
int arp_send_announcement(int fd, int ifindex,
|
|
|
|
be32_t pa, const struct ether_addr *ha);
|