mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath: Add to_subnet bif (fixes #782). Refactor IPAddr v4 initialization from string. (fixes #775) Closes #782. Closes #775. Closes #784.
This commit is contained in:
commit
2eeac54857
10 changed files with 72 additions and 57 deletions
|
@ -325,14 +325,6 @@ public:
|
|||
|
||||
unsigned int MemoryAllocation() const { return padded_sizeof(*this); }
|
||||
|
||||
/**
|
||||
* Returns a canonicalized IPv4 dotted-decimal string such that
|
||||
* leading zeroes of each decimal part are removed.
|
||||
*
|
||||
* @param s String containing an IPv4 address in dotted-decimal notation.
|
||||
*/
|
||||
static std::string CanonIPv4(const std::string& s);
|
||||
|
||||
private:
|
||||
/**
|
||||
* Initializes an address instance from a string representation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue