Print this page
10052 "dladm show-ether" should pick one kstat snapshot and stick with it
Reviewed by: Rob Johnston <rob.johnston@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Gergo Doma <domag02@gmail.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
*** 21,30 ****
--- 21,34 ----
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+ /*
+ * Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
+ */
+
#ifndef _LIBDLSTAT_H
#define _LIBDLSTAT_H
/*
* This file includes structures, macros and common routines shared by all
*** 277,290 ****
extern dladm_stat_chain_t *dladm_link_stat_diffchain(dladm_stat_chain_t *,
dladm_stat_chain_t *, dladm_stat_type_t);
extern dladm_stat_chain_t *dladm_link_stat_query_all(dladm_handle_t,
datalink_id_t, dladm_stat_type_t);
! extern flow_stat_t *dladm_flow_stat_query(const char *);
extern flow_stat_t *dladm_flow_stat_diff(flow_stat_t *,
flow_stat_t *);
! extern name_value_stat_entry_t *dladm_flow_stat_query_all(const char *);
#ifdef __cplusplus
}
#endif
--- 281,296 ----
extern dladm_stat_chain_t *dladm_link_stat_diffchain(dladm_stat_chain_t *,
dladm_stat_chain_t *, dladm_stat_type_t);
extern dladm_stat_chain_t *dladm_link_stat_query_all(dladm_handle_t,
datalink_id_t, dladm_stat_type_t);
! extern flow_stat_t *dladm_flow_stat_query(dladm_handle_t,
! const char *);
extern flow_stat_t *dladm_flow_stat_diff(flow_stat_t *,
flow_stat_t *);
! extern name_value_stat_entry_t *dladm_flow_stat_query_all(dladm_handle_t,
! const char *);
#ifdef __cplusplus
}
#endif