Merge in SNORT/snort3 from ~STECHEW/snort3:sfip_lessthan to master
Squashed commit of the following:
commit
40ae0e52ba715656e350f99928e696116624c78d
Author: Steve Chew <stechew@cisco.com>
Date: Tue Aug 8 13:01:59 2023 -0400
sfip: Add < operator so SfIp can be used in std::map and std::set.
bool fast_eq6(const SfIp& ip2) const;
bool fast_equals_raw(const SfIp& ip2) const;
bool operator==(const SfIp& ip2) const;
+ bool operator < (const SfIp& rhs) const;
/*
* Miscellaneous
return fast_equals_raw(ip2);
}
+inline bool SfIp::operator < (const SfIp& rhs) const
+{
+ return less_than(rhs);
+}
+
/* End of member function definitions */
/* Support functions */