1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Move seq_compare into its own header file

This commit is contained in:
Matias Fontanini
2017-04-30 16:52:59 -07:00
parent fe38bba477
commit a9747a349a
7 changed files with 57 additions and 23 deletions

View File

@@ -30,26 +30,11 @@
#ifndef TINS_INTERNALS_H
#define TINS_INTERNALS_H
#include <stdint.h>
#include "detail/type_traits.h"
#include "detail/address_helpers.h"
#include "detail/icmp_extension_helpers.h"
#include "detail/smart_ptr.h"
#include "detail/pdu_helpers.h"
/**
* \cond
*/
namespace Tins {
namespace Internals {
// Compares sequence numbers as defined by RFC 1982.
int seq_compare(uint32_t seq1, uint32_t seq2);
} // namespace Internals
} // namespace Tins
/**
* \endcond
*/
#include "detail/sequence_number_helpers.h"
#endif