]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/libsystemd-network/icmp6-util.h
7003d8fbb71a2b8d414adeab5e0155a80b0af39e
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright (C) 2014-2015 Intel Corporation. All rights reserved.
8 #include <net/ethernet.h>
10 #include "time-util.h"
12 #define IN6ADDR_ALL_ROUTERS_MULTICAST_INIT \
13 { { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
14 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 } } }
16 #define IN6ADDR_ALL_NODES_MULTICAST_INIT \
17 { { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
18 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } } }
20 int icmp6_bind_router_solicitation(int index
);
21 int icmp6_bind_router_advertisement(int index
);
22 int icmp6_send_router_solicitation(int s
, const struct ether_addr
*ether_addr
);
23 int icmp6_receive(int fd
, void *buffer
, size_t size
, struct in6_addr
*dst
,
24 triple_timestamp
*timestamp
);