public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
blob 053221e0b9e7786aff74fae59b9403231117a772 586 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
/* SPDX-License-Identifier: AGPL-3.0-or-later
 * Copyright (c) 2022 Red Hat GmbH
 * Author: Stefano Brivio <sbrivio@redhat.com>
 */

#ifndef TCP_SPLICE_H
#define TCP_SPLICE_H

#define TCP_SPLICE_MAX_CONNS			(128 * 1024)

struct tcp_splice_conn;

void tcp_sock_handler_splice(struct ctx *c, union epoll_ref ref,
			     uint32_t events);
void tcp_splice_conn_from_sock(struct ctx *c, union epoll_ref ref,
			       struct tcp_splice_conn *conn, int s);
void tcp_splice_destroy(struct ctx *c, struct tcp_splice_conn *conn);
void tcp_splice_init(struct ctx *c);

#endif /* TCP_SPLICE_H */

debug log:

solving 053221e ...
found 053221e in https://archives.passt.top/passt-dev/20221114061711.1655510-14-david@gibson.dropbear.id.au/
found c7895d2 in https://archives.passt.top/passt-dev/20221114061711.1655510-11-david@gibson.dropbear.id.au/
found b222600 in https://archives.passt.top/passt-dev/20221114061711.1655510-10-david@gibson.dropbear.id.au/
found 63ffc68 in https://passt.top/passt
preparing index
index prepared:
100644 63ffc68162f9102097b749824924a37d04b67200	tcp_splice.h

applying [1/3] https://archives.passt.top/passt-dev/20221114061711.1655510-10-david@gibson.dropbear.id.au/
diff --git a/tcp_splice.h b/tcp_splice.h
index 63ffc68..b222600 100644


applying [2/3] https://archives.passt.top/passt-dev/20221114061711.1655510-11-david@gibson.dropbear.id.au/
diff --git a/tcp_splice.h b/tcp_splice.h
index b222600..c7895d2 100644


applying [3/3] https://archives.passt.top/passt-dev/20221114061711.1655510-14-david@gibson.dropbear.id.au/
diff --git a/tcp_splice.h b/tcp_splice.h
index c7895d2..053221e 100644

Checking patch tcp_splice.h...
Applied patch tcp_splice.h cleanly.
Checking patch tcp_splice.h...
Applied patch tcp_splice.h cleanly.
Checking patch tcp_splice.h...
Applied patch tcp_splice.h cleanly.

index at:
100644 053221e0b9e7786aff74fae59b9403231117a772	tcp_splice.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).