1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| | /* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (c) 2021 Red Hat GmbH
* Author: Stefano Brivio <sbrivio@redhat.com>
*/
#ifndef DHCPV6_H
#define DHCPV6_H
int dhcpv6(struct ctx *c, struct iov_tail *data,
const struct in6_addr *saddr, const struct in6_addr *daddr);
void dhcpv6_init(const struct ctx *c);
void dhcpv6_set_opt(uint16_t code, const char *val_str);
const char *dhcpv6_opt_to_str(uint16_t code, char *buf, size_t buf_len,
int *off);
#endif /* DHCPV6_H */
|