public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
6c9d5c82146b7bf475700805f0eed30f523af80e blob 491 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: GPL-2.0-or-later
 * Copyright (c) 2021 Red Hat GmbH
 * Author: Stefano Brivio <sbrivio@redhat.com>
 */

#ifndef PCAP_H
#define PCAP_H

#include <stddef.h>

extern int pcap_fd;

void pcap(const char *pkt, size_t l2len);
void pcap_multiple(const struct iovec *iov, size_t frame_parts, unsigned int n,
		   size_t offset);
void pcap_iov(const struct iovec *iov, size_t iovcnt, size_t offset,
	      size_t l2len);
void pcap_init(struct ctx *c);

#endif /* PCAP_H */
debug log:

solving 6c9d5c82146b ...
found 6c9d5c82146b in https://archives.passt.top/passt-dev/20260513115218.1662850-8-lvivier@redhat.com/
found dface5df4ee6 in https://passt.top/passt
preparing index
index prepared:
100644 dface5df4ee60e587786745b4fee218daab49a03	pcap.h

applying [1/1] https://archives.passt.top/passt-dev/20260513115218.1662850-8-lvivier@redhat.com/
diff --git a/pcap.h b/pcap.h
index dface5df4ee6..6c9d5c82146b 100644

Checking patch pcap.h...
Applied patch pcap.h cleanly.

index at:
100644 6c9d5c82146b7bf475700805f0eed30f523af80e	pcap.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).