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

Functions

struct msg_buffmsgb_alloc (uint32_t size)
 
void msgb_free (struct msg_buff *msgb)
 
uint32_t msgb_len (struct msg_buff *msgb)
 
uint32_t msgb_size (struct msg_buff *msgb)
 
unsigned char * msgb_data (struct msg_buff *msgb)
 
unsigned char * msgb_tail (struct msg_buff *msgb)
 
void * msgb_put (struct msg_buff *msgb, uint32_t len)
 
void * msgb_pull (struct msg_buff *msgb, uint32_t len)
 
void msgb_burp (struct msg_buff *msgb)
 

Function Documentation

void msgb_burp ( struct msg_buff msgb)
unsigned char* msgb_data ( struct msg_buff msgb)

References msg_buff::data.

void msgb_free ( struct msg_buff msgb)
uint32_t msgb_len ( struct msg_buff msgb)

References msg_buff::len.

void* msgb_pull ( struct msg_buff msgb,
uint32_t  len 
)

References msg_buff::data, msg_buff::len, len, and NULL.

void* msgb_put ( struct msg_buff msgb,
uint32_t  len 
)

References data, msg_buff::len, len, and msg_buff::tail.

uint32_t msgb_size ( struct msg_buff msgb)

References msg_buff::end, and msg_buff::head.

unsigned char* msgb_tail ( struct msg_buff msgb)

References msg_buff::tail.