Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
netlabel_mgmt.h File Reference
#include <net/netlabel.h>
#include <linux/atomic.h>

Go to the source code of this file.

Macros

#define NLBL_MGMT_A_MAX   (__NLBL_MGMT_A_MAX - 1)
 

Enumerations

enum  {
  NLBL_MGMT_C_UNSPEC, NLBL_MGMT_C_ADD, NLBL_MGMT_C_REMOVE, NLBL_MGMT_C_LISTALL,
  NLBL_MGMT_C_ADDDEF, NLBL_MGMT_C_REMOVEDEF, NLBL_MGMT_C_LISTDEF, NLBL_MGMT_C_PROTOCOLS,
  NLBL_MGMT_C_VERSION, __NLBL_MGMT_C_MAX
}
 
enum  {
  NLBL_MGMT_A_UNSPEC, NLBL_MGMT_A_DOMAIN, NLBL_MGMT_A_PROTOCOL, NLBL_MGMT_A_VERSION,
  NLBL_MGMT_A_CV4DOI, NLBL_MGMT_A_IPV6ADDR, NLBL_MGMT_A_IPV6MASK, NLBL_MGMT_A_IPV4ADDR,
  NLBL_MGMT_A_IPV4MASK, NLBL_MGMT_A_ADDRSELECTOR, NLBL_MGMT_A_SELECTORLIST, __NLBL_MGMT_A_MAX
}
 

Functions

int netlbl_mgmt_genl_init (void)
 

Variables

atomic_t netlabel_mgmt_protocount
 

Macro Definition Documentation

#define NLBL_MGMT_A_MAX   (__NLBL_MGMT_A_MAX - 1)

Definition at line 215 of file netlabel_mgmt.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
NLBL_MGMT_C_UNSPEC 
NLBL_MGMT_C_ADD 
NLBL_MGMT_C_REMOVE 
NLBL_MGMT_C_LISTALL 
NLBL_MGMT_C_ADDDEF 
NLBL_MGMT_C_REMOVEDEF 
NLBL_MGMT_C_LISTDEF 
NLBL_MGMT_C_PROTOCOLS 
NLBL_MGMT_C_VERSION 
__NLBL_MGMT_C_MAX 

Definition at line 164 of file netlabel_mgmt.h.

anonymous enum
Enumerator:
NLBL_MGMT_A_UNSPEC 
NLBL_MGMT_A_DOMAIN 
NLBL_MGMT_A_PROTOCOL 
NLBL_MGMT_A_VERSION 
NLBL_MGMT_A_CV4DOI 
NLBL_MGMT_A_IPV6ADDR 
NLBL_MGMT_A_IPV6MASK 
NLBL_MGMT_A_IPV4ADDR 
NLBL_MGMT_A_IPV4MASK 
NLBL_MGMT_A_ADDRSELECTOR 
NLBL_MGMT_A_SELECTORLIST 
__NLBL_MGMT_A_MAX 

Definition at line 178 of file netlabel_mgmt.h.

Function Documentation

int netlbl_mgmt_genl_init ( void  )

netlbl_mgmt_genl_init - Register the NetLabel management component

Description: Register the NetLabel management component with the Generic NETLINK mechanism. Returns zero on success, negative values on failure.

Definition at line 781 of file netlabel_mgmt.c.

Variable Documentation

atomic_t netlabel_mgmt_protocount

Definition at line 52 of file netlabel_mgmt.c.