mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Move a few smaller files to zeek namespaces
This commit is contained in:
parent
812ac5536d
commit
db36688bf0
32 changed files with 335 additions and 193 deletions
|
@ -14,6 +14,8 @@
|
|||
#include "IPAddr.h"
|
||||
#include "IP.h"
|
||||
|
||||
namespace zeek {
|
||||
|
||||
// - adapted from tcpdump
|
||||
// Returns the ones-complement checksum of a chunk of b short-aligned bytes.
|
||||
int ones_complement_checksum(const void* p, int b, uint32_t sum)
|
||||
|
@ -182,3 +184,5 @@ uint32_t extract_uint32(const u_char* data)
|
|||
|
||||
return val;
|
||||
}
|
||||
|
||||
} // namespace zeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue