#include "internal/internal.h"
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) |
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().
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.
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 | ||
) |
References __DIR_ORIG, __DIR_REPL, __snprintf_address(), __snprintf_proto(), __snprintf_protocol(), ATTR_CONNLABELS, ATTR_DCCP_STATE, ATTR_HELPER_NAME, ATTR_ID, ATTR_MARK, ATTR_ORIG_COUNTER_BYTES, ATTR_ORIG_COUNTER_PACKETS, ATTR_REPL_COUNTER_BYTES, ATTR_REPL_COUNTER_PACKETS, 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, nf_conntrack::head, NFCT_OF_ID, NFCT_OF_SHOW_LAYER3, NFCT_OF_TIMESTAMP, NFCT_T_DESTROY, NFCT_T_NEW, NFCT_T_UPDATE, nfct_tuple_head::orig, nf_conntrack::repl, nfct_tuple_head::set, and size.
Referenced by __snprintf_conntrack().
int __snprintf_proto | ( | char * | buf, |
unsigned int | len, | ||
const struct __nfct_tuple * | tuple | ||
) |
References __nfct_l4_src::all, __nfct_l4_dst::all, __nfct_l4_dst::code, __nfct_l4_src::icmp, __nfct_l4_dst::icmp, __nfct_l4_src::id, IPPROTO_DCCP, IPPROTO_SCTP, IPPROTO_UDPLITE, __nfct_tuple::l4dst, __nfct_tuple::l4src, __nfct_l4_src::port, __nfct_l4_dst::port, __nfct_tuple::protonum, size, __nfct_l4_src::tcp, __nfct_l4_dst::tcp, and __nfct_l4_dst::type.
Referenced by __snprintf_conntrack_default(), and __snprintf_expect_default().
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().