netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
erec.c File Reference
#include <config.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <netlink.h>
#include <gmputil.h>
#include <erec.h>
Include dependency graph for erec.c:

Functions

void erec_add_location (struct error_record *erec, const struct location *loc)
 
 __attribute__ ((format(printf, 3, 0)))
 
 __attribute__ ((format(printf, 3, 4)))
 
void erec_print (FILE *f, const struct error_record *erec)
 
void erec_print_list (FILE *f, struct list_head *list)
 

Variables

const struct location internal_location
 

Function Documentation

__attribute__ ( (format(printf, 3, 0))  )

References erec_add_location(), error_record::msg, NULL, error_record::num_locations, error_record::type, type, and xmalloc().

Here is the call graph for this function:

__attribute__ ( (format(printf, 3, 4))  )

References erec_vcreate().

Here is the call graph for this function:

void erec_add_location ( struct error_record erec,
const struct location loc 
)

References EREC_LOCATIONS_MAX, error_record::locations, and error_record::num_locations.

Referenced by __attribute__(), and __fmtstring().

Here is the caller graph for this function:

void erec_print_list ( FILE *  f,
struct list_head list 
)

References erec_print(), error_record::list, and list_for_each_entry_safe.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const struct location internal_location
Initial value:
= {
.indesc = &internal_indesc,
}

Referenced by main(), and payload_expr_join().