libnetfilter_conntrack  1.0.6
Functions
Kernel-space filtering for dumping

Functions

struct nfct_filter_dump * nfct_filter_dump_create (void)
 
void nfct_filter_dump_destroy (struct nfct_filter_dump *filter)
 
void nfct_filter_dump_set_attr (struct nfct_filter_dump *filter_dump, const enum nfct_filter_dump_attr type, const void *value)
 
void nfct_filter_dump_set_attr_u8 (struct nfct_filter_dump *filter_dump, const enum nfct_filter_dump_attr type, uint8_t value)
 

Detailed Description

Function Documentation

struct nfct_filter_dump* nfct_filter_dump_create ( void  )

nfct_filter_dump_create - create a dump filter

This function returns a valid pointer on success, otherwise NULL is returned and errno is appropriately set.

Definition at line 1466 of file conntrack/api.c.

void nfct_filter_dump_destroy ( struct nfct_filter_dump *  filter)

nfct_filter_dump_destroy - destroy a dump filter

Parameters
filterfilter that we want to destroy

This function releases the memory that is used by the filter object.

Definition at line 1477 of file conntrack/api.c.

void nfct_filter_dump_set_attr ( struct nfct_filter_dump *  filter_dump,
const enum nfct_filter_dump_attr  type,
const void *  value 
)

nfct_filter_dump_attr_set - set filter attribute

Parameters
filterdump filter object that we want to modify
typefilter attribute type
valuepointer to the value of the filter attribute

Definition at line 1490 of file conntrack/api.c.

void nfct_filter_dump_set_attr_u8 ( struct nfct_filter_dump *  filter_dump,
const enum nfct_filter_dump_attr  type,
uint8_t  value 
)

nfct_filter_dump_attr_set_u8 - set u8 dump filter attribute

Parameters
filterdump filter object that we want to modify
typefilter attribute type
valuevalue of the filter attribute using unsigned int (32 bits).

Definition at line 1512 of file conntrack/api.c.