network.h File Reference

#include <rsbac/types.h>
#include <rsbac/network_types.h>
#include <linux/net.h>
#include <linux/un.h>
#include <net/sock.h>
#include <net/af_unix.h>
#include <net/route.h>

Go to the source code of this file.

Functions

int rsbac_ta_net_list_all_netdev (rsbac_list_ta_number_t ta_number, rsbac_netdev_id_t **id_pp)
static int rsbac_net_list_all_netdev (rsbac_netdev_id_t **id_pp)
__u32 rsbac_net_make_mask_u32 (__u8 valid_bits)
int rsbac_net_compare_data (void *data1, void *data2)
int rsbac_net_get_id (rsbac_list_ta_number_t ta_number, struct rsbac_net_description_t *desc_p, rsbac_net_temp_id_t *id_p)
int rsbac_ta_net_lookup_templates (rsbac_list_ta_number_t ta_number, struct rsbac_net_obj_desc_t *netobj_p, rsbac_net_temp_id_t *local_temp_p, rsbac_net_temp_id_t *remote_temp_p)
static int rsbac_net_lookup_templates (struct rsbac_net_obj_desc_t *netobj_p, rsbac_net_temp_id_t *local_temp_p, rsbac_net_temp_id_t *remote_temp_p)
int rsbac_ta_net_template (rsbac_list_ta_number_t ta_number, enum rsbac_net_temp_syscall_t call, rsbac_net_temp_id_t id, union rsbac_net_temp_syscall_data_t *data_p)
static int rsbac_net_template (enum rsbac_net_temp_syscall_t call, rsbac_net_temp_id_t id, union rsbac_net_temp_syscall_data_t *data_p)
int rsbac_ta_net_list_all_template (rsbac_list_ta_number_t ta_number, rsbac_net_temp_id_t **id_pp)
static int rsbac_net_list_all_template (rsbac_net_temp_id_t **id_pp)
int rsbac_ta_net_template_exist (rsbac_list_ta_number_t ta_number, rsbac_net_temp_id_t temp)
static int rsbac_net_template_exist (rsbac_net_temp_id_t temp)
int rsbac_net_remote_request (enum rsbac_adf_request_t request)


Function Documentation

int rsbac_net_compare_data void *  data1,
void *  data2
 

int rsbac_net_get_id rsbac_list_ta_number_t  ta_number,
struct rsbac_net_description_t desc_p,
rsbac_net_temp_id_t id_p
 

static int rsbac_net_list_all_netdev rsbac_netdev_id_t **  id_pp  )  [inline, static]
 

Definition at line 24 of file network.h.

References rsbac_ta_net_list_all_netdev().

static int rsbac_net_list_all_template rsbac_net_temp_id_t **  id_pp  )  [inline, static]
 

Definition at line 70 of file network.h.

References rsbac_ta_net_list_all_template().

static int rsbac_net_lookup_templates struct rsbac_net_obj_desc_t netobj_p,
rsbac_net_temp_id_t local_temp_p,
rsbac_net_temp_id_t remote_temp_p
[inline, static]
 

Definition at line 46 of file network.h.

References rsbac_ta_net_lookup_templates().

__u32 rsbac_net_make_mask_u32 __u8  valid_bits  ) 
 

Definition at line 14 of file net_helpers.c.

int rsbac_net_remote_request enum rsbac_adf_request_t  request  ) 
 

Referenced by check_comp_rc(), rsbac_acl_get_single_right(), and rsbac_adf_request_int().

static int rsbac_net_template enum rsbac_net_temp_syscall_t  call,
rsbac_net_temp_id_t  id,
union rsbac_net_temp_syscall_data_t data_p
[inline, static]
 

Definition at line 60 of file network.h.

References rsbac_ta_net_template().

static int rsbac_net_template_exist rsbac_net_temp_id_t  temp  )  [inline, static]
 

Definition at line 77 of file network.h.

References rsbac_ta_net_template_exist().

Referenced by rsbac_acl_get_single_right(), and sys_rsbac_net_template().

int rsbac_ta_net_list_all_netdev rsbac_list_ta_number_t  ta_number,
rsbac_netdev_id_t **  id_pp
 

Referenced by rsbac_net_list_all_netdev(), and sys_rsbac_net_list_all_netdev().

int rsbac_ta_net_list_all_template rsbac_list_ta_number_t  ta_number,
rsbac_net_temp_id_t **  id_pp
 

Referenced by rsbac_net_list_all_template(), and sys_rsbac_net_list_all_template().

int rsbac_ta_net_lookup_templates rsbac_list_ta_number_t  ta_number,
struct rsbac_net_obj_desc_t netobj_p,
rsbac_net_temp_id_t local_temp_p,
rsbac_net_temp_id_t remote_temp_p
 

Referenced by rsbac_acl_get_rights(), rsbac_acl_get_single_right(), and rsbac_net_lookup_templates().

int rsbac_ta_net_template rsbac_list_ta_number_t  ta_number,
enum rsbac_net_temp_syscall_t  call,
rsbac_net_temp_id_t  id,
union rsbac_net_temp_syscall_data_t data_p
 

Referenced by rsbac_net_template(), and sys_rsbac_net_template().

int rsbac_ta_net_template_exist rsbac_list_ta_number_t  ta_number,
rsbac_net_temp_id_t  temp
 

Referenced by rsbac_acl_add_to_acl_entry(), rsbac_acl_get_mask(), rsbac_acl_get_rights(), rsbac_acl_get_tlist(), rsbac_acl_remove_acl_entry(), rsbac_acl_remove_from_acl_entry(), rsbac_acl_set_acl_entry(), rsbac_acl_set_mask(), and rsbac_net_template_exist().


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