Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../.././../../../../usr/include/rpc/io_flows.h
Real path: /usr/include/rpc/io_flows.h
Zurück
/* * Copyright (c) 2020, 2023, Oracle and/or its affiliates. */ #ifndef _IO_FLOWS_H #define _IO_FLOWS_H /* * RPC IO flows generic header for data structures exposed to consumers. */ #ifdef __cplusplus extern "C" { #endif #include <sys/types.h> #include <sys/avl.h> #define IO_FLOW_DEFAULT_PRI 3 #define IO_FLOW_MIN_PRI 0 #define IO_FLOW_MAX_PRI 6 enum io_flowattr_type { IF_IP = 0, /* Future possible extensions */ IF_ZFS_DATASET = 1, IF_ZPOOL = 2, IF_ZONE = 3, IF_ATTR_END = 4 }; typedef enum io_flowattr_type io_flowattr_type; struct io_flow_attr_ip { int netid; struct sockaddr_storage remote_addr; struct sockaddr_storage local_addr; }; typedef struct io_flow_attr_ip io_flow_attr_ip_t; struct io_flow_attr { bool_t ifa_extraref; io_flowattr_type ifa_type; union { io_flow_attr_ip_t ifa_ip; } attr_u; }; typedef struct io_flow_attr io_flow_attr_t; /* tag returned to consumers */ struct io_flow_tag { clock_t ift_tag; }; typedef struct io_flow_tag io_flow_tag_t; void *iof_flow_find(void *, io_flow_attr_t *); io_flow_tag_t *iof_enter(void *, int, int, int); void *iof_get_handle(uint32_t, uint32_t *, int, uint_t *, uint_t); void iof_release_flow(void *); void iof_handle_destroy_pending(void *); void iof_ftime_hold(void *); void iof_done(io_flow_tag_t *); void iof_decrement_flow(void *, int); int iof_flowctrl_insert(void *); void iof_disable_flowctrl(void *, boolean_t); void iof_disable_flowfc(void *, boolean_t); void iof_increment_thrcnt(void *, int, int); void iof_decrement_thrcnt(void *, int, int); void iof_remove_xprt(void *, void *); int iof_check_flowlevel(void *, int); void iof_get_rpool_kstats(void *, int, uint_t *, uint_t *); void iof_current_counts(void *, void *, void *); #ifdef __cplusplus } #endif #endif /* _IO_FLOWS_H */