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

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

#ifndef TCP_BUF_H
#define TCP_BUF_H

void tcp_sock4_iov_init(const struct ctx *c);
void tcp_sock6_iov_init(const struct ctx *c);
void tcp_flags_flush(const struct ctx *c);
void tcp_payload_flush(struct ctx *c);
int tcp_buf_data_from_sock(struct ctx *c, struct tcp_tap_conn *conn);
int tcp_buf_send_flag(struct ctx *c, struct tcp_tap_conn *conn, int flags);

extern struct ethhdr		tcp4_eth_src;
extern struct iphdr		tcp_payload_ip4;
extern struct ipv6hdr		tcp_payload_ip6;
#endif  /*TCP_BUF_H */

debug log:

solving d7cdbaf ...
found d7cdbaf in https://archives.passt.top/passt-dev/20240906213427.1915806-4-jmaloy@redhat.com/
found d3d0d7f in https://archives.passt.top/passt-dev/20240906213427.1915806-3-jmaloy@redhat.com/
found 3db4c56 in https://passt.top/passt
preparing index
index prepared:
100644 3db4c56e7f9bbc523c32bbd078334ae3222fcdab	tcp_buf.h

applying [1/2] https://archives.passt.top/passt-dev/20240906213427.1915806-3-jmaloy@redhat.com/
diff --git a/tcp_buf.h b/tcp_buf.h
index 3db4c56..d3d0d7f 100644


applying [2/2] https://archives.passt.top/passt-dev/20240906213427.1915806-4-jmaloy@redhat.com/
diff --git a/tcp_buf.h b/tcp_buf.h
index d3d0d7f..d7cdbaf 100644

Checking patch tcp_buf.h...
Applied patch tcp_buf.h cleanly.
Checking patch tcp_buf.h...
Applied patch tcp_buf.h cleanly.

index at:
100644 d7cdbafa1668d13b0675f8fc8f94c553e895a4ff	tcp_buf.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).