/linux-2.6.21.1-rsbac-1.3.4/include/rsbac/network_types.h File Reference

Go to the source code of this file.

Data Structures

struct  rsbac_net_temp_port_range_t
struct  rsbac_net_temp_inet_addr_t
struct  rsbac_net_temp_other_addr_t
struct  rsbac_net_temp_ports_t
union  rsbac_net_temp_addr_t
struct  rsbac_net_temp_data_t
struct  rsbac_net_temp_old_data_t
struct  rsbac_net_description_t
union  rsbac_net_temp_syscall_data_t

Defines

#define RSBAC_NET_ANY   0
#define RSBAC_NET_UNKNOWN   0
#define RSBAC_NET_TEMP_VERSION   2
#define RSBAC_NET_TEMP_OLD_VERSION   1
#define RSBAC_NET_TEMP_KEY   0x815affe
#define RSBAC_NET_TEMP_NAME   "nettemp"
#define RSBAC_NET_MAX_ADDRESS_LEN   128
#define RSBAC_NET_TEMP_NAMELEN   16
#define RSBAC_NET_MAX_PORT   65535
#define RSBAC_NET_NR_INET_ADDR   25
#define RSBAC_NET_NR_PORTS   10
#define RSBAC_NET_TEMP_LNET_ID   100101
#define RSBAC_NET_TEMP_LNET_ADDRESS   "127.0.0.0"
#define RSBAC_NET_TEMP_LAN_ID   100102
#define RSBAC_NET_TEMP_LAN_ADDRESS   "192.168.0.0"
#define RSBAC_NET_TEMP_AUTO_ID   100105
#define RSBAC_NET_TEMP_AUTO_ADDRESS   "0.0.0.0"
#define RSBAC_NET_TEMP_INET_ID   100110
#define RSBAC_NET_TEMP_ALL_ID   ((rsbac_net_temp_id_t) -1)
#define NIPQUAD(addr)
#define HIPQUAD(addr)

Typedefs

typedef __u32 rsbac_net_temp_id_t

Enumerations

enum  rsbac_net_temp_syscall_t {
  NTS_new_template, NTS_copy_template, NTS_delete_template, NTS_check_id,
  NTS_get_address, NTS_get_address_family, NTS_get_type, NTS_get_protocol,
  NTS_get_netdev, NTS_get_ports, NTS_get_name, NTS_set_address,
  NTS_set_address_family, NTS_set_type, NTS_set_protocol, NTS_set_netdev,
  NTS_set_ports, NTS_set_name, NTS_none
}


Define Documentation

#define HIPQUAD ( addr   ) 

Value:

((unsigned char *)&addr)[3], \
        ((unsigned char *)&addr)[2], \
        ((unsigned char *)&addr)[1], \
        ((unsigned char *)&addr)[0]

Definition at line 145 of file network_types.h.

#define NIPQUAD ( addr   ) 

Value:

((unsigned char *)&addr)[0], \
        ((unsigned char *)&addr)[1], \
        ((unsigned char *)&addr)[2], \
        ((unsigned char *)&addr)[3]

Definition at line 139 of file network_types.h.

Referenced by get_target_name(), and rsbac_adf_request_int().

#define RSBAC_NET_ANY   0

Definition at line 12 of file network_types.h.

#define RSBAC_NET_MAX_ADDRESS_LEN   128

Definition at line 22 of file network_types.h.

#define RSBAC_NET_MAX_PORT   65535

Definition at line 25 of file network_types.h.

#define RSBAC_NET_NR_INET_ADDR   25

Definition at line 27 of file network_types.h.

#define RSBAC_NET_NR_PORTS   10

Definition at line 28 of file network_types.h.

#define RSBAC_NET_TEMP_ALL_ID   ((rsbac_net_temp_id_t) -1)

Definition at line 87 of file network_types.h.

#define RSBAC_NET_TEMP_AUTO_ADDRESS   "0.0.0.0"

Definition at line 85 of file network_types.h.

#define RSBAC_NET_TEMP_AUTO_ID   100105

Definition at line 84 of file network_types.h.

#define RSBAC_NET_TEMP_INET_ID   100110

Definition at line 86 of file network_types.h.

#define RSBAC_NET_TEMP_KEY   0x815affe

Definition at line 17 of file network_types.h.

#define RSBAC_NET_TEMP_LAN_ADDRESS   "192.168.0.0"

Definition at line 83 of file network_types.h.

#define RSBAC_NET_TEMP_LAN_ID   100102

Definition at line 82 of file network_types.h.

#define RSBAC_NET_TEMP_LNET_ADDRESS   "127.0.0.0"

Definition at line 81 of file network_types.h.

#define RSBAC_NET_TEMP_LNET_ID   100101

Definition at line 80 of file network_types.h.

#define RSBAC_NET_TEMP_NAME   "nettemp"

Definition at line 18 of file network_types.h.

#define RSBAC_NET_TEMP_NAMELEN   16

Definition at line 23 of file network_types.h.

#define RSBAC_NET_TEMP_OLD_VERSION   1

Definition at line 16 of file network_types.h.

#define RSBAC_NET_TEMP_VERSION   2

Definition at line 15 of file network_types.h.

#define RSBAC_NET_UNKNOWN   0

Definition at line 13 of file network_types.h.


Typedef Documentation

typedef __u32 rsbac_net_temp_id_t

Definition at line 20 of file network_types.h.


Enumeration Type Documentation

enum rsbac_net_temp_syscall_t

Enumerator:
NTS_new_template 
NTS_copy_template 
NTS_delete_template 
NTS_check_id 
NTS_get_address 
NTS_get_address_family 
NTS_get_type 
NTS_get_protocol 
NTS_get_netdev 
NTS_get_ports 
NTS_get_name 
NTS_set_address 
NTS_set_address_family 
NTS_set_type 
NTS_set_protocol 
NTS_set_netdev 
NTS_set_ports 
NTS_set_name 
NTS_none 

Definition at line 101 of file network_types.h.


Generated on Wed May 16 11:54:00 2007 for RSBAC by  doxygen 1.5.1