public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
3c93d3e51df0b8de4d36ef6610778a5f19ce3bef blob 829 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
25
26
27
28
29
30
31
32
33
34
 
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright Red Hat
 * Author: David Gibson <david@gibson.dropbear.id.au>
 *
 * Definitions and functions used by both client and server of the configuration
 * update protocol (pesto).
 */

#ifndef PESTO_H
#define PESTO_H

#include <assert.h>
#include <stdint.h>

#define PESTO_SERVER_MAGIC	"basil:s"

/* Version 0 is reserved for unreleased / unsupported experimental versions */
#define PESTO_PROTOCOL_VERSION	1

/**
 * struct pesto_hello - Server introduction message
 * @magic:	PESTO_SERVER_MAGIC
 * @version:	Version number
 */
struct pesto_hello {
	char magic[8];
	uint32_t version;
} __attribute__ ((__packed__));

static_assert(sizeof(PESTO_SERVER_MAGIC)
	      == sizeof(((struct pesto_hello *)0)->magic),
	      "PESTO_SERVER_MAGIC has wrong size");

#endif /* PESTO_H */
debug log:

solving 3c93d3e ...
found 3c93d3e in https://archives.passt.top/passt-dev/20260506213155.1886983-11-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20260506092241.1607480-11-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20260506132323.1751386-11-sbrivio@redhat.com/
found e9b329f in https://archives.passt.top/passt-dev/20260506092241.1607480-9-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20260506132323.1751386-9-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20260506213155.1886983-9-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20260421062516.2601204-10-david@gibson.dropbear.id.au/ ||
	https://archives.passt.top/passt-dev/20260421044217.2500314-9-david@gibson.dropbear.id.au/ ||
	https://archives.passt.top/passt-dev/20260503215601.823029-9-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20260504231142.1118652-9-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20260505234719.1437340-9-sbrivio@redhat.com/

applying [1/11] https://archives.passt.top/passt-dev/20260506092241.1607480-9-sbrivio@redhat.com/
diff --git a/pesto.h b/pesto.h
new file mode 100644
index 0000000..e9b329f

Checking patch pesto.h...
Applied patch pesto.h cleanly.

skipping https://archives.passt.top/passt-dev/20260506132323.1751386-9-sbrivio@redhat.com/ for e9b329f
skipping https://archives.passt.top/passt-dev/20260506213155.1886983-9-sbrivio@redhat.com/ for e9b329f
skipping https://archives.passt.top/passt-dev/20260421062516.2601204-10-david@gibson.dropbear.id.au/ for e9b329f
skipping https://archives.passt.top/passt-dev/20260421044217.2500314-9-david@gibson.dropbear.id.au/ for e9b329f
skipping https://archives.passt.top/passt-dev/20260503215601.823029-9-sbrivio@redhat.com/ for e9b329f
skipping https://archives.passt.top/passt-dev/20260504231142.1118652-9-sbrivio@redhat.com/ for e9b329f
skipping https://archives.passt.top/passt-dev/20260505234719.1437340-9-sbrivio@redhat.com/ for e9b329f
index at:
100644 e9b329f44d15f28b34cee26e2c787ac923ec605b	pesto.h

applying [2/11] https://archives.passt.top/passt-dev/20260506213155.1886983-11-sbrivio@redhat.com/
diff --git a/pesto.h b/pesto.h
index e9b329f..3c93d3e 100644

Checking patch pesto.h...
Applied patch pesto.h cleanly.

skipping https://archives.passt.top/passt-dev/20260506092241.1607480-11-sbrivio@redhat.com/ for 3c93d3e
skipping https://archives.passt.top/passt-dev/20260506132323.1751386-11-sbrivio@redhat.com/ for 3c93d3e
index at:
100644 3c93d3e51df0b8de4d36ef6610778a5f19ce3bef	pesto.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).