#include "libbb_udhcp.h"
#include <stdio.h>
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | LOG_EMERG "EMERGENCY!" |
#define | LOG_ALERT "ALERT!" |
#define | LOG_CRIT "critical!" |
#define | LOG_WARNING "warning" |
#define | LOG_ERR "error" |
#define | LOG_INFO "info" |
#define | LOG_DEBUG "debug" |
#define | LOG(level, str, args...) |
#define | OPEN_LOG(name) do {;} while(0) |
#define | CLOSE_LOG() do {;} while(0) |
#define | DEBUG(level, str, args...) do {;} while(0) |
#define DEBUG | ( | level, | |||
str, | |||||
args... | ) | do {;} while(0) |
Definition at line 38 of file debug.h.
Referenced by arpping(), get_packet(), get_raw_packet(), listen_socket(), raw_packet(), raw_socket(), read_interface(), run_script(), and udhcp().
#define LOG | ( | level, | |||
str, | |||||
args... | ) |
Value:
do { printf("%s, ", level); \ printf(str, ## args); \ printf("\n"); } while(0)
Definition at line 26 of file debug.h.
Referenced by arpping(), get_packet(), get_raw_packet(), pidfile_acquire(), random_xid(), read_interface(), run_script(), send_discover(), send_release(), send_renew(), send_selecting(), and udhcp().
#define LOG_DEBUG "debug" |
Definition at line 25 of file debug.h.
Referenced by send_discover(), send_release(), send_renew(), and send_selecting().
#define LOG_ERR "error" |
Definition at line 23 of file debug.h.
Referenced by arpping(), get_packet(), get_raw_packet(), listen_socket(), pidfile_acquire(), raw_packet(), raw_socket(), read_interface(), run_script(), and udhcp().
#define LOG_INFO "info" |
Definition at line 24 of file debug.h.
Referenced by arpping(), get_packet(), get_raw_packet(), listen_socket(), raw_socket(), read_interface(), run_script(), and udhcp().
#define LOG_WARNING "warning" |
#define OPEN_LOG | ( | name | ) | do {;} while(0) |