Adding upstream version 2.3.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-21 09:31:24 +02:00
parent 3e5f1e46ff
commit 27bed00e23
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
101 changed files with 2349 additions and 847 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2024 OARC, Inc.
* Copyright (c) 2016-2025 OARC, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -37,6 +37,8 @@
#ifndef __dnscap_dumper_h
#define __dnscap_dumper_h
void set_output_pkt(u_char* pkt, const unsigned olen);
void output(const char* descr, iaddr from, iaddr to, uint8_t proto, unsigned flags,
unsigned sport, unsigned dport, my_bpftimeval ts,
u_char* pkt_copy, const unsigned olen,
@ -45,6 +47,7 @@ void output(const char* descr, iaddr from, iaddr to, uint8_t proto, unsigned fla
int dumper_open(my_bpftimeval ts);
int dumper_close(my_bpftimeval ts);
void dnscap_dump_open_gz(const char* path, FILE** fp);
pcap_dumper_t* dnscap_pcap_dump_open(pcap_t* pcap, const char* path);
#endif /* __dnscap_dumper_h */