#include "internal/internal.h"
Functions | |
const char * | __proto2str (u_int8_t protonum) |
const char * | __l3proto2str (u_int8_t protonum) |
int | __snprintf_addr_xml (char *buf, unsigned int len, const struct __nfct_tuple *tuple, enum __nfct_addr type) |
int | __snprintf_proto_xml (char *buf, unsigned int len, const struct __nfct_tuple *tuple, enum __nfct_addr type) |
int | __snprintf_localtime_xml (char *buf, unsigned int len, const struct tm *tm) |
int | __snprintf_conntrack_xml (char *buf, unsigned int len, const struct nf_conntrack *ct, const unsigned int msg_type, const unsigned int flags, struct nfct_labelmap *map) |
const char* __l3proto2str | ( | u_int8_t | protonum | ) |
References l3proto2str.
const char* __proto2str | ( | u_int8_t | protonum | ) |
References proto2str.
int __snprintf_addr_xml | ( | char * | buf, |
unsigned int | len, | ||
const struct __nfct_tuple * | tuple, | ||
enum __nfct_addr | type | ||
) |
References __ADDR_SRC, BUFFER_SIZE, __nfct_tuple::l3protonum, and size.
int __snprintf_conntrack_xml | ( | char * | buf, |
unsigned int | len, | ||
const struct nf_conntrack * | ct, | ||
const unsigned int | msg_type, | ||
const unsigned int | flags, | ||
struct nfct_labelmap * | map | ||
) |
References __DIR_ORIG, __DIR_REPL, __snprintf_localtime_xml(), ATTR_CONNLABELS, ATTR_DCCP_STATE, ATTR_HELPER_NAME, ATTR_ID, ATTR_MARK, ATTR_SCTP_STATE, ATTR_SECCTX, ATTR_SECMARK, ATTR_STATUS, ATTR_TCP_STATE, ATTR_TIMEOUT, ATTR_TIMESTAMP_START, ATTR_TIMESTAMP_STOP, ATTR_USE, ATTR_ZONE, BUFFER_SIZE, __nfct_protoinfo::dccp, DCCP_CONNTRACK_MAX, DCCP_CONNTRACK_NONE, nf_conntrack::head, nf_conntrack::id, IPS_ASSURED, IPS_SEEN_REPLY, nf_conntrack::mark, NFCT_OF_TIME, NFCT_OF_TIMESTAMP, NFCT_T_DESTROY, NFCT_T_NEW, NFCT_T_UPDATE, NULL, nf_conntrack::protoinfo, __nfct_protoinfo::sctp, SCTP_CONNTRACK_MAX, SCTP_CONNTRACK_NONE, nf_conntrack::secctx, nf_conntrack::secmark, nfct_tuple_head::set, size, __nfct_protoinfo::state, states, nf_conntrack::status, __nfct_protoinfo::tcp, TCP_CONNTRACK_MAX, TCP_CONNTRACK_NONE, nf_conntrack::timeout, nf_conntrack::use, and nf_conntrack::zone.
Referenced by __snprintf_conntrack().
References BUFFER_SIZE, and size.
Referenced by __snprintf_conntrack_xml().
int __snprintf_proto_xml | ( | char * | buf, |
unsigned int | len, | ||
const struct __nfct_tuple * | tuple, | ||
enum __nfct_addr | type | ||
) |