]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/libsystemd-network/icmp6-util.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
5 Copyright © 2014-2015 Intel Corporation. All rights reserved.
8 #include <net/ethernet.h>
9 #include <netinet/in.h>
13 #include "time-util.h"
15 #define IN6ADDR_ALL_ROUTERS_MULTICAST_INIT \
16 { { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
17 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 } } }
19 #define IN6ADDR_ALL_NODES_MULTICAST_INIT \
20 { { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
21 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } } }
23 int icmp6_bind(int ifindex
, bool is_router
);
24 int icmp6_send(int fd
, const struct sockaddr_in6
*dst
, const struct iovec
*iov
, size_t n_iov
);
29 struct in6_addr
*ret_sender
,
30 triple_timestamp
*ret_timestamp
);