public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
5dbdfa44b5399bc0b4eede792a6131a151247003 blob 503 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
/* 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

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 */
debug log:

solving 5dbdfa4 ...
found 5dbdfa4 in https://archives.passt.top/passt-dev/20260204234209.455262-1-sbrivio@redhat.com/
found b45ad74 in https://passt.top/passt
preparing index
index prepared:
100644 b45ad7466830391aa4cb1c012725c328258985f3	conf.h

applying [1/1] https://archives.passt.top/passt-dev/20260204234209.455262-1-sbrivio@redhat.com/
diff --git a/conf.h b/conf.h
index b45ad74..5dbdfa4 100644

Checking patch conf.h...
Applied patch conf.h cleanly.

index at:
100644 5dbdfa44b5399bc0b4eede792a6131a151247003	conf.h

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).