Adding upstream version 2.3.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
3e5f1e46ff
commit
27bed00e23
101 changed files with 2349 additions and 847 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue