networkd-dhcp6.c revision 5c79bd79839f1e50bd3c34a0670037f7965ca5a4
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright (C) 2014 Intel Corporation. All rights reserved.
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 "networkd-link.h"
#include "network-internal.h"
#include "sd-icmp6-nd.h"
#include "sd-dhcp6-client.h"
return;
switch(event) {
case DHCP6_EVENT_STOP:
case DHCP6_EVENT_RETRANS_MAX:
case DHCP6_EVENT_IP_ACQUIRE:
break;
default:
if (event < 0)
else
event);
return;
}
}
int r;
if (link->dhcp6_client)
return 0;
if (r < 0)
return r;
if (r < 0) {
return r;
}
if (r < 0) {
return r;
}
if (r < 0) {
return r;
}
link);
if (r < 0) {
return r;
}
if (r < 0)
return r;
}
return;
switch(event) {
return;
break;
default:
if (event < 0)
else
event);
return;
}
}
int r;
if (r < 0)
return r;
if (r < 0)
return r;
if (r < 0)
return r;
if (r < 0)
return r;
return r;
}