libnl: /data/src/libnl3/include/netlink/idiag/vegasinfo.h Source File

libnl 3.7.0

vegasinfo.h
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2013 Sassano Systems LLC <joe@sassanosystems.com>
4 */
5
6 #ifndef NETLINK_IDIAGNL_VEGASINFO_H_
7 #define NETLINK_IDIAGNL_VEGASINFO_H_
8
9 #include <netlink/netlink.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif /* __cplusplus */
14
15 extern struct nl_object_ops idiagnl_vegasinfo_obj_ops;
16 extern struct idiagnl_vegasinfo * idiagnl_vegasinfo_alloc(void);
17 extern void idiagnl_vegasinfo_get(struct idiagnl_vegasinfo *);
18 extern void idiagnl_vegasinfo_put(struct idiagnl_vegasinfo *);
19
20 extern uint32_t idiagnl_vegasinfo_get_enabled(const struct idiagnl_vegasinfo *);
21 extern uint32_t idiagnl_vegasinfo_get_rttcnt(const struct idiagnl_vegasinfo *);
22 extern uint32_t idiagnl_vegasinfo_get_rtt(const struct idiagnl_vegasinfo *);
23 extern uint32_t idiagnl_vegasinfo_get_minrtt(const struct idiagnl_vegasinfo *);
24
25 extern void idiagnl_vegasinfo_set_enabled(struct idiagnl_vegasinfo *,
26 uint32_t);
27 extern void idiagnl_vegasinfo_set_rttcnt(struct idiagnl_vegasinfo *,
28 uint32_t);
29 extern void idiagnl_vegasinfo_set_rtt(struct idiagnl_vegasinfo *, uint32_t);
30 extern void idiagnl_vegasinfo_set_minrtt(struct idiagnl_vegasinfo *,
31 uint32_t);
32
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36
37 #endif /* NETLINK_IDIAGNL_VEGASINFO_H_ */