| libscap
    0.1.0.0
    | 
| Modules | |
| API Functions | |
| Data Structures | |
| struct | scap_stats | 
| Statistics about an in progress capture.  More... | |
| struct | evt_param_info | 
| Information about the parameter of an event.  More... | |
| struct | scap_fdinfo | 
| Information about a file descriptor.  More... | |
| struct | scap_threadinfo | 
| Process information.  More... | |
| struct | scap_mountinfo | 
| Mount information.  More... | |
| struct | scap_open_args | 
| struct | _scap_machine_info | 
| Machine information.  More... | |
| struct | scap_ifinfo_ipv4 | 
| IPv4 interface address information.  More... | |
| struct | scap_ifinfo_ipv4_nolinkspeed | 
| For backward compatibility only.  More... | |
| struct | scap_ifinfo_ipv6 | 
| IPv6 interface address information.  More... | |
| struct | scap_ifinfo_ipv6_nolinkspeed | 
| For backword compatibility only.  More... | |
| struct | scap_addrlist | 
| List of the machine network interfaces.  More... | |
| struct | scap_userinfo | 
| Information about one of the machine users.  More... | |
| struct | scap_groupinfo | 
| Information about one of the machine user groups.  More... | |
| struct | scap_userlist | 
| List of the machine users and groups.  More... | |
| struct | ppm_syscall_desc | 
| System call description struct.  More... | |
| struct | udig_ring_buffer_status | 
| Macros | |
| #define | SCAP_SUCCESS 0 | 
| #define | SCAP_FAILURE 1 | 
| #define | SCAP_TIMEOUT -1 | 
| #define | SCAP_ILLEGAL_INPUT 3 | 
| #define | SCAP_NOTFOUND 4 | 
| #define | SCAP_INPUT_TOO_SMALL 5 | 
| #define | SCAP_EOF 6 | 
| #define | SCAP_UNEXPECTED_BLOCK 7 | 
| #define | SCAP_VERSION_MISMATCH 8 | 
| #define | SCAP_NOT_SUPPORTED 9 | 
| #define | SCAP_LASTERR_SIZE 256 | 
| #define | SCAP_MAX_PATH_SIZE 1024 | 
| #define | SCAP_MAX_ARGS_SIZE 4096 | 
| #define | SCAP_MAX_ENV_SIZE 4096 | 
| #define | SCAP_MAX_CGROUPS_SIZE 4096 | 
| #define | SCAP_MAX_SUPPRESSED_COMMS 32 | 
| #define | SCAP_IPV6_ADDR_LEN 16 | 
| #define | MAX_CREDENTIALS_STR_LEN 256 | 
| #define | USERBLOCK_TYPE_USER 0 | 
| #define | USERBLOCK_TYPE_GROUP 1 | 
| #define | IN | 
| #define | OUT | 
| #define | UDIG_RING_SM_FNAME "udig_buf" | 
| #define | UDIG_RING_DESCS_SM_FNAME "udig_descs" | 
| #define | UDIG_RING_SIZE (8 * 1024 * 1024) | 
| Typedefs | |
| typedef struct scap | scap_t | 
| typedef struct ppm_evt_hdr | scap_evt | 
| typedef struct scap_stats | scap_stats | 
| Statistics about an in progress capture.  More... | |
| typedef struct evt_param_info | evt_param_info | 
| Information about the parameter of an event.  More... | |
| typedef enum scap_fd_type | scap_fd_type | 
| File Descriptor type.  More... | |
| typedef enum scap_l4_proto | scap_l4_proto | 
| Socket type / transport protocol.  More... | |
| typedef struct scap_fdinfo | scap_fdinfo | 
| Information about a file descriptor.  More... | |
| typedef struct scap_threadinfo | scap_threadinfo | 
| Process information.  More... | |
| typedef void(* | proc_entry_callback) (void *context, scap_t *handle, int64_t tid, scap_threadinfo *tinfo, scap_fdinfo *fdinfo) | 
| typedef struct scap_open_args | scap_open_args | 
| typedef struct _scap_machine_info | scap_machine_info | 
| Machine information.  More... | |
| typedef enum scap_ifinfo_type | scap_ifinfo_type | 
| Interface address type.  More... | |
| typedef struct scap_ifinfo_ipv4 | scap_ifinfo_ipv4 | 
| IPv4 interface address information.  More... | |
| typedef struct scap_ifinfo_ipv4_nolinkspeed | scap_ifinfo_ipv4_nolinkspeed | 
| For backward compatibility only.  More... | |
| typedef struct scap_ifinfo_ipv6 | scap_ifinfo_ipv6 | 
| IPv6 interface address information.  More... | |
| typedef struct scap_ifinfo_ipv6_nolinkspeed | scap_ifinfo_ipv6_nolinkspeed | 
| For backword compatibility only.  More... | |
| typedef struct scap_addrlist | scap_addrlist | 
| List of the machine network interfaces.  More... | |
| typedef struct scap_userinfo | scap_userinfo | 
| Information about one of the machine users.  More... | |
| typedef struct scap_groupinfo | scap_groupinfo | 
| Information about one of the machine user groups.  More... | |
| typedef struct scap_userlist | scap_userlist | 
| List of the machine users and groups.  More... | |
| typedef enum scap_os_platform | scap_os_platform | 
| The OS on which the capture was made.  More... | |
| typedef enum event_direction | event_direction | 
| Indicates if an event is an enter one or an exit one.  More... | |
| typedef enum compression_mode | compression_mode | 
| Indicates the compression type used when writing a tracefile.  More... | |
| typedef enum scap_dump_flags | scap_dump_flags | 
| Flags for scap_dump.  More... | |
| typedef struct scap_dumper | scap_dumper_t | 
| typedef struct ppm_ring_buffer_info | ppm_ring_buffer_info | 
| Functions | |
| int32_t | udig_alloc_ring (int *ring_fd, uint8_t **ring, uint32_t *ringsize, char *error) | 
| int32_t | udig_alloc_ring_descriptors (int *ring_descs_fd, struct ppm_ring_buffer_info **ring_info, struct udig_ring_buffer_status **ring_status, char *error) | 
| void | udig_free_ring (uint8_t *addr, uint32_t size) | 
| void | udig_free_ring_descriptors (uint8_t *addr) | 
| typedef enum compression_mode compression_mode | 
Indicates the compression type used when writing a tracefile.
| typedef enum event_direction event_direction | 
Indicates if an event is an enter one or an exit one.
| typedef struct evt_param_info evt_param_info | 
Information about the parameter of an event.
| typedef struct ppm_ring_buffer_info ppm_ring_buffer_info | 
| typedef void(* proc_entry_callback) (void *context, scap_t *handle, int64_t tid, scap_threadinfo *tinfo, scap_fdinfo *fdinfo) | 
| typedef struct scap_addrlist scap_addrlist | 
List of the machine network interfaces.
| typedef enum scap_dump_flags scap_dump_flags | 
Flags for scap_dump.
| typedef struct scap_dumper scap_dumper_t | 
| typedef enum scap_fd_type scap_fd_type | 
File Descriptor type.
| typedef struct scap_fdinfo scap_fdinfo | 
Information about a file descriptor.
| typedef struct scap_groupinfo scap_groupinfo | 
Information about one of the machine user groups.
| typedef struct scap_ifinfo_ipv4 scap_ifinfo_ipv4 | 
IPv4 interface address information.
| typedef struct scap_ifinfo_ipv4_nolinkspeed scap_ifinfo_ipv4_nolinkspeed | 
For backward compatibility only.
| typedef struct scap_ifinfo_ipv6 scap_ifinfo_ipv6 | 
IPv6 interface address information.
| typedef struct scap_ifinfo_ipv6_nolinkspeed scap_ifinfo_ipv6_nolinkspeed | 
For backword compatibility only.
| typedef enum scap_ifinfo_type scap_ifinfo_type | 
Interface address type.
| typedef enum scap_l4_proto scap_l4_proto | 
Socket type / transport protocol.
| typedef struct _scap_machine_info scap_machine_info | 
Machine information.
| typedef struct scap_open_args scap_open_args | 
| typedef enum scap_os_platform scap_os_platform | 
The OS on which the capture was made.
| typedef struct scap_stats scap_stats | 
Statistics about an in progress capture.
| typedef struct scap_threadinfo scap_threadinfo | 
Process information.
| typedef struct scap_userinfo scap_userinfo | 
Information about one of the machine users.
| typedef struct scap_userlist scap_userlist | 
List of the machine users and groups.
| enum compression_mode | 
| enum event_direction | 
| enum scap_dump_flags | 
| enum scap_fd_type | 
File Descriptor type.
Definition at line 122 of file scap.h.
| enum scap_ifinfo_type | 
| enum scap_l4_proto | 
| enum scap_mode_t | 
Arguments for scap_open.
Definition at line 272 of file scap.h.
| enum scap_os_platform | 
| int32_t udig_alloc_ring | ( | int * | ring_fd, | 
| uint8_t ** | ring, | ||
| uint32_t * | ringsize, | ||
| char * | error | ||
| ) | 
| int32_t udig_alloc_ring_descriptors | ( | int * | ring_descs_fd, | 
| struct ppm_ring_buffer_info ** | ring_info, | ||
| struct udig_ring_buffer_status ** | ring_status, | ||
| char * | error | ||
| ) | 
| void udig_free_ring | ( | uint8_t * | addr, | 
| uint32_t | size | ||
| ) | 
| void udig_free_ring_descriptors | ( | uint8_t * | addr | ) | 
 1.8.17
 1.8.17