mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Remove all of the random single-file deprecations
These are the changes that don't require a ton of changes to other files outside of the original removal.
This commit is contained in:
parent
7e9d89db0a
commit
0618be792f
270 changed files with 36 additions and 4632 deletions
|
@ -281,41 +281,3 @@ inline uint64_t htonll(uint64_t i) { return ntohll(i); }
|
|||
#endif
|
||||
|
||||
} // namespace zeek
|
||||
|
||||
constexpr auto seq_between [[deprecated("Remove in v4.1. Use zeek::seq_between.")]] = zeek::seq_between;
|
||||
constexpr auto seq_delta [[deprecated("Remove in v4.1. Use zeek::seq_delta.")]] = zeek::seq_delta;
|
||||
constexpr auto icmp6_checksum [[deprecated("Remove in v4.1. Use zeek::icmp6_checksum.")]] = zeek::icmp6_checksum;
|
||||
constexpr auto icmp_checksum [[deprecated("Remove in v4.1. Use zeek::icmp_checksum.")]] = zeek::icmp_checksum;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use zeek::ones_complement_checksum.")]]
|
||||
inline int ones_complement_checksum(const void* p, int b, uint32_t sum)
|
||||
{ return zeek::ones_complement_checksum(p, b, sum); }
|
||||
[[deprecated("Remove in v4.1. Use zeek::ones_complement_checksum.")]]
|
||||
inline int ones_complement_checksum(const zeek::IPAddr& a, uint32_t sum)
|
||||
{ return zeek::ones_complement_checksum(a, sum); }
|
||||
|
||||
#ifdef ENABLE_MOBILE_IPV6
|
||||
constexpr auto mobility_header_checksum [[deprecated("Remove in v4.1. Use zeek::mobility_header_checksum.")]] = zeek::mobility_header_checksum;
|
||||
#endif
|
||||
|
||||
constexpr auto addr_to_class [[deprecated("Remove in v4.1. Use zeek::addr_to_class.")]] = zeek::addr_to_class;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use zeek::fmt_conn_id.")]]
|
||||
inline const char* fmt_conn_id(const zeek::IPAddr& src_addr, uint32_t src_port,
|
||||
const zeek::IPAddr& dst_addr, uint32_t dst_port)
|
||||
{ return zeek::fmt_conn_id(src_addr, src_port, dst_addr, dst_port); }
|
||||
[[deprecated("Remove in v4.1. Use zeek::fmt_conn_id.")]]
|
||||
inline const char* fmt_conn_id(const uint32_t* src_addr, uint32_t src_port,
|
||||
const uint32_t* dst_addr, uint32_t dst_port)
|
||||
{ return zeek::fmt_conn_id(src_addr, src_port, dst_addr, dst_port); }
|
||||
|
||||
constexpr auto fmt_mac [[deprecated("Remove in v4.1. Use zeek::fmt_mac.")]] = zeek::fmt_mac;
|
||||
constexpr auto extract_uint32 [[deprecated("Remove in v4.1. Use zeek::extract_uint32.")]] = zeek::extract_uint32;
|
||||
|
||||
constexpr auto ntohd [[deprecated("Remove in v4.1. Use zeek::ntohd.")]] = zeek::ntohd;
|
||||
constexpr auto htond [[deprecated("Remove in v4.1. Use zeek::htond.")]] = zeek::htond;
|
||||
|
||||
#ifndef HAVE_BYTEORDER_64
|
||||
constexpr auto ntohll [[deprecated("Remove in v4.1. Use zeek::ntohll.")]] = zeek::ntohll;
|
||||
constexpr auto htonll [[deprecated("Remove in v4.1. Use zeek::htonll.")]] = zeek::htonll;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue