netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
compare.c File Reference
#include "internal/internal.h"
#include <stdbool.h>
Include dependency graph for compare.c:

Macros

#define __NFCT_CMP_TIMEOUT   (NFCT_CMP_TIMEOUT_LE | NFCT_CMP_TIMEOUT_GT)
 

Functions

int __cmp_orig (const struct nf_conntrack *ct1, const struct nf_conntrack *ct2, unsigned int flags)
 
int __compare (const struct nf_conntrack *ct1, const struct nf_conntrack *ct2, unsigned int flags)
 

Macro Definition Documentation

#define __NFCT_CMP_TIMEOUT   (NFCT_CMP_TIMEOUT_LE | NFCT_CMP_TIMEOUT_GT)

Function Documentation

int __cmp_orig ( const struct nf_conntrack ct1,
const struct nf_conntrack ct2,
unsigned int  flags 
)

References ATTR_ORIG_IPV4_DST, ATTR_ORIG_IPV4_SRC, ATTR_ORIG_IPV6_DST, ATTR_ORIG_IPV6_SRC, ATTR_ORIG_L3PROTO, and ATTR_ORIG_L4PROTO.

Referenced by __compare().

Here is the caller graph for this function:

int __compare ( const struct nf_conntrack ct1,
const struct nf_conntrack ct2,
unsigned int  flags 
)

References __cmp_orig(), NFCT_CMP_ALL, NFCT_CMP_MASK, NFCT_CMP_ORIG, NFCT_CMP_REPL, and NFCT_CMP_STRICT.

Referenced by nfct_cmp(), and nfct_compare().

Here is the call graph for this function:

Here is the caller graph for this function: