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

libnl 3.10.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
12extern "C" {
13#endif /* __cplusplus */
14
15extern struct nl_object_ops idiagnl_vegasinfo_obj_ops;
16extern struct idiagnl_vegasinfo * idiagnl_vegasinfo_alloc(void);
17extern void idiagnl_vegasinfo_get(struct idiagnl_vegasinfo *);
18extern void idiagnl_vegasinfo_put(struct idiagnl_vegasinfo *);
19
20extern uint32_t idiagnl_vegasinfo_get_enabled(const struct idiagnl_vegasinfo *);
21extern uint32_t idiagnl_vegasinfo_get_rttcnt(const struct idiagnl_vegasinfo *);
22extern uint32_t idiagnl_vegasinfo_get_rtt(const struct idiagnl_vegasinfo *);
23extern uint32_t idiagnl_vegasinfo_get_minrtt(const struct idiagnl_vegasinfo *);
24
25extern void idiagnl_vegasinfo_set_enabled(struct idiagnl_vegasinfo *,
26 uint32_t);
27extern void idiagnl_vegasinfo_set_rttcnt(struct idiagnl_vegasinfo *,
28 uint32_t);
29extern void idiagnl_vegasinfo_set_rtt(struct idiagnl_vegasinfo *, uint32_t);
30extern 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_ */
idiagnl_vegasinfo
Definition nl-idiag.h:21