X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=src%2Fra.h;h=3beac68576a04bcf0b41df0f400b343a29b78ef6;hb=5710bd46493eaa75a3c6b532d21b8237a691c5a8;hp=37d9573f707a6f48223ec24290e17b970a72bcc6;hpb=806ebbc1f4dd848c2d19b56f5be84db16fada612;p=odhcp6c.git diff --git a/src/ra.h b/src/ra.h index 37d9573..3beac68 100644 --- a/src/ra.h +++ b/src/ra.h @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2012-2014 Steven Barth + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License v2 as published by + * the Free Software Foundation. + * + * This program 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 General Public License for more details. + * + */ #pragma once #define ALL_IPV6_NODES {{{0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ @@ -21,6 +34,6 @@ struct icmpv6_opt { (void*)(opt + opt->len) <= (void*)(end); opt += opt->len) -int ra_init(const char *ifname); +int ra_init(const char *ifname, const struct in6_addr *ifid); +bool ra_link_up(void); bool ra_process(void); -bool ra_rtnl_process(void);