RTRlib
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
utils.h
1 /*
2  * This file is part of RTRlib.
3  *
4  * This file is subject to the terms and conditions of the MIT license.
5  * See the file LICENSE in the top level directory for more details.
6  *
7  * Website: http://rtrlib.realmv6.org/
8  */
9 
10 #ifndef LRTR_UTILS_H
11 #define LRTR_UTILS_H
12 #include <time.h>
13 #include "rtrlib/lib/ip.h"
14 
21 int lrtr_get_monotonic_time(time_t *seconds);
22 
31 uint32_t lrtr_get_bits(const uint32_t val, const uint8_t from, const uint8_t number);
32 
33 #endif