]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
5c1d3fc9 UTL |
2 | #pragma once |
3 | ||
4 | /*** | |
810adae9 | 5 | Copyright © 2014 Axis Communications AB. All rights reserved. |
5c1d3fc9 UTL |
6 | ***/ |
7 | ||
8 | #include <netinet/if_ether.h> | |
9 | ||
5c1d3fc9 | 10 | #include "socket-util.h" |
71d35b6b | 11 | #include "sparse-endian.h" |
5c1d3fc9 | 12 | |
996d1697 | 13 | int arp_network_bind_raw_socket(int index, be32_t address, const struct ether_addr *eth_mac); |
5c1d3fc9 | 14 | |
996d1697 TG |
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); |