tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cpack.h File Reference
#include <sys/types.h>
#include <inttypes.h>
Include dependency graph for cpack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cpack_state
 

Functions

int cpack_init (struct cpack_state *, uint8_t *, size_t)
 
int cpack_uint8 (struct cpack_state *, uint8_t *)
 
int cpack_uint16 (struct cpack_state *, uint16_t *)
 
int cpack_uint32 (struct cpack_state *, uint32_t *)
 
int cpack_uint64 (struct cpack_state *, uint64_t *)
 
int cpack_int8 (struct cpack_state *s, int8_t *p)
 
int cpack_int16 (struct cpack_state *s, int16_t *p)
 
int cpack_int32 (struct cpack_state *s, int32_t *p)
 
int cpack_int64 (struct cpack_state *s, int64_t *p)
 

Function Documentation

◆ cpack_init()

int cpack_init ( struct cpack_state ,
uint8_t ,
size_t   
)

◆ cpack_int16()

int cpack_int16 ( struct cpack_state s,
int16_t *  p 
)
inline

Definition at line 51 of file cpack.h.

References cpack_uint16().

◆ cpack_int32()

int cpack_int32 ( struct cpack_state s,
int32_t *  p 
)
inline

Definition at line 52 of file cpack.h.

References cpack_uint32().

◆ cpack_int64()

int cpack_int64 ( struct cpack_state s,
int64_t *  p 
)
inline

Definition at line 53 of file cpack.h.

References cpack_uint64().

◆ cpack_int8()

int cpack_int8 ( struct cpack_state s,
int8_t *  p 
)
inline

Definition at line 50 of file cpack.h.

References cpack_uint8().

Referenced by WifiPacket::print_radiotap_field().

◆ cpack_uint16()

int cpack_uint16 ( struct cpack_state ,
uint16_t  
)

Referenced by cpack_int16().

◆ cpack_uint32()

int cpack_uint32 ( struct cpack_state ,
uint32_t *   
)

Referenced by cpack_int32().

◆ cpack_uint64()

int cpack_uint64 ( struct cpack_state ,
uint64_t *   
)

Referenced by cpack_int64().

◆ cpack_uint8()

int cpack_uint8 ( struct cpack_state ,
uint8_t  
)

Referenced by cpack_int8().