netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
snprintf_default.c File Reference
Include dependency graph for snprintf_default.c:

Functions

int __snprintf_protocol (char *buf, unsigned int len, const struct nf_conntrack *ct)
 
int __snprintf_address (char *buf, unsigned int len, const struct __nfct_tuple *tuple, const char *src_tag, const char *dst_tag)
 
int __snprintf_proto (char *buf, unsigned int len, const struct __nfct_tuple *tuple)
 
int __snprintf_connlabels (char *buf, unsigned int len, struct nfct_labelmap *map, const struct nfct_bitmask *b, const char *fmt)
 
int __snprintf_conntrack_default (char *buf, unsigned int len, const struct nf_conntrack *ct, unsigned int msg_type, unsigned int flags, struct nfct_labelmap *map)
 

Function Documentation

int __snprintf_address ( char *  buf,
unsigned int  len,
const struct __nfct_tuple tuple,
const char *  src_tag,
const char *  dst_tag 
)

References __nfct_tuple::l3protonum, and size.

Referenced by __snprintf_conntrack_default(), and __snprintf_expect_default().

Here is the caller graph for this function:

int __snprintf_connlabels ( char *  buf,
unsigned int  len,
struct nfct_labelmap map,
const struct nfct_bitmask b,
const char *  fmt 
)

References BUFFER_SIZE, len, max, name, nfct_bitmask_maxbit(), nfct_bitmask_test_bit(), nfct_labelmap_get_name(), and size.

Here is the call graph for this function:

int __snprintf_protocol ( char *  buf,
unsigned int  len,
const struct nf_conntrack ct 
)

References nf_conntrack::head, NULL, nfct_tuple_head::orig, proto2str, and __nfct_tuple::protonum.

Referenced by __snprintf_conntrack_default().

Here is the caller graph for this function: