1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| | /* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright (c) 2021 Red Hat GmbH
* Author: Stefano Brivio <sbrivio@redhat.com>
*/
#ifndef CONF_H
#define CONF_H
/* Flags indicating origin and role of an address
* To be used in struct inany_addr_entry
*/
#define CONF_ADDR_CONFIGURED (1 << 0) /* User set via -a */
#define CONF_ADDR_HOST (1 << 1) /* From host interface */
enum passt_modes conf_mode(int argc, char *argv[]);
void conf(struct ctx *c, int argc, char **argv);
#endif /* CONF_H */
|