summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/icmp6-util.h
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2015-10-22 20:41:50 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2015-10-22 20:41:50 +0300
commitb8c89d3c4255e1f2ad9bf49eabe89d50c419783e (patch)
tree102fa25c9691276d0fb0f72dc929b9e7860b2f55 /src/libsystemd-network/icmp6-util.h
parentac691d4abe0970e9255525d1cc6187e553639fea (diff)
parentcbe91b3cba3298866f51abfa598c5751e90fd390 (diff)
Merge pull request #1625 from teg/ndisc
sd-ndisc: Rename (from sd-icmp6-nd) and prepare for handling SLAAC and router discovery
Diffstat (limited to 'src/libsystemd-network/icmp6-util.h')
-rw-r--r--src/libsystemd-network/icmp6-util.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/libsystemd-network/icmp6-util.h b/src/libsystemd-network/icmp6-util.h
new file mode 100644
index 0000000000..4eb17e152e
--- /dev/null
+++ b/src/libsystemd-network/icmp6-util.h
@@ -0,0 +1,27 @@
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright (C) 2014-2015 Intel Corporation. All rights reserved.
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include <net/ethernet.h>
+
+int icmp6_bind_router_solicitation(int index);
+int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr);