Logo Search packages:      
Sourcecode: libnl version File versions  Download package

Utilities


Modules

 Abstract Address
 Caching
 Cache Management
 Abstract Data

Classes

struct  nl_dump_params

Error Code Helpers

static char * errbuf
static int nlerrno
char * nl_geterror (void)

Ethernet Protocol Translations

static struct trans_tbl ether_protos []
char * nl_ether_proto2str (int eproto, char *buf, size_t len)
int nl_str2ether_proto (const char *name)

Link Layer Protocol Translations

static struct trans_tbl llprotos []
char * nl_llproto2str (int llproto, char *buf, size_t len)
int nl_str2llproto (const char *name)

Time Translations

static double ticks_per_usec = 1.0f
static uint32_t user_hz = 100
static void __init get_psched_settings (void)
int nl_get_hz (void)
char * nl_msec2str (uint64_t msec, char *buf, size_t len)
uint32_t nl_ticks2us (uint32_t ticks)
long nl_time2int (const char *str)
uint32_t nl_us2ticks (uint32_t us)

Unit Pretty-Printing

double nl_cancel_down_bits (unsigned long long l, char **unit)
double nl_cancel_down_bytes (unsigned long long l, char **unit)
double nl_cancel_down_us (uint32_t l, char **unit)

Generic Unit Translations

long nl_prob2int (const char *str)
long nl_size2int (const char *str)

Probability Constants

#define NL_PROB_MAX   0xffffffff
#define NL_PROB_MIN   0x0

Enumerations

enum  nl_dump_type {
  NL_DUMP_BRIEF, NL_DUMP_FULL, NL_DUMP_STATS, NL_DUMP_XML,
  NL_DUMP_EVENTS, __NL_DUMP_MAX
}

Variables

int nl_debug = 0


Generated by  Doxygen 1.6.0   Back to index