diff options
author | Tom Gundersen <teg@jklm.no> | 2015-10-16 18:09:10 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-22 17:19:54 +0200 |
commit | 940367a0abb4cc4460922cc2fb933ba278a2afbb (patch) | |
tree | e320409b915bb4dab92be7d64e85cdeac242fa2e /src/libsystemd-network/icmp6-util.h | |
parent | de1e9928f137f4d17f463956a7612d9676c393aa (diff) |
libsystemd-network: split icm6-util.[ch] out of dhcp6 code
Diffstat (limited to 'src/libsystemd-network/icmp6-util.h')
-rw-r--r-- | src/libsystemd-network/icmp6-util.h | 27 |
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); |