[][src]Crate dpdk_unix

#dpdk-unix

This crate proves additional mid-level functionality for Unix-like Operating Systems which wraps functionality found in low-level FFI bindings for libc.

It also provides a very small modicum of Windows support to get the current program name.

Modules

android_linux

Functionality to provide mid-level wrappers on Linux and Android.

daemonize

Daemonization support.

hyper_thread

HyperThread support.

logging

Logging support.

memory_information

Memory Information.

numa

NUMA (non-uniform memory architecture) information.

process_status

Process status.

scheduling

Scheduling.

signals

Support for signals.

strings

String utilties.

thread

Thread support.

Structs

DevPath

Represents /dev.

ProcPath

Represents /proc.

SysPath

Represents /sys.

Enums

DisableTransparentHugePagesError

Disable Transparent Huge Pages (THP) error.

ListParseError

List parse error.

Traits

PathExt

An extension trait to make it easier to work with sys and proc files and folders.

Functions

assert_effective_user_id_is_root

Asserts that the effective user id (uid) is root.

get_program_name

Gets the program name using the best available technique for the Operating System.