/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright (c) 2021 Red Hat GmbH * Author: Stefano Brivio */ #ifndef CONF_H #define CONF_H enum passt_modes conf_mode(int argc, char *argv[]); void conf(struct ctx *c, int argc, char **argv); int conf_listen_handler(struct ctx *c, uint32_t events); void conf_handler(struct ctx *c, uint32_t events); enum conf_rule_op { RULE_ADD, RULE_DEL, }; struct conf_op { enum conf_rule_op op; struct fwd_rule r; }; #endif /* CONF_H */