mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Deprecate the internal int/uint types in favor of the cstdint types they were based on
This commit is contained in:
parent
18e4976c6c
commit
54752ef9a1
218 changed files with 1331 additions and 1323 deletions
|
@ -41,7 +41,7 @@ pcap_t* pcap_open_dead(int linktype, int snaplen)
|
|||
|
||||
int pcap_compile_nopcap(int snaplen_arg, int linktype_arg,
|
||||
struct bpf_program* program, char* buf,
|
||||
int optimize, bpf_u_int32 mask)
|
||||
int optimize, bpf_u_int32_t mask)
|
||||
{
|
||||
pcap_t* p;
|
||||
int ret;
|
||||
|
@ -74,7 +74,7 @@ BPF_Program::~BPF_Program()
|
|||
FreeCode();
|
||||
}
|
||||
|
||||
bool BPF_Program::Compile(pcap_t* pcap, const char* filter, uint32 netmask,
|
||||
bool BPF_Program::Compile(pcap_t* pcap, const char* filter, uint32_t netmask,
|
||||
char* errbuf, unsigned int errbuf_len, bool optimize)
|
||||
{
|
||||
if ( ! pcap )
|
||||
|
@ -99,7 +99,7 @@ bool BPF_Program::Compile(pcap_t* pcap, const char* filter, uint32 netmask,
|
|||
}
|
||||
|
||||
bool BPF_Program::Compile(int snaplen, int linktype, const char* filter,
|
||||
uint32 netmask, char* errbuf, unsigned int errbuf_len,
|
||||
uint32_t netmask, char* errbuf, unsigned int errbuf_len,
|
||||
bool optimize)
|
||||
{
|
||||
FreeCode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue