libnl 3.5.0

vegasinfo.h
1 /*
2 * netlink/idiag/vegasinfo.h Inetdiag Netlink TCP Vegas Info
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation version 2.1
7 * of the License.
8 *
9 * Copyright (c) 2013 Sassano Systems LLC <joe@sassanosystems.com>
10 */
11
12 #ifndef NETLINK_IDIAGNL_VEGASINFO_H_
13 #define NETLINK_IDIAGNL_VEGASINFO_H_
14
15 #include <netlink/netlink.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
20
21 extern struct nl_object_ops idiagnl_vegasinfo_obj_ops;
22 extern struct idiagnl_vegasinfo * idiagnl_vegasinfo_alloc(void);
23 extern void idiagnl_vegasinfo_get(struct idiagnl_vegasinfo *);
24 extern void idiagnl_vegasinfo_put(struct idiagnl_vegasinfo *);
25
26 extern uint32_t idiagnl_vegasinfo_get_enabled(const struct idiagnl_vegasinfo *);
27 extern uint32_t idiagnl_vegasinfo_get_rttcnt(const struct idiagnl_vegasinfo *);
28 extern uint32_t idiagnl_vegasinfo_get_rtt(const struct idiagnl_vegasinfo *);
29 extern uint32_t idiagnl_vegasinfo_get_minrtt(const struct idiagnl_vegasinfo *);
30
31 extern void idiagnl_vegasinfo_set_enabled(struct idiagnl_vegasinfo *,
32 uint32_t);
33 extern void idiagnl_vegasinfo_set_rttcnt(struct idiagnl_vegasinfo *,
34 uint32_t);
35 extern void idiagnl_vegasinfo_set_rtt(struct idiagnl_vegasinfo *, uint32_t);
36 extern void idiagnl_vegasinfo_set_minrtt(struct idiagnl_vegasinfo *,
37 uint32_t);
38
39 #ifdef __cplusplus
40 }
41 #endif /* __cplusplus */
42
43 #endif /* NETLINK_IDIAGNL_VEGASINFO_H_ */