net_getname.h File Reference

#include <rsbac/types.h>

Go to the source code of this file.

Defines

#define RSBAC_NET_PROTO_MAX   256
#define RSBAC_NET_TYPE_MAX   11
#define AF_MAX   32

Functions

char * rsbac_get_net_temp_syscall_name (char *name, enum rsbac_net_temp_syscall_t value)
char * rsbac_get_net_family_name (char *name, u_int value)
char * rsbac_get_net_protocol_name (char *name, u_int value)
char * rsbac_get_net_type_name (char *name, u_int value)
enum rsbac_net_temp_syscall_t rsbac_get_net_temp_syscall_nr (const char *name)
int rsbac_get_net_family_nr (const char *name)
int rsbac_get_net_protocol_nr (const char *name)
int rsbac_get_net_type_nr (const char *name)


Define Documentation

#define AF_MAX   32
 

Definition at line 21 of file net_getname.h.

Referenced by rsbac_get_net_family_name(), and rsbac_get_net_family_nr().

#define RSBAC_NET_PROTO_MAX   256
 

Definition at line 14 of file net_getname.h.

Referenced by rsbac_get_net_protocol_name(), and rsbac_get_net_protocol_nr().

#define RSBAC_NET_TYPE_MAX   11
 

Definition at line 15 of file net_getname.h.

Referenced by rsbac_get_net_type_name(), and rsbac_get_net_type_nr().


Function Documentation

char* rsbac_get_net_family_name char *  name,
u_int  value
 

Definition at line 167 of file net_getname.c.

References AF_MAX, net_family_list, and NULL.

Referenced by get_target_name().

int rsbac_get_net_family_nr const char *  name  ) 
 

Definition at line 180 of file net_getname.c.

References AF_MAX, and net_family_list.

char* rsbac_get_net_protocol_name char *  name,
u_int  value
 

Definition at line 202 of file net_getname.c.

References proto_desc_t::nr, NULL, and RSBAC_NET_PROTO_MAX.

Referenced by get_target_name().

int rsbac_get_net_protocol_nr const char *  name  ) 
 

Definition at line 227 of file net_getname.c.

References proto_desc_t::nr, and RSBAC_NET_PROTO_MAX.

char* rsbac_get_net_temp_syscall_name char *  name,
enum rsbac_net_temp_syscall_t  value
 

Definition at line 132 of file net_getname.c.

References net_temp_syscall_list, NTS_none, and NULL.

enum rsbac_net_temp_syscall_t rsbac_get_net_temp_syscall_nr const char *  name  ) 
 

Definition at line 145 of file net_getname.c.

References net_temp_syscall_list, and NTS_none.

char* rsbac_get_net_type_name char *  name,
u_int  value
 

Definition at line 249 of file net_getname.c.

References NULL, rsbac_net_type_list, and RSBAC_NET_TYPE_MAX.

Referenced by get_target_name().

int rsbac_get_net_type_nr const char *  name  ) 
 

Definition at line 262 of file net_getname.c.

References rsbac_net_type_list, and RSBAC_NET_TYPE_MAX.


Generated on Fri Jun 17 09:45:27 2005 for RSBAC by  doxygen 1.4.2