netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
log_msg.h File Reference
#include <netlink/netlink.h>
Include dependency graph for log_msg.h:
This graph shows which files directly or indirectly include this file:

Functions

struct nfnl_log_msgnfnl_log_msg_alloc (void)
 
int nfnlmsg_log_msg_parse (struct nlmsghdr *, struct nfnl_log_msg **)
 
void nfnl_log_msg_get (struct nfnl_log_msg *)
 
void nfnl_log_msg_put (struct nfnl_log_msg *)
 
void nfnl_log_msg_set_family (struct nfnl_log_msg *, uint8_t)
 
uint8_t nfnl_log_msg_get_family (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_hwproto (struct nfnl_log_msg *, uint16_t)
 
int nfnl_log_msg_test_hwproto (const struct nfnl_log_msg *)
 
uint16_t nfnl_log_msg_get_hwproto (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_hook (struct nfnl_log_msg *, uint8_t)
 
int nfnl_log_msg_test_hook (const struct nfnl_log_msg *)
 
uint8_t nfnl_log_msg_get_hook (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_mark (struct nfnl_log_msg *, uint32_t)
 
int nfnl_log_msg_test_mark (const struct nfnl_log_msg *)
 
uint32_t nfnl_log_msg_get_mark (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_timestamp (struct nfnl_log_msg *, struct timeval *)
 
const struct timeval * nfnl_log_msg_get_timestamp (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_indev (struct nfnl_log_msg *, uint32_t)
 
uint32_t nfnl_log_msg_get_indev (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_outdev (struct nfnl_log_msg *, uint32_t)
 
uint32_t nfnl_log_msg_get_outdev (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_physindev (struct nfnl_log_msg *, uint32_t)
 
uint32_t nfnl_log_msg_get_physindev (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_physoutdev (struct nfnl_log_msg *, uint32_t)
 
uint32_t nfnl_log_msg_get_physoutdev (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_hwaddr (struct nfnl_log_msg *, uint8_t *, int)
 
const uint8_t * nfnl_log_msg_get_hwaddr (const struct nfnl_log_msg *, int *)
 
int nfnl_log_msg_set_payload (struct nfnl_log_msg *, uint8_t *, int)
 
const void * nfnl_log_msg_get_payload (const struct nfnl_log_msg *, int *)
 
int nfnl_log_msg_set_prefix (struct nfnl_log_msg *, void *)
 
const char * nfnl_log_msg_get_prefix (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_uid (struct nfnl_log_msg *, uint32_t)
 
int nfnl_log_msg_test_uid (const struct nfnl_log_msg *)
 
uint32_t nfnl_log_msg_get_uid (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_gid (struct nfnl_log_msg *, uint32_t)
 
int nfnl_log_msg_test_gid (const struct nfnl_log_msg *)
 
uint32_t nfnl_log_msg_get_gid (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_seq (struct nfnl_log_msg *, uint32_t)
 
int nfnl_log_msg_test_seq (const struct nfnl_log_msg *)
 
uint32_t nfnl_log_msg_get_seq (const struct nfnl_log_msg *)
 
void nfnl_log_msg_set_seq_global (struct nfnl_log_msg *, uint32_t)
 
int nfnl_log_msg_test_seq_global (const struct nfnl_log_msg *)
 
uint32_t nfnl_log_msg_get_seq_global (const struct nfnl_log_msg *)
 

Variables

struct nl_object_ops log_msg_obj_ops
 

Function Documentation

struct nfnl_log_msg* nfnl_log_msg_alloc ( void  )

References log_msg_obj_ops, and nl_object_alloc().

Referenced by nfnlmsg_log_msg_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

void nfnl_log_msg_get ( struct nfnl_log_msg )

References nl_object_get().

Here is the call graph for this function:

uint8_t nfnl_log_msg_get_family ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_gid ( const struct nfnl_log_msg )
uint8_t nfnl_log_msg_get_hook ( const struct nfnl_log_msg )
const uint8_t* nfnl_log_msg_get_hwaddr ( const struct nfnl_log_msg ,
int *   
)
uint16_t nfnl_log_msg_get_hwproto ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_indev ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_mark ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_outdev ( const struct nfnl_log_msg )
const void* nfnl_log_msg_get_payload ( const struct nfnl_log_msg ,
int *   
)
uint32_t nfnl_log_msg_get_physindev ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_physoutdev ( const struct nfnl_log_msg )
const char* nfnl_log_msg_get_prefix ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_seq ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_seq_global ( const struct nfnl_log_msg )
const struct timeval* nfnl_log_msg_get_timestamp ( const struct nfnl_log_msg )
uint32_t nfnl_log_msg_get_uid ( const struct nfnl_log_msg )
void nfnl_log_msg_put ( struct nfnl_log_msg )

References nl_object_put().

Referenced by nfnlmsg_log_msg_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

void nfnl_log_msg_set_family ( struct nfnl_log_msg ,
uint8_t   
)

References nfnl_log_msg::log_msg_family.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_gid ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_gid.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_hook ( struct nfnl_log_msg ,
uint8_t   
)

References hook, and nfnl_log_msg::log_msg_hook.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_hwaddr ( struct nfnl_log_msg ,
uint8_t *  ,
int   
)

References len, nfnl_log_msg::log_msg_hwaddr, and nfnl_log_msg::log_msg_hwaddr_len.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_hwproto ( struct nfnl_log_msg ,
uint16_t   
)

References nfnl_log_msg::log_msg_hwproto.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_indev ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_indev.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_mark ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_mark, and mark.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_outdev ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_outdev.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

int nfnl_log_msg_set_payload ( struct nfnl_log_msg ,
uint8_t *  ,
int   
)

References len, nfnl_log_msg::log_msg_payload, nfnl_log_msg::log_msg_payload_len, and NLE_NOMEM.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_physindev ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_physindev.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_physoutdev ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_physoutdev.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

int nfnl_log_msg_set_prefix ( struct nfnl_log_msg ,
void *   
)

References nfnl_log_msg::log_msg_prefix, and NLE_NOMEM.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_seq ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_seq.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_seq_global ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_seq_global.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_timestamp ( struct nfnl_log_msg ,
struct timeval *   
)

References nfnl_log_msg::log_msg_timestamp.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

void nfnl_log_msg_set_uid ( struct nfnl_log_msg ,
uint32_t   
)

References nfnl_log_msg::log_msg_uid.

Referenced by nfnlmsg_log_msg_parse().

Here is the caller graph for this function:

int nfnl_log_msg_test_gid ( const struct nfnl_log_msg )
int nfnl_log_msg_test_hook ( const struct nfnl_log_msg )
int nfnl_log_msg_test_hwproto ( const struct nfnl_log_msg )
int nfnl_log_msg_test_mark ( const struct nfnl_log_msg )
int nfnl_log_msg_test_seq ( const struct nfnl_log_msg )
int nfnl_log_msg_test_seq_global ( const struct nfnl_log_msg )
int nfnl_log_msg_test_uid ( const struct nfnl_log_msg )

Variable Documentation

struct nl_object_ops log_msg_obj_ops

Referenced by nfnl_log_msg_alloc().