Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

util_net.h File Reference

simple network related functions More...

Go to the source code of this file.

Functions

char * inet_ntoax (u_int32_t ip)
char * mktcpflag_str (int flags)


Detailed Description

simple network related functions

Author:
Chris Green <cmg@sourcefire.com>
Date:
Fri Jun 27 10:20:31 2003
Put your simple network related functions here

Definition in file util_net.h.


Function Documentation

char* inet_ntoax u_int32_t  ip  ) 
 

A inet_ntoa that has 2 static buffers that are changed between subsequent calls

Parameters:
ip ip in NETWORK BYTE ORDER

Definition at line 75 of file util_net.c.

References snprintf.

Referenced by flowps_newflow_callback().

char* mktcpflag_str int  flags  ) 
 

give a textual representation of tcp flags

Parameters:
flags tcph->flags
Returns:
ptr to a static buffer w/ the string represented

Definition at line 26 of file util_net.c.

References memset.

Referenced by flowps_entry_print(), and flowps_newflow_callback().


Generated on Sun May 14 14:51:27 2006 by  doxygen 1.4.2