Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
xfrm.h File Reference
#include <net/flow.h>

Go to the source code of this file.

Functions

int selinux_xfrm_policy_alloc (struct xfrm_sec_ctx **ctxp, struct xfrm_user_sec_ctx *sec_ctx)
 
int selinux_xfrm_policy_clone (struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp)
 
void selinux_xfrm_policy_free (struct xfrm_sec_ctx *ctx)
 
int selinux_xfrm_policy_delete (struct xfrm_sec_ctx *ctx)
 
int selinux_xfrm_state_alloc (struct xfrm_state *x, struct xfrm_user_sec_ctx *sec_ctx, u32 secid)
 
void selinux_xfrm_state_free (struct xfrm_state *x)
 
int selinux_xfrm_state_delete (struct xfrm_state *x)
 
int selinux_xfrm_policy_lookup (struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir)
 
int selinux_xfrm_state_pol_flow_match (struct xfrm_state *x, struct xfrm_policy *xp, const struct flowi *fl)
 

Function Documentation

int selinux_xfrm_policy_alloc ( struct xfrm_sec_ctx **  ctxp,
struct xfrm_user_sec_ctx sec_ctx 
)

Definition at line 287 of file xfrm.c.

int selinux_xfrm_policy_clone ( struct xfrm_sec_ctx old_ctx,
struct xfrm_sec_ctx **  new_ctxp 
)

Definition at line 306 of file xfrm.c.

int selinux_xfrm_policy_delete ( struct xfrm_sec_ctx ctx)

Definition at line 335 of file xfrm.c.

void selinux_xfrm_policy_free ( struct xfrm_sec_ctx ctx)

Definition at line 327 of file xfrm.c.

int selinux_xfrm_policy_lookup ( struct xfrm_sec_ctx ctx,
u32  fl_secid,
u8  dir 
)

Definition at line 80 of file xfrm.c.

int selinux_xfrm_state_alloc ( struct xfrm_state x,
struct xfrm_user_sec_ctx sec_ctx,
u32  secid 
)

Definition at line 355 of file xfrm.c.

int selinux_xfrm_state_delete ( struct xfrm_state x)

Definition at line 380 of file xfrm.c.

void selinux_xfrm_state_free ( struct xfrm_state x)

Definition at line 371 of file xfrm.c.

int selinux_xfrm_state_pol_flow_match ( struct xfrm_state x,
struct xfrm_policy xp,
const struct flowi fl 
)

Definition at line 114 of file xfrm.c.