]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/libsystemd-network/arp-util.h
773441e03a4259fb8760034f42a5a842534b82b4
[thirdparty/systemd.git] / src / libsystemd-network / arp-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 Copyright (C) 2014 Axis Communications AB. All rights reserved.
6 ***/
7
8 #include <netinet/if_ether.h>
9
10 #include "socket-util.h"
11 #include "sparse-endian.h"
12
13 int arp_network_bind_raw_socket(int index, be32_t address, const struct ether_addr *eth_mac);
14
15 int arp_send_probe(int fd, int ifindex,
16 be32_t pa, const struct ether_addr *ha);
17 int arp_send_announcement(int fd, int ifindex,
18 be32_t pa, const struct ether_addr *ha);